Questions tagged [ip-routing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-2 votes
1 answer
175 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: ...
1 vote
0 answers
96 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 (...
1 vote
0 answers
174 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 ...
0 votes
1 answer
113 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 ...
2 votes
1 answer
3k 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/...
-1 votes
2 answers
767 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 ...
0 votes
1 answer
42 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 ...
1 vote
1 answer
1k views

Edimax Dual WAN: how to sent trafic to a specific destination IP over a specific WAN interface?

I have a Edimax BR-6624 Dual WAN router in my office. I've enabled load balancing to utilize both internet lines. I want the router to use only one (specific) WAN interface when I connect to a ...
0 votes
0 answers
1k 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 ...
1 vote
0 answers
1k 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 ...
0 votes
0 answers
211 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 ---------- ----> ------...
0 votes
2 answers
767 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 ...
0 votes
0 answers
131 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 ...
1 vote
1 answer
2k 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 ...
1 vote
0 answers
413 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 ...
1 vote
0 answers
357 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. ...
0 votes
1 answer
2k 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 ...
0 votes
0 answers
234 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 ...
1 vote
1 answer
312 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 ...
0 votes
1 answer
400 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 :-) ...
1 vote
2 answers
1k 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 ...
0 votes
1 answer
1k views

Routing issue with multiple IP addresses on EC2 (VPC) host

We run a EC2 Ubuntu server acting as a STUN server for the NAT Traversal mechanism in my company's application. By the nature of the STUN protocol the server needs two IP public addresses. We hired ...
1 vote
1 answer
2k 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) ->...
-2 votes
1 answer
254 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
0 votes
1 answer
43 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 ...
0 votes
0 answers
2k 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 ...
4 votes
1 answer
2k 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=...
0 votes
1 answer
3k views

Configuring routing table with 2 network interfaces

I have a Linux server with two network interfaces: eth0 (connected to internet using a public IP address A.B.C.208) and eth1 (not connected to anything, bind to a private IP address 10.U.V.159). The ...
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 ...
1 vote
1 answer
545 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: ...
1 vote
3 answers
1k views

How Akamai CDN serves the content from closes edge server to user ?a

After going through some resources on google, got the idea how Akamai CDN edge servers works but got some questions about internals. Say I have got static content cached at Akamai CDN(XXX.XX.XXX.XXX ...
0 votes
1 answer
244 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 ...
1 vote
2 answers
464 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 ...
1 vote
0 answers
397 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 ...
2 votes
2 answers
870 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 ...
2 votes
1 answer
113 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 ...
0 votes
1 answer
484 views

Convert one interface to a tunneled interface

I have a server with 2 WAN interfaces, eth1 and eth2. Each one have one router connected which gives them these IPs: 192.168.3.101 and 192.168.1.101. The thing is that I want to completely avoid ...
0 votes
1 answer
2k views

Ubiquiti EdgeRouter uses default route over static when responding to ICMP

I need to have a working connection between two router devices and the subnets behind them. Everything else in the setup seems to work except one static route. Here is the basic information about my ...
0 votes
0 answers
60 views

How to handle VPNs and native IPv6

I've got native IPv6 via my ISP (they give me a /48). Using RAs (SLAAC), my router is advertising a particular /64 to machines in my network - in other words my network has full native IPv6. My ...
-1 votes
2 answers
14k views

CentOS7: Multiple Interfaces, default route

[First post here...] Hello everyone, I have a CentOS 7 box which is supposed to become a node of a ganeti-cluster. It has 4 interfaces: eno1, eno2 - on the mainboard ens23s0f0, ens23s0f1 - a ...
0 votes
1 answer
778 views

Iptables forward incoming traffic multiple ip

I have a server with 5 ipv4 95.x.y.1 95.x.y.2 95.x.y.3 95.x.y.4 95.x.y.5 and I need to forward only the incoming traffic from port 80 to port 8080 (and same ip) so 95.x.y.1:80 --> 95.x.y.1:8080 ...
0 votes
2 answers
1k views

Tyring to figure out ip-route

I've been playing with packet tracer and trying to fully grasp ip routing. So far I'm doing ok i think. Why am i able to ping r3 from pc1 (route working correctly as it should) vice-versa but cant ...
0 votes
1 answer
125 views

map local address to external one?

Currently I have a network setup like this: Router (aka. OuterRouter) to connect to the Internet (localIP: 192.168.0.1/24, externalIP: <whatever, provided by ISP>) Router (aka. InnerRouter) ...
0 votes
4 answers
3k views

How to config two different ip and gateway on two different NIC

Sorry for my poor english in advance. I don't know how to config my adapters for this specific situation as i explain below. i have two NICs, one for web server and internet vpn and another for ...
0 votes
1 answer
192 views

ip routing src rewrite

been fighting on this configuration for too long. Let say a public IP : 1xx.24.184.yy/32 Let say a private network : 10.184.yy.0/28 gw 10.184.yy.3 Now I would like my public IP routed ...
0 votes
1 answer
63 views

Time Clock IPsec and Layer3 Routing

Thank you for your time, I incorrectly asked this in Network Engineering so I'm moving it here. I have a Remote Office and a Main Office linked via IPSec with the Main Office being 192.168.16.0/24 ...
8 votes
1 answer
7k views

ip rule and route doesn't get respected

I'm trying to route packets based on their source address, and have added the following: # ip rule add from 10.10.10.0/16 dev eth0 table foobar # ip route add default via 100.100.100.1 dev eth0 table ...
0 votes
1 answer
296 views

IP routing issues in Ubuntu

I have four servers: VPN Server (10.12.96.5/28)eth5 & 10.8.0.1(TUN0) Web Server 10.12.96.4/28 Proxy Server 10.8.0.4/24 PBX Server 10.12.96.3/28 PROXY-----VPN-----WEBSERVER VPN-----PBX The VPN ...
0 votes
1 answer
2k views

How to enable correct routing with a VPN interface?

I installed wireguard on a server in a LAN and have a problem with a single ping between two components. the topology is as follows: srv is a Linux machine (Ubuntu 18.04) which has one physical ...
5 votes
4 answers
95k views

Help me understand the 'ip route' command for cisco routers

I just can't wrap my head around it. For example: I want the left-most router to be able to ping my computers on the left and vice-versa. Where would I set up ip route and to what address. I feel ...