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.

3702 questions
13
votes
2 answers

Why isn't there a route for localhost in Ubuntu?

$ sudo docker run --rm ubuntu:14.04 route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 172.17.42.1 0.0.0.0 UG 0 0 0 eth0 172.17.0.0 0.0.0.0 …
6
votes
1 answer

Confused about iproute2 rt_tables

I found the following content in the file: /etc/iproute2/rt_tables 255 local 254 main 253 default 0 unspec #1 inr.ruhep 126 anycast_test_1 127 anycast_test_2 I did read some documents about rt_tables, but I still can't understand what do the…
Jack
  • 183
6
votes
4 answers

Why don't we see more routing attacks?

So, who remembers the whole "Pakistan kills YouTube" debacle from February last year? Here's an article on the topic to refresh your memory: Insecure routing redirects YouTube to Pakistan The gist of the story is that Pakistan intended to block…
5
votes
3 answers

IP Routing - For Office Move

We are looking to move office and wanted to know if it was possible to relocate some servers at a time and still keep the network working? (this is to try and avoid a major move) I have a 24 bit subnet (255.255.255.0), So lets say I have a network…
D-W
  • 321
5
votes
2 answers

Using Windows, can I tell a single program to use a specific gateway IP?

My Windows PC is on two different networks, but I have programs that work better on a particular network. So for example, Outlook needs to use network A, but Chrome needs to use network B. I don't really want to have to add static routes every time…
Nick Bolton
  • 5,146
5
votes
2 answers

IP Routing - how does it work again?

Can someone explain how IP routing works to me? E.g. if I ping 123.123.123.123, how does each router know which way to go as shown in a traceroute dump.
JavaRocky
  • 481
4
votes
3 answers

what is a non routable vlan, and when should I need it?

Can someone explain me what is a non rout-able vlan, and when/why situation I will need it? as far as I know it's a vlan that won't assign IP automatically, and only devices in the same vlan can see each other, but not from outside to inside, or…
Yichaoz
  • 381
3
votes
1 answer

Odd Routing Issues With LAN & VPN

I'm having some strange issues with traceroute. I have seen this happen before, but never on my local network. When I run traceroute to a host that is litterally one hop away on my lan, this is the result.. 30 hops of nothing. It also happens…
2
votes
4 answers

Weird routing issue

I'm having some weird internet problems on campus. I know it's something simple, but it's a case where I need another set of eyes. I think I can explain the problem best by posting a tracert: Tracing route to google.com [74.125.45.147] over a…
Joel Coel
  • 12,982
1
vote
1 answer

connecting two SIP phones from different LANs over ZeroTier

I want to connect two SIP phones from different locations over ZeroTier. I have no problem configuring asterisk, however I am lost at how to connect remote (LAN 2) phone using forwarding. The situation can be pictured like…
Tom HANAX
  • 153
1
vote
1 answer

LAN behind a LAN access to Internet

I work at home and have work equipment. They are installed in the work LAN, on a switch, itself connected to a server with a DHCP server (on 10.7.37.0/24) and routing with the personal LAN. The internet comes from a router which is a DHCP server (on…
1
vote
2 answers

How to add a second router to LAN for certain destinations

I have an office LAN 192.168.1.0/24 which has a general internet connection via Router1 which is the default gateway on our LAN. I wish to add a second router/gateway which will route messages to a certain WAN IP via a private Ethernet connection…
Dizzley
  • 111
1
vote
1 answer

How to bind all traffic to a specific IP on a specific NIC?

I'll have to setup a few servers with each 2 network interfaces. Since I am new to server configuration and networks, I am currently trying to simulate everything on virtual machines. Each server will have 2 NICs, eth0 and eth1. All eth0 will be…
antesoles
  • 165
1
vote
0 answers

Configure issues with Vlans & Firewalls

I hope someone can shed light on what I need to do with this newrok configuration issue. Hope I explain it as well enough also. I have included a basic diagram of how things are connected for reference. Existing network made up of about 10…
1
vote
3 answers

Need Routing help (tagged/untagged)

I really need some help trying to figure some "basic" routing. My brain is fried from being sick for a week and I'm not thinking clearly. Picture below describes my "setup". I'm trying to accomplish routing a user from their workstation to the…
TheCleaner
  • 32,822
1
2 3