Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

0
votes
1answer
17 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
0answers
21 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 ...
0
votes
0answers
12 views

Route to Internet router from different subnet [closed]

I ran into a situation where my network is setup like the following: my network In this image my Computer A is connected with WiFi DSL router which is connected to the Internet. Computer A and B are ...
0
votes
1answer
58 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
votes
0answers
24 views

How does this IPV6 route work?

I'm currently learning IPV6 and it seems that it's not only that the addresses get longer ;-) I have a quick question: When I do a netstat -r on a BSD router that I have here (which is IPV6 enabled) I ...
1
vote
1answer
32 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
votes
0answers
48 views

Network Unreachable when configuring static route

root@vpn:~# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface ..... 10.0.0.0 10.0.0.1 255.0.0.0 UG 0 0 0 ...
0
votes
4answers
103 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 ...
1
vote
0answers
41 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: ...
1
vote
1answer
50 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 : ...
1
vote
1answer
86 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 ...
0
votes
1answer
19 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 ...
2
votes
1answer
56 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
27 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
34 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
26 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 ...
2
votes
0answers
47 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
1answer
55 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 ...
0
votes
1answer
55 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 ...
-1
votes
3answers
29 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
0answers
20 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 ...
1
vote
1answer
26 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 ...
0
votes
1answer
22 views

Is there a way could keep related route not deleted when interface is down?

I have a specific route(in a policy route table) via a pppoe interface: ppp1 Link encap:Point-to-Point Protocol inet addr:61.48.180.187 P-t-P:61.48.180.1 Mask:255.255.255.255 ...
1
vote
0answers
29 views

IP Aliassing - Multiple Public IP Address [closed]

I have a problem with IP Aliassing. I want that all IP addresses have ism traffic but it does not work except to redirect eth0 with iptables DNAT and SNAT which is ineffective. auto lo iface lo inet ...
0
votes
0answers
41 views

Adding a route to VPN network in server LAN, Windows machine

I set up an OpenVPN server in my LAN in routed mode (1 network card) and I want to connect to MyLaptop from the internet. To do so, I enabled IP forwarding on the VPN server, and added a route on ...
1
vote
2answers
81 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 ...
0
votes
0answers
37 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 ...
5
votes
3answers
482 views

How do VPN servers/clients avoid routing their own remote connection packets through themself?

I am trying to conceptualise how networking works under the hood for linux VPNs which use TUN interfaces. My current best guess is as follows (please correct me): Connection established to remote ...
0
votes
1answer
25 views

how to disable ethernet interface eth5 permanently and how my added routes in rc.local file is unset when i reboot machine

actually my machine having 3 interface cards eth0 eth4 eth5 where eth0--local ip and eth4--wan Ip1 and eth5--wan ip5 but i want to disable permanent eth5 and i have added some routes in rc,local file ...
-2
votes
2answers
68 views

How to route mail server from both internet and intranet? [duplicate]

We have a mail server configured in Ubuntu 12.04 with postfix, dovecot and roundcube. It has two interfaces, one with real IP and one with private LAN IP. Incase of intranet we have branches and head ...
1
vote
1answer
76 views

Routed traffic away from VPN has no internet (Fedora)

I'm very new to linux routing and such as a preface. I have a plex server set up on Fedora 22. I've recently started using a VPN service connected via OpenVPN. Everything works great via VPN on my ...
0
votes
0answers
24 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 ...
2
votes
1answer
107 views

Can route-eth0 be created via CentOS 7 Anaconda installer?

I'm using the CentOS 7 Anaconda installer. I want the file /etc/sysconfig/network-scripts/route-eth0 to be created, if possible, by this installer. The file route-eth0 should have the contents after ...
1
vote
1answer
28 views

Adding multiple static routes for the same host to different gateways

I have 2 openvpn clients connected to 2 different servers, on tun0 and tun1 devices. I need to add 2 static routes, for the same host IP, and map them to 2 different gateways and tun devices. I've ...
2
votes
0answers
147 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
73 views

KVM guest cannot connect to host, but works vice versa

I have debian 7 on my host machine and I run a KVM vm on it. My hosts network configuration is this (the relevant parts): br0 Link encap:Ethernet HWaddr 68:b5:99:ae:8f:11 inet ...
0
votes
2answers
124 views

How to add persistent route for 2 VPN connections when interface # varies?

I need to configure split tunnelling with persistent routes for 2 VPN connections on the same computer as the user needs to connect to 2 different corporate servers at the same time. I have a problem ...
0
votes
1answer
124 views

How to set route table priority on OS X

Is it possible to set route table priority or metric? On Ubuntu I can run following commands to achieve what I want, but I can't find alternative for OS X sudo ip rule add from all lookup ...
0
votes
0answers
175 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
1answer
69 views

OpenVPN can' reach client Lan

I have a question about OpenVPN, I had made a "dev tun" connection between my office network and a VPC on Amazon.But.... in few words: Everething work, except: i c'ant ping the client Lan from the ...
0
votes
0answers
2k 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 ...
-1
votes
1answer
62 views

Static routing is redirecting

I have one PC with 192.168.x.135 as IP and 192.168.x.33 as gateway; and a Windows Server 2008 with the IP 192.168.x.33. Now I want to route all packages with the destination 14.x.x.x to 127.x.x.x. So ...
0
votes
2answers
92 views

SSH'ing from a different subnet. The router does not seem to route correctly

An EDIT was made at the bottom I have a macbook on 192.168.12.x subnet, and a debian machine with apache2 server with ssh enabled sitting on 192.168.1.x subnet. The debian machine has a static IP ...
0
votes
0answers
24 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
1answer
87 views

multiple tuntap VPN traffic selection

I have a php / bash application on top of a linux machine (centos or debian but assume redhat just in case the reply need different dialect) connecting to port 80. Actually I'm perfectly able to open ...
1
vote
4answers
676 views

Why am I getting different results from two servers that located in the same destination network?

There's two servers with the same network IP, and the only difference between them is the last two numbers like: 37.211.15.247 and 37.211.166.178. The Hosting Provider claims that the subnet mask for ...
-3
votes
1answer
55 views

how to verify if target host is linux/solaris or switch/router/else [closed]

I have hosts file in my master linux machine and this host file include more then 1000 IP address that defined many components as Linux and solaris machine and switches and routers and EMC port and so ...
0
votes
1answer
63 views

How do I delete route to “link#8” gateway on MacOS?

How do I delete default route of "link#8" gateway on MacOS El Capitan? It's a route automaticaly added after connecting to IPSec VPN. $ netstat -rn Routing tables Internet: Destination ...
2
votes
1answer
79 views

openvpn connection without forwarding all traffic

I am trying to connect a client to a vpn network without openvpn forwarding all my traffic into the network. The point being is I want to be able to connect and communicate with all the other ...