Questions tagged [route]

Command line tool for manipulating and listing the routing table.

601 questions
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
34
votes
9 answers

How to duplicate TCP traffic to one or multiple remote servers for benchmarking purposes?

Infrastructure: Servers in Datacenter, OS - Debian Squeeze, Webserver - Apache 2.2.16 Situation: The live server is in use by our cusotmers every day, which makes it impossible to test adjustments and improvements. Therefore we would like to…
Sise
  • 385
  • 2
  • 4
  • 9
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
23
votes
6 answers

Use IPtables or null route for blacklisting about 1 million IP addresses?

I've come across a situation where a client needs to blacklist a set of just under 1 million individual IP addresses (no subnets), and network performance is a concern. While I would conjecture that IPTables rules would have less of a performance…
tylerl
  • 14,885
  • 7
  • 49
  • 71
23
votes
1 answer

Why OpenVPN use network 0.0.0.0 netmask 128.0.0.0 as a default route?

If you use redirect-gateway def1 option in OpenVPN config file,the server will add a default gateway on your route table, what I want to know is why OpenVPN did not use network 0.0.0.0 netmask 0.0.0.0 as a default gateway instead of netmask…
Forcyy
  • 333
  • 1
  • 2
  • 4
22
votes
2 answers

Routing selection: specificity vs metric

I understand that Linux chooses the most specific route to the destination when it does routing selection. But what about a route's metric? Does it have a higher priority than route's specificity? A reference to the details of the routing selection…
Eugene Yarmash
  • 2,383
  • 5
  • 32
  • 54
22
votes
4 answers

Unable to add a static route: SIOADDRT: Network is unreachable

I've been bashing my head against a wall for a few days trying to figure this out: My ifconfig is: eth0 Link encap:Ethernet HWaddr 00:50:56:BB:XX:XX inet addr:192.168.36.132 Bcast:192.168.37.255 Mask:255.255.254.0 eth1 Link…
AnonPoster
  • 223
  • 1
  • 2
  • 4
21
votes
5 answers

How to delete a route on a specific interface?

When I start a VPN connection, a new default route is added on the utun0 interface: Destination Gateway Flags Refs Use Netif Expire default utun0 UCS 21 0 utun0 default …
mgryszko
  • 311
  • 1
  • 2
  • 4
20
votes
5 answers

How to set up a VPN Incoming connection with Windows to tunnel Internet traffic?

I want to set up a VPN on a remote server to route all my Internet traffic for privacy reasons. I can set up an incoming connection and connect to it successfully. The problem is, I can just see the remote computer and no other Web sites will open.…
mmx
  • 482
  • 1
  • 8
  • 19
18
votes
2 answers

What is the difference between "route" and "ip route"?

I tried to understand the networking tools on Linux. I am confused now about what I should use to manipulate the static routing: route or ip route?: route - show / manipulate the IP routing table ip - show / manipulate routing, devices, policy…
static
  • 331
  • 2
  • 4
  • 16
18
votes
7 answers

How can I configure openvpn server without push default gateway?

I need configure my openvpn server to provide some LAN resources, but I don't want route all traffic for my clients. Here is my sample network description: My LAN is 192.168.1.0/24. Openvpn network is 192.168.100.0/24. I add push route 192.168.1.0…
Solomon
  • 313
  • 1
  • 3
  • 9
17
votes
2 answers

Specify route to an interface in Windows cmd

I have a computer with 2 network interfaces. One interface is connected to LAN network with IP 192.168.0.254, and the other is connected to a recorder server (192.168.0.233). 192.168.0.10 is the gateway for the LAN. When I try to ping to…
Davi GN
  • 173
  • 1
  • 1
  • 5
16
votes
3 answers

Routing from docker containers using a different physical network interface and default gateway

Background Information I have a server with two network interfaces that is running Docker. Docker, like some virtualization tools, creates a Linux bridge interface called docker0. This interface is configured by default with an IP of 172.17.42.1 and…
user81598
12
votes
2 answers

How does Linux pick which network interface to use?

Let's say I have a machine with two network adapters on different subnets, eth0 (10.0.100.5) and eth1 (10.0.200.5). Assuming both subnets have routes to the internet (though their own NATs) and to the rest of the local network (though their own…
Dan
  • 231
  • 2
  • 7
12
votes
2 answers

Freebsd change default Internet channel route

I have two Internet channel and Gateway on freebsd. When I switch channel with the command route change default chan2, the command netstat -nr shows changed default route. But traceroute shows that the packets go through the old route…
Taron
  • 121
  • 5
1
2 3
40 41