Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

9
votes
1answer
540 views

Freebsd change default Internet channel route

I have two Internet channel and Gateway on freebsd. When I switch channel with the command route change default chan2, the command netstat -nr shows changed default route. But traceroute shows that ...
3
votes
1answer
236 views

How to add persistent route for VPN when interface # varies?

In Windows, I can add a persistent route for an IP using the interface number of my VPN connection. However, when I reconnect to the VPN later, the interface number changes, which means the route I ...
4
votes
0answers
1k views

IPv6 default gateway route disappear after reboot

I'm using Debian Wheezy on a dedicated server which uses IPv4 and IPv6 at the same time. ifconfig eth0 eth0 Link encap:Ethernet HWaddr 11:11:11:11:11:11 inet adr:90.0.0.1 Bcast:90....
2
votes
0answers
56 views

Ping problems with two interfaces, same subnet, direct connections to two separate hosts

I have a configuration of a client machine (Ubuntu 14.04.2 LTS) that directly connects to two server machines. The server machines--while on the same subnet--cannot route to each other. Packets must ...
2
votes
0answers
61 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 ...
2
votes
0answers
235 views

Two separate WAN uplinks for two different NAT networks

I have a server running ubuntu 10.04 with four interfaces. eth0 and eth1 have static WAN ip's, and eth2 and eth3 are connected to two separate NAT networks 192.168.0.0/24 and 192.168.1.0/24 ...
1
vote
0answers
31 views

Windows Server - Route any request via a set IP

We have a Windows 2008 server that has multiple IP address' on it. When the server makes requests to other machines (Via a .Net Web App) we've found that the IP it's 'calling out' on is un-predictable ...
1
vote
0answers
33 views

Debian 7 losing IPv6 default route randomly

I have a Debian 7 server setup and it keeps losing IPv6 connectivity after some time. I found that the default route is removed and is what appears to cause the Issue. Any help to fix the issue would ...
1
vote
0answers
51 views

Static route between vlans

Windows server 2003. MS TMG with two NICs. I have two vlans in my network. vlan1: 200.1.1.0/255.255.255.0 vlan2: 200.1.2.0/255.255.255.0 I have an ISA server with two NICs in vlan2. NIC1: 200.1.2....
1
vote
0answers
30 views

How to use virtual interface as default interface

I've got a cloud SSD VPS @ OVH, and I'd like to change the default interface used for requests. I have two interfaces: eth0 (which is the default interface) and eth0:0 (which is the new virtual ...
1
vote
0answers
65 views

Clone and then route SNMP traps to new destination

We have 2 SNMP trap servers 10.0.0.1 and 10.0.0.2 which are the SNMP trap servers for close to 500 devices that we monitor.In all these 500 devices,10.0.0.1 and 10.0.0.2 are configured as the trap ...
1
vote
0answers
38 views

How can I proxy requests to a specific IP to a different IP on OS X?

On OS X how can I setup a route so that when I make a request to 10.0.0.1 it is redirected to localhost? Right now I can do curl localhost:3000 and get back a blob of HTML from my running node web ...
1
vote
0answers
569 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 ...
1
vote
0answers
66 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 ...
1
vote
0answers
895 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
2k 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 Bcast:10.185.2....
1
vote
0answers
110 views

Routes with PPTP

I have a server A that is running OpenVPN server, and a server B connected to it. Then on B I have eth0, the physical interface, and tap0, created by OpenVPN. I want some ip to go with eth0 while ...
1
vote
0answers
82 views

WAN Woes Between Satellite Offices

Having a baffling time trying to troubleshoot an issue between 3 sites on a WAN set up via site-to-site VPN. The sites are: NY: 10.30.1.0 (HQ) OH: 10.30.6.0 CT: 10.30.7.0 When I first ...
1
vote
0answers
465 views

Route VPN gateway traffic via tun0

On my Linux box, I got a tun0 dev by ipip like: tun0 Link encap:IPIP Tunnel HWaddr inet addr:10.10.10.2 P-t-P:10.10.10.1 Mask:255.255.255.255 and I running a ipsec vpn server(...
1
vote
0answers
819 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
0answers
19 views

How to share internet between sites connected using SHDSL routers (Data lines only)

I have 2 sites connected together using SHDSL routers (Data only) in Site 1: I have 3 devices connected together using normal network switch: 1-Database Server : 192.168.1.10 2-ADSL Router (...
0
votes
0answers
7 views

Configuring multiple ipsec tunnels on vlan

I am trying to create a vlan between two machines, they are located on separate physical boards. And then create separate ipsec tunnels on each vlan link. Such that: eth2 10.0.1.1 ------------------...
0
votes
0answers
28 views

Linux: static route on ifup

I have a Linux server (Fedora 24) with two network interfaces: eno1 and eno2. The eno2 is configured for DHCP; it is in the 192.168.62.0/24 network. When I bring it up, it gets IP '192.168.62.195' ...
0
votes
0answers
18 views

iptables / routing - need to direct packets through a particular interface with frequent disconnects and default gateway changes

First and foremost, I did read this question iptables - Target to route packet to specific interface? and did my best to google, but so far can't figure out the solution. Problem: A linux machine (...
0
votes
0answers
24 views

Route/Forward specific traffic to Interface

I want to use a Rasperry Pi as (Wlan-)Router. The Access Point is working so far: I have an Accesspoint with wlan0 (ip 10.10.0.0/255.255.0.0) and wlan1 connected to the internet. Now I want to route ...
0
votes
0answers
26 views

Linux route issue when using IPSEC tunnel with PPTP client

There are network configurations of my box: The interface pptp-vpn is a ppp connection to a remote VPN. 192.168.6.229 is a IPSEC tunnel IP of my cell phone. eth0.2 is the wan interface. I try to ...
0
votes
0answers
22 views

Force routing to a gateway when pinging self IP

I will try to explain my problem the best I can, and maybe there is a better solution. I got a topology that includes a host and a gateway. Also I got an application with both client side and server ...
0
votes
0answers
41 views

Adding a route to VPN network in server LAN, Windows machine

I set up an OpenVPN server in my LAN in routed mode (1 network card) and I want to connect to MyLaptop from the internet. To do so, I enabled IP forwarding on the VPN server, and added a route on ...
0
votes
0answers
45 views

Static route to access another IP/SUBNET from PC

Maybe it's a simple concept misunderstand. I'm in a network with ip 172.16.0.xxx (mask 255.255.240.0). How could I configure my PC (Windows 7) with a static route or any other kind of solution so I ...
0
votes
0answers
32 views

how to create persistent route on a RHEL 6 machine to a gateway on a different VLAN?

I'm trying to create a persistent route on a RHEL server to an IPSEC tunnel gateway that's on a different VLAN. This was no problem on another RHEL server that is on the same VLAN as the IPSEC tunnel ...
0
votes
0answers
303 views

How to redirect VPN traffic on OS X

I have following problem: I need to connect to VPN and access specific resources (ip addresses). When I connect to VPN all network traffic goes through VPN but in fact I need only specific ...
0
votes
0answers
3k views

Add static route on Ubuntu 14.04 server

I have set up Ubuntu 14.04 server on a machine and configured /etc/network/interfaces with two gateways. The default one is em1 which is fine, but I need traffic to a specific IP address on the ...
0
votes
0answers
27 views

mounting nfs fails after exiting openvpn and deleting route

lately found that sudo mount -a in the script won't work after exiting openvpn and deleting a specific route to the NFS via openvpn. "sudo mount -a" in the script returns "mount.nfs: mount system call ...
0
votes
0answers
156 views

Ubuntu multiple gateways

I have an OVH dedicated server, with multiple virtual machines. I have a pfsense firewall, and an ubuntu machine behind the firewall. So I had a failover IP set using the firewall as the default ...
0
votes
0answers
90 views

Forward all connection to specific remote port to different host

I have the following setup: Local machine connected to intranet Proxy server connected to both intranet and internet through different interfaces Remote server I am forced to use an application on ...
0
votes
0answers
1k views

Transparent Proxy Issues w/ HAProxy Centos 7

Having issues following steps to transparent proxy outlined here: Howto transparent proxying and binding with HAProxy and ALOHA Load-Balancer | HAProxy Technologies – Aloha Load Balancer Believe to ...
0
votes
0answers
460 views

How can I create routes between two separate LANs

I have a ASUS RT-AC66U with merlin firmware, how can i create a connection between 2 different subnets, whitout using Vlan's ? My Server subnet is 10.10.1.0 255.0.0.0.0 Asus router and client ...
0
votes
0answers
130 views

Linux router for 2 public subnets with one getaway and one local subnet - not load balancing ;)

I have problem with routing on linux. My ISP give me 2 ranges of public addresses, lets say: 192.168.11.0/30 (4 addresses) - router 192.168.33.0/29 (8 addresses) - servers additionally I have on ...
0
votes
0answers
226 views

Adding a remote default route gives SIOC[ADD|DEL]RT: No such process

I have searched the whole web for this but it seems no one has had similar problem. I have a local network (no internet) which my router ip is 10.201.32.10 and my gateway is 10.201.32.41 I have a VPS ...
0
votes
0answers
646 views

How to define route on all IP addresses except some subnet

I need to set up the following rules: If IP is in range 192.168.0.0-192.168.0.255 then route iut from gateway 1 (let's say 192.168.2.1) otherwise for all other IP addresses route it through default ...
0
votes
0answers
135 views

How to terminate any ip/ip tunnel which has this host as destination

I am in a situation where I want to terminate any tunnels at one device. I.e. I want to be able to create a tunnel to this device from any source ip adress. Something which can inspect a packet, see ...
0
votes
0answers
2k 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 ...
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
0answers
420 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
0answers
52 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
49 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
0answers
45 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 ...
0
votes
0answers
53 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 ...
0
votes
0answers
300 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
0answers
494 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 ...