Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

0
votes
0answers
52 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 ...
1
vote
3answers
8k views

Centos multiple NICs routing issue

I am having trouble setting up permenant routes for my network interfaces, below my config : ETH0 : 172.23.137.27 Netmask /25 - 255.255.255.128 Gateway – 192.168.126.126 ETH1 : Trunk VLAN - ...
0
votes
1answer
61 views

uk vps server route to thailand? [closed]

I'm just a Javascript developer using node.js... My host has got me a vps sever in england. I have had someone test my site loading in england and it is lightning fast. I've also had someone test in ...
0
votes
2answers
954 views

Accept incoming connection from a second gateway

I searched a lot about the question, but can't find solution for my situation. We've got a Windows 2003 server that runs Advantage Database Server (ADS) through which our site connects to our ...
2
votes
1answer
192 views

How to View the IP routing table

How can I see ip routes I've added with ip route add default via x.x.x.55 table test1 for example I added 199 test1 and 198 test2 and 197 test3 to /etc/iproute2/rt_tables then I run: ip route add ...
3
votes
1answer
4k views

OPENVPN route all traffic - Synology

I have a synology NAS that is my OPENVPN server. I am always on the road and I want to route all of my traffic through my house. Here is my config and my log. config file dev tun tls-client ...
0
votes
1answer
866 views

Routing traffic through a virtual machine [closed]

I have OpenWRT running in a virtual machine. It's network adapter is bridged to the host. Host ifconfig root@michael-VirtualBox:/home/michael/Scripts/python# ifconfig eth0 Link encap:Ethernet ...
0
votes
3answers
359 views

CentOS masqueraded network with iptables clients not connecting: Unable to ping

I'm a novice sysadmin working on a system with a CentOS server masquerading traffic with client machines also running CentOS. Something with the tables got messed up and my clients no longer have ...
1
vote
1answer
71 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
1answer
144 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), ...
0
votes
1answer
483 views

Route from Cisco ASA over site to site VPN

I want to be able to push f/w logging traffic to a server at a remote site. This server is accepting syslog traffic on port 514. In the ASA I've configured it to use this server as a syslog server. ...
-3
votes
1answer
909 views

Why is Windows 7 not following all routes? [closed]

My computer is connected to my secondary router that's running the 192.168.42.0/24 network and my computer also has a route that directs anything on that network to the router, but for anything on ...
0
votes
0answers
283 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
2answers
582 views

Separated virtual networks with same subnet range with 2 interface

I'm having some problems with routing with the following: I have a server with 2 interfaces. It has 1-1 alias contains the same subnet. the 2 interface is connected to 2 switch, which are separated ...
0
votes
0answers
471 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 ...
1
vote
2answers
9k 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 ...
0
votes
3answers
3k views

OpenVPN - Client traffic is not entirely routed through VPN

I installed OpenVPN on my dedicated server. Using Viscosity or Tunnelblick on the client, I successfully connected to this server. However, after some tests, I realized that not all the traffic ...
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 ...
0
votes
1answer
283 views

route for Wan To Lan

I working on Netgear Prosafe FVS336GV2 My wan interface is on 192.168.1.0 My Lan interface is on 192.168.100.0 Of course my lan access to my wan But I want to add a route to access to my lan from my ...
0
votes
1answer
129 views

NAT one network to another using iptables

Trying to NAT ips in different network using iptables. KVM host with ip 10.10.11.36 on bridge br0. Two vms are running with ip 192.168.11.60 and 192.168.11.57 sharing bridge br0. Want to NAT all ...
-1
votes
1answer
350 views

Enable route between subnet

I have a Centos server with three NIC cards. ETH0 Public IP xx.xx.xx.xx1/xx.xx.xx.xx2 (with two public IP) EHT1 Local Subnet 192.168.80.0 (DHCP server listening on this interface) ETH2 Local ...
3
votes
3answers
2k views

Multiples ip address on interface. I want to specify one of them for output

I ran curl on curlmyip.com, and I got the wrong output ip address. My systemd service file is: [Unit] Description=Wired Networking Wants=network.target dibbler-client.service Before=network.target ...
0
votes
1answer
48 views

Bizzare routing: EITHER accepts emails OR sends depending if NetworkManager is running

Due to an otherwise unrelated hardware failure (long story) I've been forced to return an older Fedora Core system into service as a mail server. It's primary service is as a file server and Samba ...
2
votes
3answers
34k views

OpenVPN client on Windows 7 - cannot add route from config script

Hi I am connecting from my Windows 7 laptop to an openvpn server and I am unable to automatically add a route. In my script I have the line: route-up "route add 192.168.33.0 mask 255.255.255.0 ...
4
votes
3answers
31k views

Windows 7: Route single IP over different interface (wlan)

I am connected via Ethernet (10.1.1.1, interface 11) as well as via Wireless LAN (172.22.12.1, interface 12). I trying to route just a certain host (140.239.191.10 - which is whatismyipaddress.com for ...
1
vote
5answers
38k views

solaris 10 route add on specific interface

I have 2 interfaces on Solaris box # ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 hme0: ...
-1
votes
1answer
270 views

Centos 6.4 2 NIC same gateway

I'm having a problem with my centos server setup, i have 2 public nic and they have the ip from 209.59.252.0/24, with the same gateway. The problem is that only eth0 works, the other one doesn't. They ...
0
votes
4answers
493 views

Unable to change default route-Rhel 5.9

am trying to change default to route to eth2 my present rout -n o/p-- Destination Gateway Genmask Flags Metric Ref Use Iface 10.235.4.0 * 255.255.255.0 U ...
0
votes
2answers
2k views

Cisco: Route Outbound SMTP Traffic on Same IP as Inbound

Have a few servers setup behind an ASA 5505, all is well, except for the fact that the ASA only sends the correct smtp outbound IP for the mail server domain itself. Any other domain that sends ...
0
votes
1answer
649 views

Fresh CentOs Install - No Network Connectivity (Route Table Empty)

I have just installed a fresh copy of CentOs 6.4 on a dedicated server. I'm new to linux and trying to learn it. The dedicated server has no network connectivity (I can't ping any hostnames or IP ...
6
votes
1answer
13k views

Change default route to DHCP interface without a route push?

How can I change the default route to utilize eth1 (DHCP), instead of eth0 (static)? I want this to be a permanent solution persistent through reboots. Kernel IP routing table Destination Gateway ...
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 ...
0
votes
1answer
375 views

Specifying source IP address for a host route

I am using Ubuntu 12.04. I assigned two IP addresses to the ethernet card by editing /etc/network/interfaces. It now looks like that (skipping lines not related to the question). auto eth0 iface eth0 ...
3
votes
2answers
176 views

How to add vpn subnet to a private local subnet (both in different subnet address)?

I set up a xl2tpd vpn server on a router, and assigned the ip range from 192.168.191.2 to 192.168.191.244, and there's local network behind the router's lan side with a 192.168.1.0/24 ip range, so I ...
0
votes
1answer
259 views

Packets not going through Linux Gateway

Host: centos6 with ip 10.10.11.36 and gateway 10.10.11.33 Guest two vms with ip 10.10.11.60 and 10.10.11.57 and gateway of that of host ie 10.10.11.36 On host packet forwarding is enabled. from ...
4
votes
2answers
3k views

What is the difference between “route” and “ip route”?

I tried to understand the networking tools on linux. I am confused now about what should I use to manipulate the static routing: "route" or "ip route"?: route - show / manipulate the IP routing table ...
0
votes
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 ...
0
votes
2answers
587 views

Linux route command. Two gatways on the same subnet range

I have a Linux box with two interfaces. eth0 has ip 192.168.71.82/255.255.252.0 eth1 has ip 192.168.4.2/255.255.255.0 I need all traffic for subnets 192.168.4.0/24 192.168.3.0/24 192.168.2.0/24 to ...
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 ...
0
votes
2answers
625 views

With split openvpn network, unable to connect to remote server via vpn

I am running ubuntu 12.04 and only want the vpn for specific applications that can bind to vpn port(address). If I connect to the VPN with all the traffic routed through the VPN port everything works ...
0
votes
1answer
119 views

change route to website - Gateway timeout [closed]

My website has to connect to a web service, but sometimes it is receiving a Gateway Timeout, sometimes it works allright. I'm guessing the route it's going on is wrong. Right now, the traceroute is ...
1
vote
2answers
897 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 ...
0
votes
1answer
410 views

persist route when gateway is from another subnet

When I want to create route when gateway is from another subnet I have to execute two commands: route add -host 10.10.100.17 eth0 for adding gateway, and: route add -net 10.210.0.0/16 gw ...
0
votes
1answer
553 views

IPSec VPN routing

This is supposed to be a pretty simple question but I couldn't google a answer for it! I have a ipsec VPN tunnel established between 1.1.1.1 and 2.2.2.2 (public IPs). The first machine (1.1.1.1) has ...
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 ...
0
votes
1answer
3k views

Increasing the metric of default route in CentOS with DHCP

I am setting up a server (VM to be precise) that runs CentOS 6.4. I have an eth0 adapter on the CentOS machine that has connection to the Internet (through a bridged network on the host). The eth0 ...
1
vote
1answer
540 views

openvpn (tun0 + bridge) : Comunication bridge --> tun0 works but not the opposite direction

My network is composed as follows: Host A with ip 9.x.x.x and vpn ip 192.15.206.x (openvpn client) Host B with ip 9.x.x.x and vpn ip 192.15.206.1 (openvpn server) this host has a bridge br0 with ip ...
0
votes
2answers
375 views

OpenVPN Allow Servers to talk to VPN Clients

I have setup a VPC in Amazon with 2 subnets. The public subnet has a ip range of 10.0.0.XXX and a private subnet with a ip range of 10.0.1.XXX my OpenVPN sits on 10.0.0.100 and hands out ip from the ...
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 ...
0
votes
1answer
565 views

Using iptables to forward traffic to a single IP address

The setup: Debian; acting as the network's router using iptables, fail2ban Because of external requirements, both networks are 192.168.1.x. eth0: 192.168.1.1 eth1: 192.168.1.2 Ubuntu (192.168.1.3) ...