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.

3556 questions
120
votes
4 answers

What is the difference between unicast, anycast, broadcast and multicast traffic?

I have never had the privilege of working in an environment that required complicated routing or if it did require it, it was handled upstream of me. I've always used very simple static routing configurations and never needed to do any multipath…
user62491
114
votes
2 answers

Can I have multiple DHCP servers on one network?

This is a Canonical Question about Redundant DHCP Servers. Is it possible to have more than one DHCP server on the same LAN? What are the implications of doing this? What happens if there is more than one DHCP server available? How do my clients…
Rob Moir
  • 31,664
  • 6
  • 58
  • 86
90
votes
8 answers

What is "anycast" and how is it helpful?

I'd never heard of anycast until a few seconds ago when I read "What are some cool or useful server/networking tricks?". The wikipedia "Anycast" article on it is quite formal and doesn't really evoke a mental picture of how it would be used. Can…
username
  • 4,725
  • 18
  • 54
  • 78
82
votes
4 answers

How to reload default Mac OSX routing table without rebooting

Greetings, I'm using vpnc for a VPN client. I'm also doing some tricky things with route to make sure I can still access my local network, etc. etc. (the particulars here are not very important). Sometimes I get the routing table so jacked up I get…
Nate Murray
  • 973
  • 1
  • 7
  • 7
66
votes
5 answers

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 table... Destination Gateway Genmask …
user54259
45
votes
5 answers

Is there a cloud-based reverse proxy solution in AWS?

The system I have an API deployed on EC2 machines on AWS. Incoming HTTPS requests are passed to an elastic load balancer. The load balancer handles the SSL, and passes the request to an Nginx server, that proxies the requests to the specific…
Adam Matan
  • 12,504
  • 19
  • 54
  • 73
37
votes
3 answers

Where does the route to 169.254.0.0 comes from?

Running CentOS 5.4 Why do I have route to 169.254.0.0 although it does not appear in Network > Ethernet Device > Route configuration dialog? Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * …
jackhab
  • 751
  • 1
  • 8
  • 20
35
votes
5 answers

How to route different traffic thru different network interfaces (in Windows)

I've searched for details on how to do this but I've been unsuccessful - I wondered if someone could offer up some advice. So, let's say I have 2 network cards (LAN and 3G in my instance), both assigned dynamic IP addresses. The LAN interface is my…
user28599
33
votes
2 answers

How to set the preferred network interface in linux

I have my network set up like this. http://docs.google.com/Doc?docid=0AZ1YxuLE4djaZGhqN2s1NmRfMjhjNjc0Ym1meg&hl=en In words: I have a machine (Calcium, running Arch Linux) that has two network interfaces. eth0 is hoooked up to a router, and is…
Mike Cooper
  • 433
  • 1
  • 4
  • 7
33
votes
3 answers

Tuning Linux IP routing parameters -- secret_interval and tcp_mem

We had a little failover problem with one of our HAProxy VMs today. When we dug into it, we found this: Jan 26 07:41:45 haproxy2 kernel: [226818.070059] __ratelimit: 10 callbacks suppressed Jan 26 07:41:45 haproxy2 kernel: [226818.070064] Out of…
Jeff Atwood
  • 12,994
  • 20
  • 74
  • 92
32
votes
2 answers

Does adjusting a domain name's TTL actually matter?

I'm aware that tomorrow the public IP address of one of our production servers is going to be changed. The TTL on that A record is currently set to 3 hours. Will adjusting the TTL on that A record to something lower like 1 minute actually work (the…
user5603796
  • 479
  • 1
  • 7
  • 8
31
votes
4 answers

Why do ICMP Redirect Host happen?

I'm setting up a Debian box as a router for 4 subnets. For that I have defined 4 virtual interfaces on the NIC where the LAN is connected (eth1). eth1 Link encap:Ethernet HWaddr 94:0c:6d:82:0d:98 inet addr:10.1.1.1 …
El Barto
  • 943
  • 5
  • 16
  • 24
28
votes
1 answer

What CAN cause 'RTNETLINK answers : No such process' when adding a route

I have come up against this error a number of times, but haven't yet found an explanation of what the error means, or what can cause the problem. I'm not posting my configs or the specific route I'm trying to add as I don't want someone to tell me…
TaninDirect
  • 395
  • 1
  • 3
  • 4
28
votes
4 answers

iptables - Target to route packet to specific interface?

My home server has two main interfaces, eth1 (a standard internet connection) and tun0 (an OpenVPN tunnel). I'd like to use iptables to force all packets generated by a local process owned by UID 1002 to exit through tun0, and all other packets to…
Ethan
  • 467
  • 1
  • 5
  • 9
25
votes
4 answers

What makes a private IP address not routable?

I understand that private addresses such as 10.0.0.0/8,172.16.0.0/12 and 192.168.0.0/16 are not routable. However, what exactly is stopping these addresses from being routable? Do ISPs implement ACLs that prevent these networks from routing or is it…
QuantumRads
  • 353
  • 1
  • 3
  • 7
1
2 3
99 100