Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

0
votes
0answers
274 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 ...
0
votes
1answer
3k views

Add Persistent Static Route in Centos 5

What is the proper way to add a static route in Centos 5 that will persist rebooting? I tired adding an route-eth0 file in /etc/sysconfig/network-scripts that contains a route , but after ...
1
vote
1answer
101 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 ...
1
vote
1answer
1k views

Linux Route All Internet Traffic through secondary interface

Given the following output from ifconfig, I would like all outgoing traffic to come from bond1:1 instead of the default bond1 interface, how would I go about accomplishing this? bond1 Link ...
0
votes
1answer
68 views

Servers cannot see internet gateway though their configuration is the same to another which can

I have 2 switches at the Data Centre - one is connected to the internet, and one for the internal private network. All servers have one NIC into the internet switch and one to the private one. All ...
6
votes
3answers
10k views

Pick the default network interface

I have a server with 2 interfaces. eth0 is 100 times faster than eth1. Though for some reason, every reboot, the default interface is picked at random. To make things more annoying, they both use the ...
0
votes
1answer
487 views

Create a new route for a bond alias

I have an IP address in my linux box 1.2.3.4 that is eth0:1. Alias of eth0. I want to create a route from that IP to an external 5.6.7.8 IP in another box. How can I do it? Do I need netmask and ...
0
votes
2answers
500 views

Linux add route error

Here are these Linux and IP: LinuxA: eth0 188.9.5.2, tun0 10.0.0.1 LinuxB: eth0 188.8.6.3, tun0 10.0.0.2 LinuxC: eth0 188.9.7.4 LinuxD: eth0 10.62.8.5 On LinuxA, I can ping to 10.0.0.2 of LinuxB. ...
0
votes
1answer
624 views

getting multicast on a virtual interface on linux

I create a virtual network interface with: ifconfig eth0:1 192.168.0.1 netmask 255.255.255.0 but when I ping the multicast address: ping 224.0.0.1 my virtual interface does not respond. Why?
-1
votes
1answer
274 views

How can I filter traffic using a layer 3 switch?

I have a layer 3 switch which needs to route traffic to 2 different networks which don't see each other. What would be the simplest and most efficient way to do this? And is there any straight ...
-1
votes
2answers
124 views

Adding More IPs to a Netcard on Linux

How do I add more IP addresses to a network card on Linux? Do I use the route command? It's Ubuntu Server 10.04 LTS.
0
votes
1answer
111 views

Routing problem (no ping) [closed]

I have a computer A (190.21.8...) and B (190.21.5....) and C(222.104.100....) I can mstsc from A to B, and also - I have ping from A to C, and from A to B, but not from B to C? How can this be fixed? ...
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 ...
1
vote
2answers
2k views

Reroute IP Traffic to another IP?

Is it possible to reroute traffic from one IP/PORT to another in Server 2008? We host game servers, and I was tinkering with the idea of offering our clients an extra IP address, but reroute the ...
1
vote
3answers
767 views

IP Routing through VPN to Windows Server

I have the following network topology: Remote admin network (192.168.10.0/24) I connect to using PPTP to the public IP Remote gateway assigns an IP adress to me (192.168.10.100, for instance) I can ...
1
vote
0answers
696 views

Multicast Default Interface - upgrade to RH5.5

I have upgraded a server from RH4 -> RH5.5 and we have an interesting issue with multicast. we have multiple NICS on the server, we want the bond0 to default as the default interface. adding route ...
0
votes
1answer
899 views

Route all traffic through my laptop (using Squid) with Windows [closed]

I have just installed Squid on my laptop and I am successfully blocking all the traffic that I want to block ( websites, protocols etc. ). But I would like to route all the traffic form my LAN ( have ...
2
votes
2answers
377 views

Splitting a subnet, and routing it on a two interface iptables firewall

I have a two interface Linux iptables firewall. Currently I have several servers behind it on a private network 192.168.0.x. The firewall currently has each IP configured locally and uses NAT to ...
7
votes
3answers
34k views

Why ip route add doesn't work, but ip route add with less details and then change works?

I have a problem with ip route add. Surprisingly, I can add the route then change it, but I cannot directly add it: # ip route add 192.168.0.0/16 via 192.168.255.254 src 192.168.1.101 RTNETLINK ...
1
vote
1answer
2k views

How do I force a socket connection to use a specific network adapter under Linux? ip route issue?

I have multiple network adapters, and need to be able to specify which adapter my socket uses for outbound connections, so that I can have one or more sockets bound to each network. I`ve looked at the ...
1
vote
4answers
5k views

why tracert does not show the same gateway address as in ipconfig

I am confused by the following: C:\>ipconfig .... Connection-specific DNS Suffix . : some address here IP Address. . . . . . . . . . . . : 10.77.121.54 Subnet Mask . . . . ...
1
vote
1answer
45 views

Are there any Route Server for Windows Server

Are there any router servers, like zebra, for Windows Server?
0
votes
1answer
1k views

Routing subnet over GRE tunnel

Im trying to configure a GRE over IPSec connection between two subnets. The IPSec tunnel is opened and now I want to add a GRE tunnel over it: ip tunnel add GRE01 mode gre remote 10.244.0.1 local ...
1
vote
2answers
2k views

Linux ip route matching the source ip

I would like to know if it's possible to tell a Linux kernel to route all packets destinated to X via interface/ip Y but only in case the source IP address would be a specific one. Any idea if this ...
0
votes
3answers
224 views

linux routing issue

I have 2 linksys routers which has linux running on it and using tomato firmware.. both has internet lines plugged on but only 1 acts as DHCP server (router 1) What I am having to achieve is that all ...
0
votes
2answers
2k views

Multi Gateway and Backup Routing on a cisco router

I have a 2620 Cisco Router with only one Fastethernet port Now I have two internet gateways. I want to config my router as when primary routing fails second routing automatically start to route all my ...
0
votes
1answer
2k views

Bridge VirtualBox host-only network with Juniper VPN network on OS X

I'm trying to setup a VM which should be able to utilize the VPN connection of my host. The VM is running Debian Lenny and the host is OS X SL. For the VPN connection I use Juniper Network Connect ...
1
vote
1answer
2k views

vpnc “Target networks” and DNSUpdate options not working

VPNC documentation describes the options to restrict VPN connection route to a range of IPs and also leave system DNS setting untouched. My vpnc configuration (/etc/conf/default.conf) contains the ...
0
votes
2answers
477 views

Can I route packets between PPTP clients?

I hava one pptp gateway(192.168.1.1), and one pptp linux client(192.168.1.2), and one pptp windows client(192.168.1.3), When gateway receives response packets of 192.168.1.3 , can i forward these ...
1
vote
2answers
3k views

How can I use iptables/route to route traffic from one local network device through its own gateway?

On my Linux server (Ubuntu), how can I configure traffic originating from one of my network interfaces (my VPN device - ppp0) to route through its own gateway address? Caveats: I can't set it up as ...
0
votes
5answers
1k views

how to bridge networks 192.168.191.0/24 and 10.9.0.0/16?

I have two networks in a LAN: 10.9.0.0/16 and 192.168.191.0/24. They use the same Linux router, what do I need to add with route so that all computers see each other in the network? I'm using IPCop ...
0
votes
1answer
161 views

adding a route table entry in switch hub or something

It is widely known that a network packet can be sent forcely to a designated port(a physical port in switch hub device) by adding a route table entry. For example, (In Windows Console in host A) ...
-1
votes
2answers
466 views

SMTP Relay to Multiple Hosts

I have a situation where I need to configure an MTA to relay messages for a single domain (@example.com) to multiple (3) seperate SMTP servers. Email for user@example.com received on SMTP-1 needs to ...
2
votes
3answers
164 views

What does this route map modification mean?

I've inherited administration duties for a firewall/gateway server, and I'm trying to understand what a particular static route setup in rc.local means: ... route add 123.123.123.123/30 10.10.3.14 ...
0
votes
1answer
474 views

Cisco Route needed to route VPN clients to datacenter

I have setup a OpenVPN server on a server in the office for people to VPN into. They can hit any host on the office network just fine but if they try to access our datacenter on another subnet nothing ...
3
votes
1answer
2k views

Setting up linux routing

The system I'm trying to set up has an IP address 172.31.2.1. Its default gateway is 172.31.254.1. This works fine, and I can reach anything the gateway allows me to go to (172.31.0.0/16 + ...
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 ...
3
votes
3answers
4k views

Getting openvpn client to forward all traffic through server

I am trying to set up an openvpn server and client, with all client traffic being routed through the server. I am currently able to access the server through the client, but when I enable 'push ...
0
votes
2answers
4k views

choose the outgoing interface for a default route

I have a FreeBSD 8.0 virtual box with two ethernet interfaces, em0 and em1. em0 is 192.168.1.99 and em1 is 192.168.1.100. Both are "Attached to: Bridged Adapter". When both are up, if I say # route ...
1
vote
2answers
1k views

arp failing after heartbeat failover occurs

I have an LVS based load balancer which has been working just fine. It runs on two servers using heartbeat to provide failover. I've added support for a second IP range to the system, but when the ...
4
votes
2answers
328 views

Sharing a VPN connection among several servers with certain IP ranges

I have an OpenL2TP VPN instance running to a company providing me with connections to cellphone modems in the 10.4.2.0/24 private IP range. This server is on the same private network as three other ...
0
votes
1answer
432 views

route everything except 123.123.* through vpn

I would like to route all requests to 123.123.* normally through eth0 and everything else through VPN (tap0). This should probably be done with iptables. Any ideas how? Thanks
0
votes
2answers
61 views

How to reply some request from which routes its came from?

I wonder if we can reply some request from which route its came from? My Situation is like this: eth0 192.168.10.1 --> gw: 192.168.10.254 nm: 24 eth1 192.168.11.1 --> gw: 192.168.11.254 nm: 24 ...
1
vote
1answer
427 views

Creating Routes using the second NIC in the box

OS: Linux I need some advice on how to set up the routing table. I have a box with two physical NIC cards eth0 & eth1 with two associated IPs IP1 & IP2 (both of the same subnet). I need to ...
1
vote
4answers
9k views

Static route toward a DNS Address, it is possible?

I need to add a static route on a windows server toward a web server with a service; I need to add a static route with this command on a Windows command prompt: ROUTE ADD -p IPADREESS GATEWAYIP Is ...
0
votes
1answer
1k views

Change OpenVZ route to pass through ip failover

I have one dedicaced server with its own IP and another IP (failover) who refer to the first. I will wish to change the gateway of a Proxmox virtual machine (openvz) who runs on this dedicaced server ...
2
votes
1answer
6k views

iptables prerouting to redirect source ip address on ethernet

I have 2 ip adresses on the Internet who redirect on the same machine. On this machine, one Debian runs on OpenVZ. I can set iptables rules to redirect all http request to the Debian. iptables ...
2
votes
1answer
644 views

Static route in conflict with a route

I have a route configured. 192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.1 I'd like to add a static route to pass traffic destined for 192.168.1.51 via a load balancer's ...
3
votes
2answers
665 views

Help analyzing traceroute

my name is Abdulla and I'm from Kuwait. Sorry for my question as I know its not technically challenging. I'm facing some problems with my internet connection. My company has a DSL 2mb connection. My ...
2
votes
1answer
10k views

Cisco ASA 5505 site to site IPSEC VPN won't route from multiple LANs

Hi I've set up a standard site to site VPN between 2 ASA 5505s (using the wizard in ASDM) and have the VPN working fine for traffic between Site A and Site B on the directly connected LANs. But this ...