Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

10
votes
5answers
6k 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 ...
5
votes
2answers
521 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 ...
-1
votes
0answers
34 views

Cannot ping a local virtual machine [closed]

I have a host machine (ubuntu 15.04) running vmware player where an image of ubuntu 14.04.2 is running. I have the following interfaces on the host: ~ % ifconfig eth0 Link encap:Ethernet ...
0
votes
0answers
312 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
1answer
28 views

Windows Server 2012 R2 The route addition failed: The system cannot find the file specified

I am using a simple powershell command,(ran as Admin) as follows. route –p add 172.30.200.0 mask 255.255.255.0 0.0.0.0 IF 28 I have done this no problem on Windows 8.1, but when I do this in ...
2
votes
0answers
25 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
37 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 ...
-1
votes
1answer
37 views

Dynamic NAT configuration

I am using two routers and one host (computer), I connected fast Ethernet 0/1 of router A with the host and fa0/0 of the router A with the router B I have configured gateway as last resort on both ...
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 ...
0
votes
0answers
26 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
1answer
998 views

Masquerade traffic from certain source IP to VPN connection

Network Setup: 10.0.0.1 Router: to internet 10.0.0.70 Server: Ubuntu based server,default gateway is 10.0.0.1 10.0.0.51 PC I created a PPTP connection(interface: ppp0) on Server to a machine ...
-1
votes
0answers
8 views

how to port forward to server + tunnel specific hosts route though openvpn client on tomato [migrated]

Running Shibby Tomato v130 on an Asus RT-N66U. My goals are the following With Transmission running on the router have all torrent traffic route through an OpenVPN client also running on the ...
0
votes
0answers
19 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
1answer
77 views

Why i can't access computers in LAN behind OpenVPN server?

On ESXI server i have several VMs: one with external ip address (and internet access), that is configured as NAT (and plays OpenVPN server role) and several VMs in VLAN (using 192.168.182.*/28 ip ...
1
vote
2answers
341 views

Routing from docker containers using a different physical network interface and default gateway

Background Information I have a server with two network interfaces that is running Docker. Docker, like some virtualization tools, creates a Linux bridge interface called docker0. This interface is ...
0
votes
0answers
51 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
1answer
41 views

forwarding ping using ip route [closed]

I have a Linux setup which consists of two interface. A local LAN interface and virtual interface. ETH0: 150.10.15.194 PAN0: 192.168.255.209 I would like to set rules that route all ICMP echo ...
0
votes
0answers
51 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
78 views

Route postfix through different ISP/Gateway

Our network has 2 different gateways/ISPs, one with a dynamic IP used mostly for web traffic and SQUID and another with a dedicated connection and a static IP to handle VOIP and email. The network ...
1
vote
1answer
22 views

Debian - One Gateway 2 interfaces how to?

I have this scenario. 4 VM Debian8 : 1 DHCP 1 DNS 1 GW 1 Client I can ping from all my VM (except GW) each other (@ip or hostname). My GW have 2 interfaces (eth0->LAN / eth1->WAN). From it I can ...
0
votes
0answers
61 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 ...
1
vote
1answer
62 views

OpenVPN: Traffic Redirection not Working

tl;dr (after hours of debugging with @krisFR): At least under Debian 8, never use virtual interfaces (eth0:1) for OpenVPN, instead apply the new debian iproute2 methods (manual approach) described ...
10
votes
2answers
19k views

Where route to 169.254.0.0 comes from?

Running CentOS 5.4 Why do I have route to 169.254.0.0 although it does not appear in Network > Ethernet Device > Route configuration dialog? Destination Gateway Genmask Flags ...
1
vote
4answers
9k views

Static route toward a DNS Address, it is possible?

I need to add a static route on a windows server toward a web server with a service; I need to add a static route with this command on a Windows command prompt: ROUTE ADD -p IPADREESS GATEWAYIP Is ...
1
vote
5answers
5k views

How to route based on domain name?

I can route by IP range by the route command. But is there any domain based route solution?
0
votes
1answer
44 views

Network Config: Difference between Windows and Debian

We have a so called "LAB"-Network(VLAN). The Switch and Firewall are configured to allow access from the ip 10.150.151.1 (Windows Client in LAB) and 10.150.151.10(Debian Client in LAB) to a mail ...
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
63 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 ...
-1
votes
2answers
137 views

How to configure network interfaces for three NIC cards all on three different subnets

I am setting up a cloud environment on Ubuntu and I am running into an interesting problem. Out of the box Ubuntu (all linux really) doesn't allow you to specify more than one gateway in ...
0
votes
0answers
240 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 ...
0
votes
2answers
23 views

Make some route info persistent on RHEL

I would like to make the following route info persistent. I know how to do it for the default, but how about this line: 10.27.74.0 * 255.255.255.0 U 0 0 0 eth0 ...
0
votes
0answers
13 views

server farm configuration for redirect and reroute [duplicate]

I have a windows server 2012 at home and I want to redirect specific requests to different machines in my network. How can I configure, for example, all requests for www.sample01.com to go to ...
0
votes
2answers
202 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
2answers
868 views

Use Mikrotik as a switch and route subnets through another router

I've got the following network configuration: Comtrend 5813 FTTH Router, connected to WAN, let's say in 192.168.50.x (being .1 router's address) and a DHCP server active, giving addresses from .150 ...
2
votes
3answers
6k views

How to check a route exist between two hosts for a particular port?

How to check whether there is a route between two hosts for a particular port (e.g. 1433).
0
votes
0answers
158 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 ...
6
votes
0answers
420 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 ...
1
vote
0answers
45 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 ...
0
votes
1answer
150 views

Mikrotik- a subnet route is ignored

I have the following schema: Site1 (Mikrotik) Static WAN IP - 192.168.28.11/28 dynamic connected route - 192.168.28.0/28 --> 192.168.28.1 (route1 for short) static connected route - ...
4
votes
5answers
4k views

How to delete a route on a specific interface? [closed]

When I start a VPN connection, a new default route is added on the utun0 interface: Destination Gateway Flags Refs Use Netif Expire default utun0 ...
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 ...
0
votes
2answers
74 views

Gateway can be pinged, but fail to add route with it

I want to use 10.1.16.189 as gateway to access 9.36.204.4 both on redhat 6.4. here is the network configuration of my machine: eth0 Link encap:Ethernet HWaddr 06:FB:C1:7B:19:FD ...
0
votes
0answers
103 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 ...
1
vote
2answers
373 views

NAT a single IP using 2nd WAN Internet

I have a mikrotik RB750 (6.22) acting as a gateway for my LAN. Here is the basic configuration: Ether1-WAN1 (1.1.1.10/24) IPs are hidden for privacy Ether2-WAN2 (2.2.2.20/24) Ether5-LAN ...
0
votes
0answers
60 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
2answers
73 views

Private Network Interface between to MacOSX servers

We would like to set up and private single cable connection between two Mavericks servers, that also need to talk to the rest-of-the-world. The two servers for sake of argument are DB and Web. There ...
0
votes
1answer
37 views

IP route not on default gateway

I am trying to setup a network that is only accessible if you go through the '10.222.3.1' switch. It is a test environment that we do not want interfering with our production environment. The trouble ...
1
vote
0answers
28 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 ...
0
votes
1answer
65 views

Public IP not responding because routing table…?

Fixed with: /etc/iproute2/rt_tables 1 tble_eth0 /etc/sysconfig/network-scripts/route-eth0 104.000.64.0/18 dev eth0 src 104.000.65.38 table tble_eth0 default via 104.000.64.1 dev eth0 src ...
0
votes
1answer
41 views

Why adding a route here is throwing up an error?

I have a linux Fedora -16 machine that has two interfaces - em1 Link encap:Ethernet HWaddr B8:CA:3A:89:EE:F1 inet addr:136.170.195.17 Bcast:136.170.195.255 Mask:255.255.252.0 ...