Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

1
vote
2answers
188 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
0answers
873 views

Missing iptables rules for Strongswan routing for VPN for phone

I have a Centos 6.6 VPS out on the Internet that has a public IP. I have installed StrongSwan 5.1.3 to allow my BlackBerry10 phone to connect from hotspots and use the VPS' connection. The VPS' IP ...
0
votes
1answer
129 views

OpenVpn & KVM: can't access LAN behind server

i just set up an OpenVPN Server on a rented root Server. I can ping the OpenVPN Server IP, but can't connect or ping to other Machines (VMs) on the OpenVPN Server Network. According to the official ...
0
votes
1answer
411 views

How can I configure my DHCP server to distribute IP routes?

I have a DHCP server (Linux, IPCop, dnsmasq) running on my default gateway server 192.168.0.1. I have a VPN endpoint on another server in the network (192.168.0.4). Is it possible to configure the ...
-1
votes
1answer
690 views

Can't set up the default route from a sublan to the WAN [closed]

I am trying to connect one of my PCs to the Internet via a WiFi network using a notebook. Here is my network : (Wifi) <=============> (Notebook) <===============> (Desktop) ...
0
votes
0answers
124 views

2 default gateway entries in routing table after connecting Openvpn

It is a ubuntu 14 server running, with 1 physical NIC eth0 connecting to the Internet. There is then a Openvpn client run on it as tun0. All the traffic go via tun0 with the routing table as below. ...
0
votes
0answers
245 views

Access internal network via VPN

I'm quite the newbie when it comes to network admin, so please excuse my ignorance! I have what seems to be a fairly simple-to-solve problem (so I hope!) Inside my company, we run a Synology Server ...
0
votes
1answer
77 views

Need help interpreting route output

GUEST CentOS VM (VirtualBox): [root@localhost network-scripts]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default ...
0
votes
1answer
280 views

OpenVPN config for route some traffic through VPN CentOS 6

My server is using CentOS 6.4 64 bit and have 2 network adapter. 1st adapter have an internet ip: 192.241.190.x 2rd adapter is an LAN network with ip: 10.60.5.62 I installed openvpn and config for ...
0
votes
1answer
105 views

Adding static routes to remote networks

Having: My local machine (A) A remote router (B) who knows a remote network/subnet (X) My local machine's is located at the default router's (C) subnet, who know the remote router (B), but has no ...
0
votes
1answer
145 views

How can I tell what's happening to my packets?

I'm trying to bring up a little box on my network. I just reflashed the firmware and it's supposed to come up as 192.168.1.1 by default. My router is a DSL modem at 192.168.0.1; it usually uses a ...
0
votes
0answers
109 views

centOS7 persistent routing issue

I have google a lot but still cant find a working way how to make persistent some routes on centOS7. [root@asd network-scripts]# route -n Kernel IP routing table Destination Gateway ...
0
votes
2answers
849 views

Use ROUTE to force non VPN traffic over normal connection from a single machine Windows 8.1

on my revious OS (Windows 7) I had a persistent route setup so that all the traffic to my webserver went through my normal internet connection and everything else went through my VPN. I used; route ...
0
votes
2answers
218 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
705 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
56 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
22 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
742 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
2answers
67 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
240 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
301 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
349 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
281 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
40 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
4k 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
49 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
398 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
139 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
60 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 ...
5
votes
2answers
565 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
377 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
681 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
3k 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
15k 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
47 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
94 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
185 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
6answers
7k 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
4k 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
755 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
172 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
554 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 ...