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
15
votes
2 answers

Adding a route to specific host go out a specific interface

I have a Red Had Linux machine with two NICs: eth0 - 10.0.1.253 | 255.0.0.0 eth1 - 10.0.1.1 | 255.255.255.0 So the first one is on a class A subnet, the second is on a class C subnet. This is what my routing table looks like: Destination …
Andy Arismendi
  • 1,188
  • 5
  • 16
  • 27
14
votes
2 answers

Use ip route add to add multicast routes to multiple interfaces

TLDR: Is there a way to use "ip route" to add multicast routes for multiple NICs? We have software that uses two multicast groups to communicate with two different groups of devices on two separate physical networks. With the exception of this…
gnac
  • 243
  • 1
  • 2
  • 7
14
votes
6 answers

What is the difference between BGP and OSPF?

I want to setup a dynamic routing network, I want to know, What is the difference between BGP and OSPF ? Does both two need to be used together commonly ?
larry
  • 4,037
  • 9
  • 36
  • 42
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 …
Balazs Rau
  • 153
  • 1
  • 7
13
votes
3 answers

MULTI: bad source address from client - any one-off solutions?

Setup: I have the an openvpn client/server setup (config files at bottom), and I get the infamous MULTI: bad source address from client [192.168.x.x], packet dropped message at server. The server has a public IP address, while the client is behind…
m000
  • 440
  • 1
  • 4
  • 11
13
votes
3 answers

Use Windows DHCP/DHCPv6 server without setting a static address

You cannot set the Windows DHCP/DHCPv6 server to listen on dynamic addresses or all addresses, only static addresses. Is there a technical reason for this limitation? Is there any workaround? My specific situation: I am using Router Advertisements…
Nick Whaley
  • 228
  • 2
  • 10
13
votes
3 answers

Routing WIFI and LAN for specific traffic

I have two network devices aboard my macbook pro: WIFI (en1): Used for general traffic. Connects to an ip of 192.168.19.* via DHCP LAN (en0): Used for specific traffic. Connects to an ip of 192.168.2.10 as a static IP. Does not connect to a router,…
jakebird451
  • 183
  • 1
  • 1
  • 9
13
votes
14 answers

How to securely join two networks together over the Internet?

Let's say there are two locations. Both locations have their own fast Internet connections. How do you join these two networks together such that every computer can see every other computer? Do you need a domain controller, or can you do this with…
Pyrolistical
  • 892
  • 2
  • 13
  • 20
12
votes
1 answer

How to achieve per-packet multipath routing on Linux?

Linux Kernel before 3.6 used route caching to do IPv4 multipath routing, which meant routing between two separate lines/ISPs was quite easy. From 3.6 the algorithm changed to being per-packet, meaning that some route table/rule/iptables marker…
bao7uo
  • 1,704
  • 12
  • 24
12
votes
3 answers

Debian / IPv6: Default route expires after 1800 secs, loosing connectivity

I'm running Debian 8 on a vServer. After installing docker and enabling IPv6 i noted something strange. I don't know if docker has anything to do with this, it's just that i noticed this problem after installing it. My default route is configured to…
lajuette
  • 771
  • 6
  • 16
12
votes
1 answer

What's the point of SAN routing?

I'm familiar with extending fabrics by adding more switches to it, but i don't get why sometimes it's better to do routing between fabrics (considering all the switches are from the same vendor, using exactly the same FC protocol, etc). For example,…
Benoît
  • 1,341
  • 3
  • 11
  • 23
12
votes
2 answers

How to route network traffic of a host via another host?

I'm not the System Administrator of our corporate network, but I've got two Linux workstations (hosts A and B) with root access to both. Both hosts can see each other fine (ssh, ping, etc works from one to the other). However, only host A can reach…
Harry
  • 403
  • 1
  • 5
  • 12
12
votes
3 answers

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 another internet connection that is currently sitting…
Steve Rukuts
  • 342
  • 2
  • 3
  • 13
11
votes
0 answers

IPv6: Destination unreachable: Address unreachable

My server can't ping/reach any other outside. ping6 works for my local fe80::468... address as well as the 2a01:4f8..., but not for fe80::1! Errors/Troubles/Issues: ip neigh show fe80::1 dev eth0 FAILED ping6 2001:4860:4860:8888 (Google) PING…
am1
  • 221
  • 1
  • 2
  • 4
11
votes
4 answers

Server sent passive reply with unroutable address when connecting to FTP site with FileZilla

I get the error "Server sent passive reply with unroutable address. Using server address instead." when connecting to a FTP site (not SFTP). I have connected to this site many times, however FileZilla asked me to accept a certificate on this…
crmpicco
  • 231
  • 1
  • 3
  • 11