Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

1
vote
4answers
7k views

why tracert does not show the same gateway address as in ipconfig

I am confused by the following: C:\>ipconfig .... Connection-specific DNS Suffix . : some address here IP Address. . . . . . . . . . . . : 10.77.121.54 Subnet Mask . . . . ...
1
vote
1answer
30 views

Traceroute and BGP peering

Doing a traceroute for example: 1: 1ms 1ms 1ms 1.1.1.1 2: 2ms 2ms 2ms 2.2.2.2 3: 5ms 5ms 5ms 3.3.3.3 4: 9ms 9ms 9ms 4.4.4.4 My question is: If the AS number of 2.2.2.2 and 3.3.3.3 are not ...
1
vote
5answers
552 views

Different Routes For The Same DNS

I don't know the right term for this concept. But basically, I just want to reroute internal traffic to go directly to a server within the network instead of going around the internet. The domain have ...
1
vote
2answers
4k views

How to remove route with IP?

Used to ban some flood-bots with route add -host $ip reject But couple of 'good' IPs were banned as well. My question is stupid (but I've searched and found no good solution (all were large and/or ...
1
vote
2answers
10k views

Routing traffic to a specific NIC in Windows

I added a 10GB NIC to a SQL server which is connected over to a backend storage using ISCSI. I would like to force traffic going to a certain IP address/host to use the 10gb NIC, while all other ...
1
vote
2answers
3k views

Static route for entire octet or by host name?

I've added a few static routes, for the most part the following has worked fine: route add 123.123.123.123 mask 255.255.255.255 100.100.100.100 metric 10 -p However, one URL resolves to more that ...
1
vote
1answer
106 views

Routing based on the source ip

I'm trying to configure a host in a way that the traffic is routed either via eth0 or vlan123@eth0, depending on the source address used. Both interfaces have access to the whole network and both have ...
1
vote
2answers
2k views

Reroute IP Traffic to another IP?

Is it possible to reroute traffic from one IP/PORT to another in Server 2008? We host game servers, and I was tinkering with the idea of offering our clients an extra IP address, but reroute the ...
1
vote
5answers
7k 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?
1
vote
1answer
97 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 ...
1
vote
3answers
4k views

How to set which IP to use for a HTTP request?

This is probably a silly question. I'm doing some http requests using wget from the command line, and I want those connections to be made through one specific IP of the 4 IPs my server has. Those http ...
1
vote
1answer
414 views

Reset route table periodically with cron

Am trying to do some routing on a remote Linux server, every time something goes wrong i lose connection and i have to call the IT guy there and ask him to restart the network interfaces or sometimes ...
1
vote
2answers
2k views

no route to default gateway

I just lost about all my hair on this one: I got an ubuntu 12.04 machine on ip address 192.168.0.100, gateway 192.168.0.1 A router on 192.168.0.1, running a forwarding dns ping 192.168.0.1 - or ...
1
vote
3answers
226 views

How to configure second non-consecutive subnet on same interface?

I have some servers on the public network of my isp, say 192.168.2.0/24. Now my provider gives me additional ip addresses, but unfortunately not in a subsequent range of my first network, say 192.168....
1
vote
2answers
412 views

Can't route specific subnet thru VPN in ubuntu

I'm having issues routing traffic thru VPN. Here's my setup I have 3 hosts, let's call them A, B and Z B and Z have a VPN connection in the 10.10.10.x SUBNET A and B have a direct connection in the ...
1
vote
2answers
715 views

The ping response time doesn't reflect the real network response time

I encountered a weird problem that the response time returned by ping is almost fixed at 98ms. Either I ping the gateway, or I ping a local host or a internet host. The response time is always ...
1
vote
2answers
493 views

How do you find current internet network interface?

How do I find the network interface that's connected to the Internet? This machine could typically be connected via {eth0,eth1,usb0,wlan0}. The best I could think of is: sudo route | grep default | ...
1
vote
3answers
4k views

Force static route for IP on same subnet?

Any way to force the use of a defined host static route when the IP is on the same subnet and disregards the static route entry? For instance I have a host host: 192.168.1.2 with subnet 255.255.255.0 ...
1
vote
2answers
2k views

SciLinux6 (RHEL6) how to specify network setup and routing the redhat way?

I've got a SciLinux 6 box with 5 nic's in it. I'm not getting the network configuration I want (particularly the routing). While I can certain put a bunch of route statements at the end of rc.local, ...
1
vote
4answers
823 views

Is there a tool like 'route' in Linux to configure the forwarding entry (dst mac address --> interface)

I have a problem in configuring the forwarding table in Linux. We call IP tables for routing table in layer 3, MAC tables for forwarding table in layer 2. Now I want to add an entry in forwarding ...
1
vote
1answer
380 views

BSD route(8) MAN page bug

http://www.freebsd.org/cgi/man.cgi?query=route Route is a utility used to manually manipulate the network routing tables. It normally is not needed, as a system routing table management ...
1
vote
1answer
114 views

Allow Docker containers to use IPSEC VPN on host

I have Docker and an IPSEC VPN tunnel on my workstation, but the containers can't access hosts behind the VPN. Is there anything I can do, e.g. with IPTables or routes to allow access? [Note: I'm ...
1
vote
1answer
131 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 ...
1
vote
1answer
147 views

Routing between many systems, no first hop

I have a main router (10.20.0.1 (lan), 10.20.201.1 (vpn server)) connected to 5 other GW via VPN. Every gateway can ping every other one, and the PC behind them. One of my router, 10.20.6.1 (lan), 10....
1
vote
1answer
103 views

How can I access my router that is on other office network

Hi I'm working on ROUTER A and I want to access ROUTER C, the config is: ROUTER A <-conected with-> ROUTER B <-conected with-> ROUTER C ROUTER A: LAN:192.168.1.1 255.255.255.0 WAN:79.189.60....
1
vote
2answers
8k views

Stop local emails being sent to relay host with postfix

I've recently signed up to SMTP2GO (smtpcorp). I've setup postfix on one of EC2 servers and have pointed it to my smtp2go account: relayhost = [smtpcorp.com]:2525 Now all my mail is being routed ...
1
vote
1answer
352 views

IPTables Reroute SSH based on Connection string?

We are using a cloud server (Debian Squeeze) where public ports on a public IP route traffic to internal servers. We are looking for a way to use IPTables and ssh where based on some part of the ssh ...
1
vote
3answers
12k views

How to reach a device on a different subnet?

I have what may seem to be a basic question about routing, but I ask it because I am not sure where to start. I have a simple network setup: Client1, Win7, 192.168.0.50, default gateway is set as ...
1
vote
2answers
51 views

Are there any Route Server for Windows Server

Are there any router servers, like zebra, for Windows Server?
1
vote
2answers
2k views

Linux ip route matching the source ip

I would like to know if it's possible to tell a Linux kernel to route all packets destinated to X via interface/ip Y but only in case the source IP address would be a specific one. Any idea if this ...
1
vote
2answers
1k views

arp failing after heartbeat failover occurs

I have an LVS based load balancer which has been working just fine. It runs on two servers using heartbeat to provide failover. I've added support for a second IP range to the system, but when the ...
1
vote
1answer
445 views

Creating Routes using the second NIC in the box

OS: Linux I need some advice on how to set up the routing table. I have a box with two physical NIC cards eth0 & eth1 with two associated IPs IP1 & IP2 (both of the same subnet). I need to ...
1
vote
3answers
139 views

Routing / binding 128 IPs to one server

I have a Ubuntu server with 128 ip's (static external ips 86.xx.xx.16), and I want to crawl pages thru different ip's. The gateway is xx.xxx.xxx.1, the main ip is xx.xxx.xxx.16, and the other 128 ip's ...
1
vote
2answers
3k views

Route specific HTTP requests through pfSense OpenVPN

to start, I have very little knowledge on routes, iptables, etc. That said, here's what I'm trying to accomplish and where I think I'm stumped: Problem: We have an external website which we recently ...
1
vote
2answers
2k views

Routing data through VPN in linux

I think its a silly question but still here it goes.. Terminal Output: eth0 Link encap:Ethernet HWaddr 00:1c:c0:37:5e:25 inet addr:10.100.98.51 Bcast:10.100.98.255 Mask:255.255....
1
vote
1answer
51 views

How can I access to devices on remote LAN

Here is a quick diagram of what i'm trying to configure I have multiple clients connecting to my VPN Server (from 10.0.1.2 to 10.0.25.2). Each LAN behind the clients are always the same : 192.168....
1
vote
1answer
27 views

How to find my VPN gateway?

I'm not a network engineer but I'm trying to configure my linux machine to have internet access while being connected to my VPN. My current idea to solve this is to connect to my VPN while ...
1
vote
2answers
86 views

Ubuntu: Persisting IP Route Change on Reboot

The following command at the terminal gives me the networking changes I need: ip route change default via 10.255.255.1 dev eth0 src 82.82.82.82 To persist this on reboot I add the following to /etc/...
1
vote
2answers
4k 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 ...
1
vote
1answer
1k 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
vote
1answer
72 views

routed network, subnetwork clients has broken tcp connection

I manage a linux server which works also as a router, and route between following networks: PPPoE (to connect to ISP) (default gw) wired network 2x VPN networks (PPTP and openVPN) wireless AP (DHCP) ...
1
vote
3answers
9k views

Adding static route through group policy

We are trying to add a static route across all of our end user machines, we have setup a GPO object under Computer configuration > Policies > Windows Settings > Scripts (startup/shutdown) > Startup. ...
1
vote
1answer
1k views

Some clients on a VPN network are not reachable

The problem of this model is that some (only some) clients cannot be reached. See the link below for more information about the model which is being described in the upcoming section. Problem ...
1
vote
1answer
4k views

How can I ping through different interfaces (subnets) without using a router device?

I have a big problem around this issue. I want to be able to ping and access TFTP through my WIFI interface (wlan0) through my wired interface (eth0) pc1_eth->LTdhcps2_eth0->LTdhcps2_wlan0->pc2_wlan ...
1
vote
2answers
953 views

How to make incoming and outgoing IP same on a multiple IP binding server

I have a centos 6 VPS configured 1 network interface binding with 4 IPs, for example 172.x.x.11, 172.x.x.12, 172.x.x.13, 172.x.x.14 binding with venet0:0, venet0:1, venet0:2, venet0:3. I have pptpd ...
1
vote
1answer
91 views

How to centrally manage routing info?

I'm trying to build a VPN setup, where there are several Road-Warriors (various OSes) want to communicate to internal network behind a VPN gateway. The key facts are these: Internal network is 10....
1
vote
1answer
261 views

Checkpoint - Wifi Bridge mode kills round trip requests?

I'm fairly sure this is either a NAT or routing question, but it's one that continually has me stumped. The hardware is a Checkpoint Safe@Office firewall. The default mode of operation is that wired ...
1
vote
2answers
2k views

route packets through hardware loopback interface, not lo

My embedded Linux board has 3 interfaces: eth0 - For all outbound traffic eth1 - A hardware loopback (traffic leaves board, but comes immediately back in the same port) lo - Standard loopback ...
1
vote
1answer
296 views

route add in rhel with src option

I'm struggling to understand how to add the route options to my routes file in rhel. Let's say I have the route: ip route: 192.168.89.0/24 via 192.53.28.193 dev eth0 src 192.53.28.216 How can I ...
1
vote
1answer
380 views

Iptables -gw parameter

I want to copy tcp traffic. i want to use these commands " iptables -A PREROUTING -t mangle -p tcp --dport 7 -j ROUTE --gw 1.2.3.4 --tee iptables -A POSTROUTING -t mangle -p tcp --sport 7 -j ROUTE ...