Questions tagged [ip-routing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
50 views

Routed IPv6 on internal bridge with virtualized OPNsense router

I'm struggling with adding IPv6 to the internal bridge of my setup, here is what I have: ┌────────────────────────────────────────────────────────────────────────────────────────────────────...
user avatar
0 votes
1 answer
58 views

Routing traffic from a bridge to a specific interface

Fundamental question about routing in Ubuntu 20.04. I have a baremetal setup in Hetzner which has an 11.22.33.44/32 IPV4 address along with 2a01:db8:30/64 subnet allocated to it. enp7s0 is the ...
user avatar
0 votes
1 answer
31 views

Firewall / Ip rule issues between two hosts via vSwitch

I have two servers in play here, one is a Qemu VM host, the other being a storage box of sorts. They are hetzner machines, and I have them connected via a vSwitch. Server1 vSwitch interface: 3: local@...
user avatar
0 votes
0 answers
49 views

Forward traffic via multiple vps servers User ----> Solution ----> VPS 1 ----> Solution ----> VPS 2 ----> Internet

I've tried using Wireguard and a proxy to no avail, i'm not aware of any other ways of doing this, i'm open to suggestions for other ways of doing this, if anyone even wants to help with this, My ...
user avatar
0 votes
0 answers
33 views

How to setup load balanced / fail-over route where there are multiple valid routes to the same subnet?

We have a situation where we have multiple EC2 instances each running a VPN. Both the remote VPN server and remote subnet are run by a third-party and we have no say in the way they are setup. We don'...
user avatar
0 votes
0 answers
34 views

Routing WIFI and LAN on Mac OS

An old post couldn´t help me. Things are like this: I have one Network(managed from a router with access to the internet) All Mac´s are in that Network via Ethernet. In this Network is as well a NAS ...
user avatar
  • 1
0 votes
1 answer
31 views

Routing issue between linux machine

Hi I have 3 linux servers deployed on Openstack cloud on same network. Server A -----> Server B ------> Server C Each server private IP address range is 192.168.10.x/24. All 3 servers are ...
user avatar
0 votes
0 answers
37 views

Testing IPv6 gateways/routers inside my network

I am currently using a Linux (Debian) box as my router/gateway and would like to test some other solutions (like VyOS, PFSense, OPNSense...) without replacing it (for now). The testing would happen ...
user avatar
  • 183
0 votes
1 answer
46 views

Routing between two Cisco CSR1000v instances on AWS

I'm building a lab in AWS with Cisco CSR1000v virtual routers. I've tried both the below options. In option 1, there's no way to force the traffic from linux1 or 2 to the respective CSR routers since ...
user avatar
0 votes
0 answers
26 views

Unable to connect to Lightsail, is there a way to fix it?

After configuring and rebooting a Debian 10 with internal ip address as static I cannot connect with it. The only strange thing that I've found was: The internal ip address was 172.26.5.8/20 I cannot ...
user avatar
  • 642
0 votes
0 answers
32 views

How to utilize second gateway on the same network

I couldn't find solution to add 2nd gateway from main router. I have a C class local network 192.168.5.0/24 with Linux server A at 192.168.5.1 acting as default gateway, dhcp, smb... server. I ...
user avatar
  • 23
0 votes
1 answer
72 views

How to add a routing rule that only match "dport"?

In my OpenWrt box, I want to route only a specific protocol(tcp:1888) to a tun interface only for one PC(192.168.28.2), so I do as following: ip rule add from 192.168.28.2 dport 1888 lookup 123 ip ...
user avatar
  • 137
0 votes
0 answers
139 views

How to configure new (DHCP configured) interface with non system default route using systemd/networkd?

I am trying to configure Linux system, so during boot/adding new modem (visible as usb0 interface ) any software binding to modem interface (usb0) IP# will use offered by modem GW/routing instead of ...
user avatar
  • 1
0 votes
0 answers
39 views

route packets from specific hosts to virtual device

PIMv2 I think the issue is with multicast. I want to create a GRE tunnel that supports multicast PIMv2. I am seeing the server sending PIMv2 Hello messages to my gre tunnel but my machine is not ...
user avatar
  • 1
0 votes
0 answers
22 views

Duplicating IoT traffic

I have a simple IoT temp sensor (from China) and I can change the destination it routes traffic to. I want it to continue sending to their system AND to mine (redundancy, resilience etc). The sensor ...
user avatar
  • 149
0 votes
1 answer
155 views

Ubuntu UFW log shows public addresses sending traffic to my RFC1918 private address

This is really a routing question but here is the back ground: I am running Ubuntu 20.04.3 LTS with UFW. My internal network is 10.126.1.0/24. No inbound translations at the Internet edge. If I ...
user avatar
  • 1
-2 votes
1 answer
105 views

Connectivity issues with 127.x.x.x series [closed]

Asked this in network-engineering in stack exchange and was redirected here. I have a couple of servers with the below config server1: eno1: 127.15.0.1/16 scope global eno2: 5.0.0.1/24 server2: lo: ...
user avatar
  • 9
1 vote
0 answers
41 views

IPv4 -> IPv6 -- IPv6 -> IPv4 routing

I hope the is the right place to ask this question. I'm just looking for the correct name of the type of network routing I'm attempting to implement so I can learn and implement it. I'm using linux (...
user avatar
  • 11
1 vote
0 answers
40 views

IP Binding Issue in using GRE Tunnel

I have a issue with tunneling and am having a hard time finding a solution. I have two servers, A: Host-Server being a sever with a single IP, and B: Main-Server being the server handling all our ...
user avatar
0 votes
1 answer
70 views

Decoupling IP address from hosting provider

We run a service that provides on demand websites to our users as part of our offering. In order for our users to use their own domain with our website feature, we have them create an A record to our ...
user avatar
-1 votes
2 answers
274 views

Multi hop routing

I'm trying to communicate from the tx.py program to send packets (UDP) down to device 1 and device 2 shown in the picture. Currently we have OpenVPN clients running on 2 of our VMs and if I run tx.py ...
user avatar
  • 61
0 votes
1 answer
37 views

Super user limited to changing route table

Background: I am trying to implement dynamic routing for a system. Is it possible to create a super user that is restricted to changing the routing table? Something like a restricted sudo that can ...
user avatar
  • 111
2 votes
1 answer
818 views

proto static metric for overlapping prefixes

Can someone please clarify how the route metric is set by Centos 8 in the following situation. I have two vlans on the system, each of which has a matching route prefix defined in /etc/sysconfig/...
user avatar
  • 363
0 votes
0 answers
373 views

DHCPOFFER not crossing virtual bridge on Linux?

I have a physical host machine running Ubuntu 20.4LTS (fully patched) attached to my network, which retrieves it's IP address via DHCP. This works. I have a VirtualBox VM on that host attached to a ...
user avatar
1 vote
0 answers
481 views

Port-Forwarding and Routing on Windows Server 2019

we run several virtualized servers (all Windows Server 2019) in a cloud environment. There is one server used as router (with a public IP and a privte IP 192.168.100.10) and two further servers have ...
user avatar
0 votes
0 answers
61 views

IP forwarding with iptables

Im new with this scope. I need your help for this setup. I have 3 linux systems that may seems look like this. System A System B System C ---------- ----> ------...
user avatar
0 votes
0 answers
24 views

Linux router over VPN

I have a Linux (Ubuntu 18.04) device with 4 Ethernet ports and a LTE wwan card that I want to turn into a bridge and router. However, I don't want to enable NAT via the LTE connection, but route all ...
user avatar
1 vote
0 answers
99 views

Ubuntu 16.04 server loses default route on restart

One of my Ubuntu servers always loses its default route when restarted. I have a second server which has an almost identical set up which works fine. I am not sure when the problem started but it ...
user avatar
1 vote
1 answer
717 views

Kubernetes: route outgoing UDP traffic through service

My question is about Kubernetes' internal traffic routing and probably about routing / NAT in general. Goal: I'm running a Wireguard service on Kubernetes and I'd like to route all outgoing traffic ...
user avatar
  • 11
1 vote
1 answer
3k views

Dual Gateway Setup in Mikrotik

I'm new to Mikrotik environment, and I need some help for the following scenario: I have an ADSL router (main internet connection) with IP range of 192.168.1.0/24, connected to Ethernet 1 of my ...
user avatar
1 vote
0 answers
220 views

Linux IPv6 + Hurricane tunnel = no IPv6 traffic from gateway, internal network works fine

This is a head scratcher to me. Set up: Linux (openSUSE 15.1, kernel 4.12.14) run as a gateway on my local network. I have an IPv6 tunnel with Hurricane Electric (HE) that has been working just fine. ...
user avatar
0 votes
1 answer
225 views

Can't get linux router/iptables masquerade working

Hope someone more clever than me could help because I am out of ideas... We want to create (in openstack) a router that will...route (haha) trafic from one network to the other. Simple. This is what I ...
user avatar
0 votes
0 answers
4k views

How to push a gateway and route to an OpenVPN client?

I need to setup a OpenVPN network which will probably grow to a serval hundreds of clients in the next few months. Some of the clients are servers and others are devices that need services, hosted on ...
user avatar
  • 255
0 votes
0 answers
37 views

Static route between 2 routers

Hello I have problem with static routing between 2 simple (Zyxel and TPLink) routers. vDSL Router 1 has 192.168.0.1/25 with enabled DHCP and Router 2 has 10.0.0.1/25 also with DHCP Router 1 and Router ...
user avatar
1 vote
1 answer
66 views

Routing between two private subnets attached to a host

I have four linux hosts networked together on a private 172.16.x.x/16 network. One of these hosts, call it host 1, has two NIC interfaces, one on the 172 network, and a second NIC which is attached ...
user avatar
0 votes
1 answer
126 views

Routing in linux with two nics

I've been squeezing my mind with this problem since a couple of days, unfortunately I can 't find a way out. May be it's lack of theory or just a bad setup. I will appreciate a bit of help :-) ...
user avatar
1 vote
2 answers
186 views

OpenVPN server with 2 Public IP

This server has 2 IP addresses as follows. 11.22.22.44 : primary address & exit ip address 11.22.33.55 : secondary address, non-exit ip address, used for openvpn client to connect to i can ssh ...
user avatar
1 vote
1 answer
651 views

Select next-hop based on source address

I'm trying to set up a Ubuntu-based gateway between clients and the core router, the ideal traffic flow should be: ClientGroup 1 (10.0.0.0/24) -> Ubuntu gateway (10.0.0.2) -> Core router (10.0.0.1) ->...
user avatar
-2 votes
1 answer
42 views

Virtual network interface in Windows

i am trying to setup a VPN server tunnel on my windows PC so that i can connect to it using remote client VPN hence routing traffic through that tunnel client = android
user avatar
0 votes
1 answer
18 views

VM client doesn't route packages correctly anymore (to specific networks)

I have kind of a strange problem. After rebooting a server a few days ago, it doesn't route its packages correctly. It basically doesn't answer (pings for example) if these packages come from specific ...
user avatar
0 votes
0 answers
971 views

Guide to exclude traffic on certain ports (22, 80) from being routed via OpenVPN (client) on Linux/Ubuntu 18.04?

I'm running a VPN client on Ubuntu, and I'm looking for guidance on how to exclude certain ports from being routed through the VPN client (OpenVPN). For example, how would one go about excluding ports ...
user avatar
4 votes
1 answer
1k views

networkmanager-strongswan vpn - routing specific ip through VPN

I'm trying to setting a VPN on Linux Mint 19.2. I'm using the network-manager-strongswan so I added this file named VPN under /etc/NetworkManager/system-connections/ [connection] id=VPN uuid=...
user avatar
2 votes
0 answers
4k views

Cannot connect to Flask server via public IP, only private IP

I have a simple Flask server that echos requests it gets to the terminal. Requests I send it via the device's public IP address do not register. The flask server is started correctly on all ...
user avatar
  • 21
1 vote
1 answer
144 views

Forcing route to interface, no matter what

I've got 2 interfaces on my server (eno1 & eno2). Whenever any process try to reach an IP (lets say 183.182.99.1), I want the traffic to use the eno2 link. Here is my current routing table: ...
user avatar
  • 211
0 votes
2 answers
303 views

AWS EC2 public IP unreachable over IPSec VPN but private IP still reachable

We have a FortiGate (FortiOS 6.0) connected to a IPSec Site-to-Site VPN (Dynamic BGP) on AWS. When the VPN is up, we can only access EC2 using the private IP, public IP no longer works. Only the ...
user avatar
  • 121
0 votes
1 answer
121 views

No uidrange rule with IProute2

When I run "ip rule help" there is no uidrange option in the selection sectors. I also get an error when I try to add a uidrange rule. Iproute2: 4.9.0-1 Command: sudo ip rule add uidrange $uid-$uid ...
user avatar
0 votes
0 answers
231 views

How to change Public Address of VPS with another IP Address

For a project, I need to make HTTP requests to an external service from a IP address geo-located on "NATION_2". Having an available VPS located in NATION_1, I proceeded to purchase a public IP ...
user avatar
  • 1
1 vote
2 answers
254 views

linux - routing between bridge networks without overlay

Here's the scenario. There are two hosts in a subnet (both are virtualbox VMs) and both are on the same network 192.168.1.0. I've additionally created two bridge interfaces with separate network ...
user avatar
2 votes
2 answers
465 views

OpenVPN client lan to reach Server lan

I have OpenVPN Server running in VPC and client running in office network. Have following table on 10.24.11.37 # route -n Kernel IP routing table Destination Gateway Genmask ...
user avatar
  • 109
2 votes
1 answer
81 views

What is this routing concept called? Trouble learning more on LAN-to-WAN-to-LAN routing

On a simple network, my nginx logs will the gateway address (10.0.0.1) instead of the internal client address (10.0.0.19) when I'm using DNS (e.g. foo.com) to access a server inside the LAN. I'm ...
user avatar
  • 367

1
2 3 4 5 6