Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

0
votes
2answers
193 views

dynamic 'route add' command doesn't work but static is working

i am having a situation where route add is not working but if i add that as a static entry in sysconfig/network-scripts/route-eth0 its working Network details: IPADDR=198.x.x.1 ...
2
votes
1answer
615 views

How to use a Linux OpenVPN client host as gateyway for a Windows OpenVPN client host?

I have an environment where I have a OpenVPN server (Linux) and a few OpenVPN clients (both Windows and Linux). All those hosts (server & clients) are connected to the Internet, they are not ...
2
votes
0answers
49 views

How can I test an ICMP Re-direct message?

I want to test whether my linux machine is actually accepting ICMP re-direct message and updating the entry in routing table.This is what i have done so far to achieve the same. Simulated a ICMP ...
0
votes
0answers
21 views

route command displays gateway backward

Very puzzling problem on CentOS 6. After I issued this command: route add -net 190.160.190.0/24 gw 191.160.203.254 I then check with the route command, but the gateway IP appears backward: ...
0
votes
1answer
1k views

Config OpenVPN on Window Server 2008 R2 for client can connect server's Lan network

I installed openvpn 2.1 on my Windows Server 2008 R2. My server has 2 network adapter. The first adapter connect to internet. (default gateway here) The second adapter connect to lan network. ip ...
-1
votes
2answers
2k views

CentOS: Can't add route after deleting the /24 rule from main routing table

As the title says, after deleting a rule from the main routing able I am not able to add any route till I do service network restart or ifup eth0 To reproduce the problem: ip route list table ...
0
votes
1answer
611 views

set route on OpenWRT for PPPoE and LAN

I have a HUAWEI wireless router running OpenWRT. The router accesses the Internet with PPPoE. Meanwhile it has an Ethernet address with the following configuration in a LAN (Local Area Network): ...
0
votes
0answers
178 views

Use Cisco VPN connection of another Computer using linux iptables and routing

I have the following need. I have a system that is connected to production environment using a cisco VPN client. At any point of time only one connection is possible. Right now I ssh to that PC and ...
0
votes
2answers
66 views

Can I configure a connection a network with a gateway with a static ip to a network where the gateway address is assigned via dhcp?

I have two networks with each gateway on a separate network device on a single computer. One is a static ip network on the ethernet device, the other is a wifi connection to a router that is assigning ...
0
votes
4answers
217 views

Create IP nullroute blacklist from text file

I've seen various guides out there for how to nullroute a single IP address, and I've done that before. However, I'm not sure how to nullroute a group of IP addresses. Going through each one ...
0
votes
0answers
278 views

pfSense LAN network unable to communicate with remote network on OpenVPN TAP connection

I set up pfSense to connect to a remote network (192.168.122.0/24) that only accepts tap connections. The connection is being initiated successfully. pfSense (192.168.1.1/24) itself can connect to ...
0
votes
1answer
325 views

Routing tables in OS/X Mavericks - causing traceroute: sendto: Cannot allocate memory

OS/X does most of its routing based on the order of the interfaces in 'Network Preferences'. I need to separate traffic, so I've put the default route first, and then routed traffic to the second ...
0
votes
1answer
243 views

squid3 with tcp_outgoing_address could not connect to anywhere

I have one server with 3 interfaces (3 physical lan card), which are connected to 3 different routers. Each router has a different subnet, i.e. the 3 interfaces of server belong to 3 different ...
-5
votes
1answer
39 views

How to route to next server? [closed]

I must route all traffic from first server to second server and next to third server. Like this: server1 -> server2 -> server3 I use Debian Wheezy. Can anyone tell how to do this with iproute?
1
vote
4answers
3k views

Allow traffic from ssl-vpn to enter ipsec tunnel on fortigate

we configured our FortiGate 50B to route traffic from our local net 192.168.10.* (which is our office) to a remote network 172.29.112.* using an ipsec tunnel. Everything works fine as long my computer ...
0
votes
0answers
47 views

Connectivity issue when computer is on certain ip range

I am using mobile USB stick for internet connectivity. My connection works just fine, but I cannot access my computer from outside (internet) when I am on certain IP range. When my mobile stick gets ...
3
votes
2answers
2k views

Linux adds the wrong default route

For some reason my Centos 5.9 Linux 2.6.18 x86_64 wants me to have two default routes. Whenever I reboot the server, my routing table looks like this: [root@server1 ~]# route -n Kernel IP routing ...
1
vote
0answers
359 views

Cisco RV042 can ping gateway only

I have Cisco RV042 which the problem is can ping gateway only. here my setup : LAN Setting Device, IP address : 172.31.13.254 Netmask : 255.255.255.248 Dual Wan Setting WAN 1 Static IP: IP ...
2
votes
1answer
135 views

Linux IP forwarding trouble

In my environment most of the servers have 2 network cards. A primary/user network card used by the application, and a secondary/backup adapter used for backups, bulk copies etc. I just set up a ...
1
vote
0answers
49 views

How is the route scope parameter used?

I am confused about the route scope parameter in the output if /sbin/ip route. default via 10.32.10.1 dev wlan0 proto static 10.32.10.0/24 dev wlan0 proto kernel scope link src 10.32.10.154 ...
3
votes
1answer
471 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 ...
0
votes
1answer
331 views

Force all traffic from servers on the same bridge to pass through router interface

I have a bridge with all hosts from the 192.168.5.0/24 network connected to it.They all connect to this bridge via a secondary interface eth1. I have a router which connects this bridge to others on ...
1
vote
0answers
656 views

XenServer IP Failover OVH not working

I have got problem on XenServer with IP FailOver in OVH. I did everything what is in this official tutorial http://help.ovh.co.uk/BridgeClient and IP not working. On my VM is Debian 7 64bit I set MAC ...
1
vote
0answers
1k views

Multicast route setup for multiple interface

Currently I have the below eth5 to receive multicast data for 239.1.1.31. It works. $ ifconfig eth5 Link encap:Ethernet HWaddr E4:11:5B:94:E1:F3 inet addr:10.185.2.2 ...
6
votes
1answer
2k views

How to tunnel all Internet traffic via SoftEther?

My intention is to route all Internet traffic via a remote machine behind multiple NATs. The ISP's NAT servers are not under my control. I do control my own NAT server, which is a local router. Both ...
1
vote
1answer
12k views

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 ...
0
votes
0answers
43 views

connection not working after route add

I have 2 IP on different interface. eth0 xxx.xxx.43.36 eth1 xxx.xxx.43.38 I have IP yyy.yyy.162.221 which need to route via eth1. After I done route add -host yyy.yyy.162.221 gw xxx.xxx.43.38 I ...
0
votes
1answer
84 views

how to completely quit openvpn, make network work normal

I use a openvpn config file connect to a vpnserver successfully. But after I ctrl + C quit openvpn, ubuntu counld not access network. I think the route table is wrong or openvpn is not shutdown ...
2
votes
2answers
107 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
0answers
37 views

Routing traffic based on source (Linux)

I have two interfaces on my server; eth0, wich has one public IP address; and eth1, on which 3 IPS are attached. What I'd like to achieve is route traffic coming to the public address configured on ...
-1
votes
1answer
163 views

aws route 53 and vistualhost in ubuntu apache [closed]

I have added domain name in route 53 and creating a sub domain to land into virtualhost with a port. I am trying to add a sub domain as cname and cname is my servername in virtualhost. I am on ubuntu ...
0
votes
0answers
48 views

Output traffic on different alias based on user

I have a server running Debian with two IP addresses aliased on a single NIC. eth0 254.71.11.134 eth0:0 185.14.16.132 I want all traffic form a specific user to go through eth0:0. I figure I ...
10
votes
5answers
5k 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 ...
0
votes
3answers
3k views

Centos multiple NICs routing issue

I am having trouble setting up permenant routes for my network interfaces, below my config : ETH0 : 172.23.137.27 Netmask /25 - 255.255.255.128 Gateway – 192.168.126.126 ETH1 : Trunk VLAN - ...
0
votes
1answer
55 views

uk vps server route to thailand? [closed]

I'm just a Javascript developer using node.js... My host has got me a vps sever in england. I have had someone test my site loading in england and it is lightning fast. I've also had someone test in ...
0
votes
2answers
668 views

Accept incoming connection from a second gateway

I searched a lot about the question, but can't find solution for my situation. We've got a Windows 2003 server that runs Advantage Database Server (ADS) through which our site connects to our ...
2
votes
1answer
163 views

How to View the IP routing table

How can I see ip routes I've added with ip route add default via x.x.x.55 table test1 for example I added 199 test1 and 198 test2 and 197 test3 to /etc/iproute2/rt_tables then I run: ip route add ...
0
votes
1answer
508 views

Routing traffic through a virtual machine [closed]

I have OpenWRT running in a virtual machine. It's network adapter is bridged to the host. Host ifconfig root@michael-VirtualBox:/home/michael/Scripts/python# ifconfig eth0 Link encap:Ethernet ...
1
vote
1answer
65 views

routed network, subnetwork clients has broken tcp connection

I manage a linux server which works also as a router, and route between following networks: PPPoE (to connect to ISP) (default gw) wired network 2x VPN networks (PPTP and openVPN) wireless AP (DHCP) ...
0
votes
3answers
309 views

CentOS masqueraded network with iptables clients not connecting: Unable to ping

I'm a novice sysadmin working on a system with a CentOS server masquerading traffic with client machines also running CentOS. Something with the tables got messed up and my clients no longer have ...
1
vote
1answer
103 views

Routing between many systems, no first hop

I have a main router (10.20.0.1 (lan), 10.20.201.1 (vpn server)) connected to 5 other GW via VPN. Every gateway can ping every other one, and the PC behind them. One of my router, 10.20.6.1 (lan), ...
-3
votes
1answer
655 views

Why is Windows 7 not following all routes? [closed]

My computer is connected to my secondary router that's running the 192.168.42.0/24 network and my computer also has a route that directs anything on that network to the router, but for anything on ...
0
votes
0answers
209 views

Why is an ack response being sent to the wrong gateway?

I was trying to determine why a packet forwarded by iptables to my internal lan is returned on the wrong gateway. Having investigated this further, I determined that, at least in the case of one of ...
0
votes
2answers
499 views

Separated virtual networks with same subnet range with 2 interface

I'm having some problems with routing with the following: I have a server with 2 interfaces. It has 1-1 alias contains the same subnet. the 2 interface is connected to 2 switch, which are separated ...
0
votes
0answers
292 views

Routing outgoing HTTP/HTTPS traffic over a different subnet

I am trying to set up a Linux Server which was initially only supposed to be in one "server-subnet". However I am forced to use a proxy to access HTTP/HTTPS services in this subnet, which causes a lot ...
1
vote
2answers
5k views

Routing traffic to a specific NIC in Windows

I added a 10GB NIC to a SQL server which is connected over to a backend storage using ISCSI. I would like to force traffic going to a certain IP address/host to use the 10gb NIC, while all other ...
0
votes
1answer
152 views

route for Wan To Lan

I working on Netgear Prosafe FVS336GV2 My wan interface is on 192.168.1.0 My Lan interface is on 192.168.100.0 Of course my lan access to my wan But I want to add a route to access to my lan from my ...
1
vote
1answer
678 views

Some clients on a VPN network are not reachable

The problem of this model is that some (only some) clients cannot be reached. See the link below for more information about the model which is being described in the upcoming section. Problem ...
2
votes
3answers
1k views

Multiples ip address on interface. I want to specify one of them for output

I ran curl on curlmyip.com, and I got the wrong output ip address. My systemd service file is: [Unit] Description=Wired Networking Wants=network.target dibbler-client.service Before=network.target ...
2
votes
3answers
2k views

How can I define null route on Windows Server 2008 R2 Standard

How can I define null route on Windows Server 2008 R2 Standard? I've tried x.x.x.x is target ip which I'm trying to block 1.1.1.1 is non existing ip 192.168.1.1 is default gw 192.168.1.254 is non ...