Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

9
votes
1answer
506 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
152 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 ...
2
votes
1answer
254 views

How to configure OpenVPN server to add route for new clients

I've got a LAN behind OpenVPN client (mikrotik router) which connects to a server, and allows access to the machines inside LAN for every other client that connects to the server. The LAN has its own ...
2
votes
1answer
151 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 ...
2
votes
1answer
935 views

lxc container not getting default route

I'm running Ubuntu Precise. I understand that my current version of lxc doesn't support gateway/default route assignment (lxc 0.7.5-3ubuntu67). I've been trying like heck to get a few lines to execute ...
4
votes
0answers
916 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 ...
2
votes
0answers
52 views

how to associate a Docker network interface to a Linux network interface (eth5) on Linux host?

My Linux host has 8 Ethernet interfaces, eth0 - eth7. I'm running three Docker 1.9 containers on this Linux host. How can I associate a network interface inside one Docker container to a specific ...
2
votes
0answers
712 views

Xen VM won't come up: could not find bridge device xenbr0 (configured to use routed)

I am using xen 4.4.1 on an Ubuntu 14.04 server, my DomU is running Ubuntu 14.04 Server as well. I've run this DomU in bridge-mode previously no problems. However I want to switch to a routed setup. I ...
2
votes
0answers
58 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
227 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
58 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
37 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
493 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
62 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
812 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 ...
1
vote
0answers
109 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
78 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
437 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 ...
1
vote
0answers
785 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
24 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
19 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
78 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
247 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
16 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
108 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
60 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
502 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
113 views

Keepalived multi route and ssh

We have configured keealived to have a floating 1.2.3.4 ip in another network range of the permanent ip 5.6.7.8 of the server. Floating Ip is working very well. Problem comes when Keepalived host (A) ...
0
votes
0answers
69 views

Suse11 default gateway lost after interface restart

Doing some test on a SLES 11 SP2 virtual server I noticed the default route was lost after restarting the related interface: # netstat -rn Kernel IP routing table Destination Gateway ...
0
votes
0answers
245 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
105 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
151 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
142 views

Kerio Control Static Route issue

First of all, thank you for reading this and trying to help me with this issue. I have a Kerio Controll installed in premises in NAT mode with two NICs. LAN: 192.168.1.7 WAN: x.x.x.x I have added ...
0
votes
0answers
389 views

ClearOS route configuration not working. How to setup route-eth0 properly?

I am running a ProxMox Server with ClearOS as a VM. I have the following requirements: extIP 1.1.1.1 gateway 2.2.2.2 I can not get clearos to automatically add the required routes. Here is what my ...
0
votes
0answers
515 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
106 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
1k 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
369 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
43 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
51 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
263 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
445 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 ...
0
votes
0answers
2k views

OpenVPN Route Issues w/ Mikrotik & Windows 7

I'm having (what I suspect is) a route issue with an OpenVPN implementation and a Windows 7 client. The VPN connection looks to establish itself just fine, and the route is available however efforts ...
0
votes
0answers
91 views

Trying to communicate between virtual servers on the same host through ipv6

I am running KVM on a host with 2 virtual servers. Each virtual server has a own bridge interface on the host VPS1 has br1 VPS2 has br2 Each virtual server has a own ipv4 and a ipv6. The virtual ...
0
votes
0answers
126 views

KVM directly connect to guests without passing router

I have a KVM host running 5 virtual servers. Each virtual server is using a separate bridge interface, like br0, br1, br3... Each virtual server has a own public IP. Now, I would like to be able to ...
-1
votes
0answers
24 views

Why server shows time out for 5 second then connecting in redhat linux

I have a DHCP server configured in Red Hat linux , there are two NIC Cards there , one connected to LAN and other connected to WAN , But i am losing internet for 5 second in one minute and this cycle ...