Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

-2
votes
0answers
29 views

IP Route Add Issue [migrated]

I'm trying to set up IE browsing with fixed routes in the route table. Before adding the static route, I can browse http://www.whatsmyip.org/ with internet explorer After I add a fixed route e.g. ...
3
votes
2answers
100 views

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

DD-WRT route between vlan2:1 and vlan2 [migrated]

I've been trying to configure a Netgear R7000 with DD-WRT on board. My problem is the fact I have a private ip assigned to the WAN (vlan2) and a public ip assigned to vlan2:1 If I use only iptables ...
0
votes
0answers
65 views

Openvpn Packet loss troubles

Hy! I got an Openvpn server on Linux and use it to route all ipv4 traffic from my clients (win7,android, pfsense etc). I finally want to really understand the routing thing, although it works, but ...
2
votes
1answer
50 views

How access remote network with OpenVPN?

I am currently trying to configure OpenVPN to access our company network remotely. I was able to establish a connection and ping the server at the configured address (10.8.0.1), but I was not able to ...
-1
votes
1answer
40 views

force use of specific ip when talking to specific host

I have a server with multiple interface alias running debian. lets say eth0 eth0:0 and eth0:1 I'm looking for a simple solution, when connecting to host 1.2.3.4 (or host range, would be better) that ...
-1
votes
1answer
41 views

Can 192.168.20.4/24 describe a network or only a host? [duplicate]

As I understand it IP 192.168.20.4/24 can only describe a host (24) on net 192.168.20.[1-254]. Now when describing a net; can 192.168.20.4/24 be a valid network ID, or should such a network ID always ...
0
votes
1answer
25 views

Understanding aws ec2 default routes in [closed]

After launching a new EC2 instance on AWS, I get the following routes. The LAN subnet is 10.0.0.0/24. $ sudo route -n Kernel IP routing table Destination Gateway Genmask Flags ...
0
votes
2answers
75 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
92 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
49 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
59 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
72 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
64 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
89 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
46 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
127 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
34 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
58 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
62 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
259 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
1answer
80 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 ...
1
vote
1answer
251 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
41 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
18 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
550 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
590 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
285 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
112 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
44 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
163 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
212 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
231 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
147 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
38 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
1k 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
45 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 ...
0
votes
0answers
126 views

Glusterfs : 'No route to host' for fstab mount in CentOS

I am using glusterfs, and am using fstab in this way: <IPADDRESS>:/<VOLUMENAME> /some/mount/point glusterfs defaults,_netdev 0 0 but the logs for the mount continue to say the following. ...
3
votes
2answers
822 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
253 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
115 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 ...
0
votes
0answers
51 views

IP Route to forward SRC to other interface/gw

and thank you in advanced for your time and cooperation. I have a simple scenary. We have a VPS (venet0) with IP x.x.x.251 and currently, the main IP is part of eth1, but I need to force the traffic ...
1
vote
0answers
40 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 ...
2
votes
1answer
242 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
226 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 ...
0
votes
0answers
60 views

Server 2003 R2 box can't reach IP over site-to-site VPN

I'm going batty trying to figure this one out, and I think I need a few extra sets of eyes on the problem. I have a Server 2003 R2 box and I'm trying to back up the contents of the box over a ...
1
vote
0answers
523 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
583 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 ...
0
votes
0answers
71 views

Linux router cache shows very high RTT (30 sec)

one IP from the route cache is exceptional high (>30sec), the others are below 100ms. # ip -s -o r s c |grep 10.20.61.12 local 10.20.55.98 from 10.20.61.12 dev lo src 10.20.55.98 \ cache ...
3
votes
0answers
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 ...