Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

-1
votes
0answers
24 views

Why server shows time out for 5 second then connecting in redhat linux

I have a DHCP server configured in Red Hat linux , there are two NIC Cards there , one connected to LAN and other connected to WAN , But i am losing internet for 5 second in one minute and this cycle ...
1
vote
1answer
30 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 ...
-1
votes
0answers
33 views

How to access internet from workstation via windows server 2008 R2 [closed]

i have server(windows server 2008 R2) with IP address of 192.168.1.140 and subnet mask of 255.255.255.0 and default gateway of 192.168.1.129 this server only have one nic and it's getting internet ...
0
votes
0answers
23 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
464 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
13 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
37 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
52 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
19 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
43 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
22 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
51 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
52 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
96 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
52 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
77 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
48 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
235 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
50 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
66 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
16 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
78 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
587 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
47 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
56 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
60 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 ...
1
vote
1answer
474 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 ...
3
votes
2answers
206 views

Making changes to default IPv6 route persistent in CentOS 7

I have several IPv6 addresses on a CentOS 7 server and need to make a specific v6 address the default address used in routing. I have been able to do this by modifying the route table. ip -6 route ...
0
votes
0answers
106 views

Ubuntu multiple gateways

I have an OVH dedicated server, with multiple virtual machines. I have a pfsense firewall, and an ubuntu machine behind the firewall. So I had a failover IP set using the firewall as the default ...
0
votes
0answers
60 views

Forward all connection to specific remote port to different host

I have the following setup: Local machine connected to intranet Proxy server connected to both intranet and internet through different interfaces Remote server I am forced to use an application on ...
0
votes
0answers
493 views

Transparent Proxy Issues w/ HAProxy Centos 7

Having issues following steps to transparent proxy outlined here: Howto transparent proxying and binding with HAProxy and ALOHA Load-Balancer | HAProxy Technologies – Aloha Load Balancer Believe to ...
0
votes
1answer
48 views

How to change subnet to login in OpenVPN client.conf?

I have an access to different subnets. How can I modify client.conf to login (or at least able to route) in another subnet? E.g. now I get IP address in 10.132.193.0/24 subnet, but I want to get IP in ...
0
votes
1answer
181 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 ...
3
votes
1answer
151 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
251 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
54 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 ...
0
votes
0answers
112 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
0answers
68 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
905 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 ...
0
votes
0answers
240 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 ...
4
votes
3answers
3k 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
1answer
88 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
105 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 ...
1
vote
1answer
79 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
149 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
108 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 ...
0
votes
1answer
55 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 ...
0
votes
0answers
142 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
302 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 ...
2
votes
0answers
710 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 ...