Questions tagged [ip-routing]
The ip-routing tag has no usage guidance.
286
questions
78
votes
6
answers
700k
views
How do I delete a route from Linux routing table
This turns out to be harder than I thought. The routes I want to delete are the "!" rejected routes, but I can't seem to formulate the right "route del" command to pull it off.
Here is the routing ...
29
votes
4
answers
234k
views
Windows: Get the interface number of a NIC
I have the following problem: I have a server with a rather dynamic network configuration and need to configure routes on it with the IF parameter:
route add ... mask ... ... if ?
Is there a ...
25
votes
3
answers
78k
views
Is it possible to include switches in traceroute hops?
I was wondering if it's at all possible to make a Dell Powerconnect 2848 switch show when running internal traceroutes. This would help with diagnosing issues and make it far easier to see where ...
16
votes
5
answers
8k
views
How does an IP packet know which gateway to take?
Suppose two gateways exist on the same network. If I understand correctly, the IP routing table on sender's computer decides which packets get routed through which gateway.
IP routing tables contain ...
12
votes
3
answers
110k
views
Unable to set up a static host route - "SIOCADDRT: No such process"
At my office, there is a Windows Server 2008 router, 192.168.16.1, which is our default gateway. This sends data through our main internet connection. This works perfectly.
192.168.16.1 also has ...
11
votes
2
answers
18k
views
Map IP to another IP
Assume the following scenario, if I have a local machine (A) the requests another machine (B) using B's internal IP without regard the ports. But A and B are not on the same network, however, B has a ...
9
votes
2
answers
4k
views
Redundant OpenVPN connections with advanced Linux routing over an unreliable network
I am currently living in a country that blocks many websites and has unreliable network connections to the outside world. I have two OpenVPN endpoints (say: vpn1 and vpn2) on Linux servers that I use ...
9
votes
2
answers
3k
views
linux routing bug?
I have been struggling with this not easily reproducible issue since a while. I am using linux kernel v3.1.0, and sometimes routing to a few IP addresses does not work.
What seems to happen is that ...
8
votes
4
answers
3k
views
Loadbalancing outbound traffic while using openbgpd on freebsd
I am using openbgpd in freeBSD with 2 ISP connections. I have my own AS number and a /22 network. Currently I am advertising entire /22 to both networks. Inbound traffic comes in But my outbound ...
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 ...
6
votes
1
answer
2k
views
Carrier Grade NAT concepts: IP bans
I'd like to deploy a Wireless WAN using IPV6 for at least the wireless bits given that 6 offers higher through-put. I'm exploring the concept of CGN and what strikes me immediately is the liability.
...
6
votes
3
answers
18k
views
How to prevent asymmetric routing with multiple eBGP routers?
I have 2 routers announcing a /22 subnet to different providers (one providers connects to each of the 2 routers). I have split the /22 in two /23 to announce one /23 on each of the routers plus the /...
6
votes
2
answers
7k
views
How to route traffic from private network to openvpn subnet (and back)
I have a couple servers at Linode. I'm trying to set them up so I have a VPN into one of the machines and can then access all the other machines using the private linode network. Public access to ...
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 ...
5
votes
2
answers
21k
views
Ubuntu defaults to IPv6, should default to IPv4
Ubuntu 16.04.5 with kernel 4.4 used to work as intended: IPv4 is default. Since changing to kernel (hwe) 4.15, it uses IPv6 as default.
It has IPv6 available via Tunnelbroker, broadcasted by the ...