Questions tagged [routing]

the process by which data packets on communication networks are forwarded into the direction of their ultimate destination by routers.

Modern communication networks are built mostly on the concept of destination routing (although other concepts, such as source routing, do exist). In this concept, the sender of a data packet does not need to know where exactly to find the destination for that packet, all it needs to know is the address of the next router. This router will then decide, based on routing tables and the destination address of the packet, where to send it next (this is called the next hop). This process is repeated until the packet arrives at a router where the destination address is in a directly connected network, and the final router then sends the packet directly to that destination.

Routing decisions are usually based on routing tables, which can be influenced by many factors, such as available links, link quality, routing policies, QOS, etc.

3661 questions
7
votes
1 answer

Advanced routing with firewall marks and `rp_filter`

Today is routing day. You should now how to add an IP route, basic use of ip rule, and good understanding of iptables to read this. This is cross posted (in French) on LinuxFr. Problem I have an ADSL modem (Freebox) in bridge mode, and an optic…
Adrien Clerc
  • 291
  • 3
  • 9
7
votes
1 answer

Multi-homed OpenBSD system: Policy based routing vs. mpath default routes

TL;DR Will OpenBSD policy based routing help with a multi-homed server/gateway situation? If so, how do I configure it? Long Form I'm managing an OpenBSD with two ISP links and VPN tunnels to remote routing nodes. Initially we used multiple default…
Jim Dennis
  • 807
  • 1
  • 10
  • 22
7
votes
3 answers

When to use routable vs non-routable IP addresses

As I understand it, there are several "non-routable" IP ranges: class A reserved space 10.0.0.0/8 class B reserved space 172.16.0.0/12 class C reserved space 192.168.0.0/16 class E reserved for research 240.0.0.0 But I guess I don’t…
Zac
  • 223
  • 1
  • 2
  • 4
7
votes
3 answers

Can I add a static route to a VPN network if the default gateway IP is dynamic? (Windows 7)

Can I add a static route to a VPN network if the default gateway IP is dynamic? (Windows 7) This is easy to solve with a permanent route if the default gateway does not change as you can do this: route add 10.0.0.0 mask 255.255.255.0 192.168.117.232…
NickG
  • 654
  • 6
  • 12
  • 28
7
votes
3 answers

Can't access local web server using remote ip from within LAN

Since I've change my ISP, the current router (ADB P-RG A4202N) won't let me access my web server from within my local network using my remote IP or no-ip host - it redirects me to the router config page. Not just my server PC, but also all other…
Matt
  • 171
  • 1
  • 1
  • 3
7
votes
2 answers

Routing via Cisco ASA is changing TCP sequence/ACK numbers

Our network has a dedicated VPN appliance that sits inside the office network. We have a Cisco ASA with a static route that routes the VPN subnets to the VPN appliance. So a typical request from the client to the remote site (192.168.161.28 ->…
Mark Henderson
  • 68,823
  • 31
  • 180
  • 259
7
votes
2 answers

TCP/IP routing: accessing a LAN device with wrong static IP configuration

I forgot to change the static IP of a network device before moving it from my datacenter network to my home LAN. Since it isn't configured properly for my LAN network, I'm not sure how to access it. Constraints: It's a NAS (a LaCie Network Space…
Michael McDonald
  • 71
  • 1
  • 1
  • 2
7
votes
2 answers

OpenVPN Client timing out

I recently installed OpenVPN on my Ubuntu VPS. Whenenver I try to connect to it, I can establish a connection just fine. However, everything I try to connect to times out. If I try to ping something, it will resolve the IP, but will time out after…
Austin
  • 173
  • 1
  • 2
  • 8
7
votes
1 answer

forcing network traffic to route via a specific, non-default interface

I've got a bunch of Linux servers with multiple(3) NICs and associated network interfaces. I'm tripping over a bizarre routing problem, where traffic that should use the default route is not, and failing to get routed as a result. Here's what my…
netllama
  • 193
  • 1
  • 1
  • 7
7
votes
1 answer

OpenVPN server cannot ping clients

I have OpenVPN set up on a Debian server. Clients can connect, and clients can ping and access resources (Samba shares and intranet) on the server. However, the server cannot ping the client - it just times out. Diagram Client OpenVPN assigned IP:…
artfulrobot
  • 2,949
  • 13
  • 36
  • 60
7
votes
2 answers

Architecting your network when you run out of VLANs

This is an entirely hypothetical question, I'm not in this situation now. What happens to your VLAN topology and routing if you run a multi tenant network and you have more than 4096 customers? Do you have to start "zoning" your network at the…
SimonJGreen
  • 3,205
  • 5
  • 33
  • 55
7
votes
5 answers

Private IP getting routed over Internet

We are setting up an internal program, on an internal server that uses the private 172.30.x.x subnet... when we ping the address 172.30.138.2, it routes across the internet: C:\>tracert 172.30.138.2 Tracing route to 172.30.138.2 over a maximum of…
WernerCD
  • 344
  • 2
  • 6
  • 18
7
votes
4 answers

Debian server loses default gateway sporadically

I'm unsure of what's causing my instability but here's what I know: The server is running Debian with no GUI. I have a static IP, and /etc/network/interfaces is configured with a 'gateway x.x.x.1' entry. Periodically, my server loses all internet…
Andrew Parker
  • 203
  • 3
  • 9
7
votes
2 answers

If I change a router's subnet mask to one that includes the old one, will the hosts with the old configuration still work?

Currently I have a router that is addressed as 10.2.1.1 on a 10.2.1.0/24 network. All of my hosts have default gateway 10.2.1.1 with mask 255.255.255.0. I want to know: if I change my router to 10.2.0.0/16 will the hosts that have subnet mask…
tacos_tacos_tacos
  • 3,250
  • 18
  • 63
  • 100
7
votes
1 answer

2 ethernet connections between two Switches

I'm setting up servers at our new office and I brought a spare managed switch with 2 Gig ports to run all of our phones(VOIP) and workstations. Now for the servers I've got a separate gigabit switch(not managed). Will there be any difference if I…
Jacob
  • 9,204
  • 4
  • 45
  • 56