Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

2
votes
2answers
94 views

linux caches route with IPs of machine it has no access to

I have a VPN with a gateway, and an application server. The app server only knows about the gateway of the VPN. The gateway of the VPN knows about the gateway of the physical network the vms are ...
0
votes
1answer
279 views

Weird routing issue

I am working on getting networking working correctly on a cluster of 14 virtual servers at a customer site. 11 of them work fine for routing and 3 don't work correctly for their administrative ...
0
votes
2answers
3k views

How to route UDP traffic from one public IP (linux) to another public IP(Windows)

I want to prevent direct access of my Windows Machine and want to expose some programs running on it via my Linux Machine (which again is accessible by a Public IP). Is there a way where-in I can ...
2
votes
1answer
1k views

Under what circumstances will Linux ignore the route table when choosing the MAC address for an outbound frame?

While debugging a problem with the networking configuration for a set of virtual machines running under KVM, I discovered a circumstance where the kernel in the guest VM has decided to stamp the ...
2
votes
1answer
2k views

load balancing multiple gateway using route and iptables

under linux, how do I load balancing multiple gateway by using route, note that I have one input interface lets say eth0, and one output interface lets say eth1. eth1 can connect to multiple IP ...
2
votes
1answer
513 views

Multicast routing

I got two firewalls running Keepalived and working ok. I would like to pass the vrrp multicast traffic bethween a direct back to back link between those firewalls (that direct link is already used by ...
1
vote
2answers
2k views

How to remove route with IP?

Used to ban some flood-bots with route add -host $ip reject But couple of 'good' IPs were banned as well. My question is stupid (but I've searched and found no good solution (all were large and/or ...
0
votes
1answer
2k views

Why is a ping response being sent to the wrong gateway?

In a previous question, I was trying to determine why my OpenVPN clients could not ping the server LAN, even though the server LAN could ping the clients. Having investigated this further, I ...
0
votes
0answers
255 views

cannot ping through gre tunnel

This question has been merged I have 4 machines machine 1 have ip address 172.13.0.40/24 machine 2 have two ip address 172.13.0.1/24 and 172.12.0.1/24 machine 3 have two ip address ...
17
votes
5answers
5k views

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 ...
8
votes
2answers
15k views

Where 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 ...
3
votes
1answer
2k views

OPENVPN route all traffic - Synology

I have a synology NAS that is my OPENVPN server. I am always on the road and I want to route all of my traffic through my house. Here is my config and my log. config file dev tun tls-client ...
1
vote
3answers
30k views

OpenVPN client on Windows 7 - cannot add route from config script

Hi I am connecting from my Windows 7 laptop to an openvpn server and I am unable to automatically add a route. In my script I have the line: route-up "route add 192.168.33.0 mask 255.255.255.0 ...
4
votes
4answers
3k views

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 ...
1
vote
3answers
811 views

How to set which IP to use for a HTTP request?

This is probably a silly question. I'm doing some http requests using wget from the command line, and I want those connections to be made through one specific IP of the 4 IPs my server has. Those http ...
1
vote
1answer
97 views

Routing based on the source ip

I'm trying to configure a host in a way that the traffic is routed either via eth0 or vlan123@eth0, depending on the source address used. Both interfaces have access to the whole network and both have ...
0
votes
1answer
2k views

.bat file to automatically connect to VPN and add a route in Windows 7

I can establish VPN connection using RASDIAL command. But how do I add a route to 192.168.254.0/24 automatically after VPN is connected? Each time after VPN connection is established, Windows could ...
3
votes
1answer
3k views

Why Openvpn use network 0.0.0.0 netmask 128.0.0.0 as 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 konw is Why openvpn did not use network 0.0.0.0 netmask ...
2
votes
1answer
239 views

AWS VPC internet gateway and AWS services

Am I doing something wrong or is the AWS VPC ec2 instances not able to reach any of the AWS managed services (s3/sns/sqs) without a public route to the Internet Gateway in the routetable? I was told ...
2
votes
1answer
372 views

Windows 7 routing traffic through the gateway for local addresses

Windows is adding a route for a local address (10.0.0.90 - my fileserver) with a gateway of (10.0.0.138 - this is my gateway), the gateway only has a 100Mbs link so all of my fileserver bound traffic ...
2
votes
1answer
13k views

How to forward connection from one interface to another under linux

I have linux box which has two network interface, eth0, eth1. from eth1 I can access an internal website, say under port 8080. from outside the box, I can't access that network. my question is, is ...
1
vote
4answers
368 views

Different Routes For The Same DNS

I don't know the right term for this concept. But basically, I just want to reroute internal traffic to go directly to a server within the network instead of going around the internet. The domain have ...
1
vote
2answers
3k views

Static route for entire octet or by host name?

I've added a few static routes, for the most part the following has worked fine: route add 123.123.123.123 mask 255.255.255.255 100.100.100.100 metric 10 -p However, one URL resolves to more that ...
0
votes
2answers
73 views

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 ...
0
votes
1answer
36 views

Bizzare routing: EITHER accepts emails OR sends depending if NetworkManager is running

Due to an otherwise unrelated hardware failure (long story) I've been forced to return an older Fedora Core system into service as a mail server. It's primary service is as a file server and Samba ...
0
votes
3answers
1k views

OpenVPN - Client traffic is not entirely routed through VPN

I installed OpenVPN on my dedicated server. Using Viscosity or Tunnelblick on the client, I successfully connected to this server. However, after some tests, I realized that not all the traffic ...
0
votes
2answers
1k views

Linux as a gateway (no NAT)

I'm trying to configure a linux server as a gateway/router, but I can't get it to work, and all information I've managed to find is NAT-related. I have a public IP block for the gateway and devices ...
0
votes
3answers
5k views

How to reach a device on a different subnet?

I have what may seem to be a basic question about routing, but I ask it because I am not sure where to start. I have a simple network setup: Client1, Win7, 192.168.0.50, default gateway is set as ...
0
votes
1answer
1k views

using a gre tunnel as default route

I have two private networks (A, B) that connects via another company's private network (C). Network A has internet access. I want to make a tunnel between B and A that goes through C. Then network B ...
0
votes
1answer
2k views

Static route issue on Windows Server 2008 R2

There's a virtual machine with Windows Server 2008 R2 installed. There are two NICs connected to it: PROD & BUP. The BUP interface is configured without default gateway. After adding static route ...
0
votes
1answer
2k views

openvpn: after changing to server mode, client does not create TUN device

i had a previously working configuration with the config files used in a previous question However, i've changed this now to the following configuration using server mode, everything on the logs seem ...