Skip to main content

Questions tagged [ip-routing]

The tag has no usage guidance.

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 ...
user avatar
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 ...
AndreasT's user avatar
  • 857
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 ...
dannymcc's user avatar
  • 2,737
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 ...
Simon Farshid's user avatar
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 ...
Steve Rukuts's user avatar
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 ...
Yahia's user avatar
  • 315
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 ...
konrad's user avatar
  • 1,053
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 ...
Balázs Pozsár's user avatar
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 ...
Rajkumar S's user avatar
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 ...
Alfred Balle's user avatar
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. ...
Guitarax's user avatar
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 /...
Andy Shinn's user avatar
  • 4,321
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 ...
Randy Syring's user avatar
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 ...
user avatar
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 ...
Gaia's user avatar
  • 1,935

15 30 50 per page
1
2 3 4 5
20