Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

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 (...
2
votes
1answer
1k 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 ...
5
votes
3answers
5k 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 ...
-2
votes
1answer
363 views

How can I filter traffic using a layer 3 switch?

I have a layer 3 switch which needs to route traffic to 2 different networks which don't see each other. What would be the simplest and most efficient way to do this? And is there any straight ...
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 ------------------...
3
votes
1answer
26 views

How can I permanently remove a line in route with Debian-based distributions?

Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.1.1 0.0.0.0 UG 202 0 0 eth0 default ...
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' ...
1
vote
1answer
3k views

Missing iptables rules for Strongswan routing for VPN for phone

I have a Centos 6.6 VPS out on the Internet that has a public IP. I have installed StrongSwan 5.1.3 to allow my BlackBerry10 phone to connect from hotspots and use the VPS' connection. The VPS' IP ...
0
votes
4answers
127 views

How do I find out linux gateway IP address?

I have CentOS 6.7 with two Internet connections eth0 - dynamic IP address and dynamic gateway via DHCP (controlled by NetworkManager) ppp0 - dynamic IP address and dynamic gateway (configured with ...
2
votes
1answer
80 views

How to exclude lan from routing

server1 - eth0 - 192.168.1.212 (192.168.1.0/24) - eth1 - 192.168.5.1 (192.168.5.0/24) --> router2 --> DSL server2 - eth0 - 192.168.1.223 (192.168.1.0/24) - eth1 - 192.168.123.223 (192....
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 ...
0
votes
1answer
3k views

openvpn: after changing to server mode, client does not create TUN device

I had a previously working configuration with the config files used in a previous question However, I've changed this now to the following configuration using server mode, everything on the logs seem ...
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 ...
0
votes
1answer
44 views

Traffic is routed via unknown means

I have 2 machines running CentOS: Machine A has two NICs: 192.168.150.1/255.255.255.0 and 192.168.1.1/255.255.255.0 Machine B has one NIC: 192.168.150.2/255.255.255.0 Machine B is connected ...
0
votes
0answers
17 views

How do I manually add IP to my routing? [migrated]

I need to add an IP to my routing. I'm connected to a lab with Openvpn. My routing looks like this now; Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 ...
1
vote
1answer
1k views

RTNETLINK answers: File exists — OpenVPN errors

I have a bunch of servers that connect to the world through a "gateway" server that uses a NAT to redirect to the internet. I am trying to connect the gateway server to a VPN client through an ...
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 (...
1
vote
1answer
1k views

Multiple interfaces: route packets to specific interface

I have 2 internet connections on my network. My router is running Debian. eth0 is my network (192.168.0.0/16). eth1 and eth2 are connected to 2 different internet providers (with dynamic IP). Here is ...
1
vote
1answer
13 views

Accessing internally stored documents via hyperlinks in Websites on a DMZ server

We have a vendor-provided application running internally (LAN) on a Windows/MS-SQL 2012 server, providing access via IIS on the same box. The application is able to store attached documents - these ...
1
vote
1answer
138 views

add new route linux

I need to add a new route 10.10.10.0 and now I have this: # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 xx.xxx.xxx....
4
votes
3answers
2k views

How access remote network with OpenVPN?

I am currently trying to configure OpenVPN to access our company network remotely. I was able to establish a connection and ping the server at the configured address (10.8.0.1), but I was not able to ...
2
votes
1answer
220 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 ...
0
votes
1answer
33 views

Nat or Static Route in pfsense

I installed PFsense on VMware with two interfaces. 1.WAN -> 192.168.1.110 ->Bridge Getaway->192.168.1.1=>Modem IP 2.LAN -> 10.1.1.1 ->LAN Segment how config Nat and ...
0
votes
1answer
64 views

Multiple Gateways for Single Subnet

Right, this might be a long one, so bare with me... I have 2 machines, lets call them local1 and cloud1. local1 has 3 Nics: 2 connected directly to cable modems with public IPS (call them eth0 and ...
1
vote
2answers
52 views

Are there any Route Server for Windows Server

Are there any router servers, like zebra, for Windows Server?
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 ...
1
vote
1answer
39 views

Linux adding a bad route on startup?

I've got several Linux (Debian Wheezy) machines that have a peculiar problem. After booting them up, an extra route is created that has to be deleted before the machine can talk to other machines on ...
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
1answer
57 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
192 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 ...
3
votes
1answer
1k 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 ...
1
vote
3answers
10k 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. ...
0
votes
1answer
23 views

Routing traffic coming from specific IP to go through specific gateway

This is my problem. I have a server with 2 nic cards A and B A (10.x.x.1) Default Gateway (10.x.x.254) B (192.x.x.1) Default Gateway (empty) NIC A all outbound traffic goes out through it. NIC B ...
4
votes
1answer
22k views

How can I permanently remove/delete a line in route with CentOS 6

root@new [~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 178.18.23.200 0.0.0.0 255.255.255.255 UH 0 0 0 ...
2
votes
1answer
84 views

Can not add static route in my Ubuntu, SIOCADDRT: Network is unreachable

I'm trying to add a static route in my VPS to a client that is on the other side of the VPN tunnel to my VPS and forwards it's traffic through the tunnel. This is the setup of my destination that I'm ...
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
1answer
43 views

How do I set Ubuntu server to two static IP addresses and proper routing with two interfaces

I'm trying to set up the routing table on Ubuntu 12.04. The network environment is as follows: server -----eth0 192.168.0.1 (DMZ)---LAN----10.13.x.x Because the communication between 192.168.0.1 ...
1
vote
1answer
33 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 ...
0
votes
2answers
4k views

.bat file to automatically connect to VPN and add a route in Windows 7

I can establish VPN connection using RASDIAL command. But how do I add a route to 192.168.254.0/24 automatically after VPN is connected? Each time after VPN connection is established, Windows could ...
1
vote
4answers
7k 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 ...
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 ...
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 ...
1
vote
2answers
92 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
1answer
102 views

Cannot ping through one of the network interfaces

Setup ubuntu linux VM ( virtual-box) is configured with two interfaces, eth0 and eth1. eth0 is on a bridged network and directly connected to external network. eth1 is on "nat network", which is ...
-1
votes
3answers
30 views

route entries are getting updated on reboot

I have 2 NIC on server one is for internal communication with 10.10.10.X IP and other is 172.X.X.X IP for external communication. I have route table like this [root@hadoopslave1 ~]# route Kernel IP ...
0
votes
1answer
73 views

Can't ping server over VPN, from behind other VPN

My local server is set up as both an OpenVPN server and client. Its client connects to another remote OpenVPN server (which I also administer). Both servers run Ubuntu Linux. I then connect my laptop ...
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 ...
3
votes
1answer
34k views

Unable to add a static route: SIOADDRT: Network is unreachable

I've been bashing my head against a wall for a few days trying to figure this out: My ifconfig is: eth0 Link encap:Ethernet HWaddr 00:50:56:BB:XX:XX inet addr:192.168.36.132 Bcast:...
-2
votes
2answers
192 views

Network configuration [closed]

please see the network map: I want to connect to network3 from network1 but I want to connect by network2! I have a PC which has Ubuntu 11.04 and it can connect to network3 by network2. I have a ...
1
vote
1answer
32 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 ...