Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

0
votes
1answer
24 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
31 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 ...
2
votes
0answers
28 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
38 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
38 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
28 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
21 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
84 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
56 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 ...
1
vote
2answers
394 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
41 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
54 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 ...
0
votes
0answers
79 views

Route postfix through different ISP/Gateway

Our network has 2 different gateways/ISPs, one with a dynamic IP used mostly for web traffic and SQUID and another with a dedicated connection and a static IP to handle VOIP and email. The network ...
1
vote
1answer
22 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
62 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
65 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
44 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
65 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
138 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 ...
0
votes
0answers
250 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 ...
0
votes
2answers
23 views

Make some route info persistent on RHEL

I would like to make the following route info persistent. I know how to do it for the default, but how about this line: 10.27.74.0 * 255.255.255.0 U 0 0 0 eth0 ...
0
votes
0answers
13 views

server farm configuration for redirect and reroute [duplicate]

I have a windows server 2012 at home and I want to redirect specific requests to different machines in my network. How can I configure, for example, all requests for www.sample01.com to go to ...
1
vote
2answers
908 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 ...
0
votes
0answers
164 views

ClearOS route configuration not working. How to setup route-eth0 properly?

I am running a ProxMox Server with ClearOS as a VM. I have the following requirements: extIP 1.1.1.1 gateway 2.2.2.2 I can not get clearos to automatically add the required routes. Here is what my ...
1
vote
0answers
45 views

Clone and then route SNMP traps to new destination

We have 2 SNMP trap servers 10.0.0.1 and 10.0.0.2 which are the SNMP trap servers for close to 500 devices that we monitor.In all these 500 devices,10.0.0.1 and 10.0.0.2 are configured as the trap ...
0
votes
1answer
155 views

Mikrotik- a subnet route is ignored

I have the following schema: Site1 (Mikrotik) Static WAN IP - 192.168.28.11/28 dynamic connected route - 192.168.28.0/28 --> 192.168.28.1 (route1 for short) static connected route - ...
0
votes
2answers
76 views

Gateway can be pinged, but fail to add route with it

I want to use 10.1.16.189 as gateway to access 9.36.204.4 both on redhat 6.4. here is the network configuration of my machine: eth0 Link encap:Ethernet HWaddr 06:FB:C1:7B:19:FD ...
0
votes
0answers
317 views

How to define route on all IP addresses except some subnet

I need to set up the following rules: If IP is in range 192.168.0.0-192.168.0.255 then route iut from gateway 1 (let's say 192.168.2.1) otherwise for all other IP addresses route it through default ...
1
vote
2answers
387 views

NAT a single IP using 2nd WAN Internet

I have a mikrotik RB750 (6.22) acting as a gateway for my LAN. Here is the basic configuration: Ether1-WAN1 (1.1.1.10/24) IPs are hidden for privacy Ether2-WAN2 (2.2.2.20/24) Ether5-LAN ...
0
votes
0answers
63 views

How to terminate any ip/ip tunnel which has this host as destination

I am in a situation where I want to terminate any tunnels at one device. I.e. I want to be able to create a tunnel to this device from any source ip adress. Something which can inspect a packet, see ...
0
votes
2answers
75 views

Private Network Interface between to MacOSX servers

We would like to set up and private single cable connection between two Mavericks servers, that also need to talk to the rest-of-the-world. The two servers for sake of argument are DB and Web. There ...
0
votes
1answer
37 views

IP route not on default gateway

I am trying to setup a network that is only accessible if you go through the '10.222.3.1' switch. It is a test environment that we do not want interfering with our production environment. The trouble ...
1
vote
0answers
28 views

How can I proxy requests to a specific IP to a different IP on OS X?

On OS X how can I setup a route so that when I make a request to 10.0.0.1 it is redirected to localhost? Right now I can do curl localhost:3000 and get back a blob of HTML from my running node web ...
0
votes
1answer
42 views

Why adding a route here is throwing up an error?

I have a linux Fedora -16 machine that has two interfaces - em1 Link encap:Ethernet HWaddr B8:CA:3A:89:EE:F1 inet addr:136.170.195.17 Bcast:136.170.195.255 Mask:255.255.252.0 ...
0
votes
1answer
65 views

Public IP not responding because routing table…?

Fixed with: /etc/iproute2/rt_tables 1 tble_eth0 /etc/sysconfig/network-scripts/route-eth0 104.000.64.0/18 dev eth0 src 104.000.65.38 table tble_eth0 default via 104.000.64.1 dev eth0 src ...
4
votes
2answers
519 views

Routing selection: specificity vs metric

I understand that Linux chooses the most specific route to the destination when it does routing selection. But what about a route's metric? Does it have a higher priority than route's specificity? A ...
0
votes
0answers
715 views

Openvpn Packet loss troubles

Hy! I got an Openvpn server on Linux and use it to route all ipv4 traffic from my clients (win7,android, pfsense etc). I finally want to really understand the routing thing, although it works, but ...
2
votes
2answers
703 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 ...
-1
votes
1answer
85 views

force use of specific ip when talking to specific host

I have a server with multiple interface alias running debian. lets say eth0 eth0:0 and eth0:1 I'm looking for a simple solution, when connecting to host 1.2.3.4 (or host range, would be better) that ...
-1
votes
1answer
207 views

Can 192.168.20.4/24 describe a network or only a host? [duplicate]

As I understand it IP 192.168.20.4/24 can only describe a host (24) on net 192.168.20.[1-254]. Now when describing a net; can 192.168.20.4/24 be a valid network ID, or should such a network ID always ...
0
votes
1answer
67 views

Understanding aws ec2 default routes in [closed]

After launching a new EC2 instance on AWS, I get the following routes. The LAN subnet is 10.0.0.0/24. $ sudo route -n Kernel IP routing table Destination Gateway Genmask Flags ...
1
vote
2answers
172 views

How does Linux pick which network interface to use?

Let's say I have a machine with two network adapters on different subnets, eth0 (10.0.100.5) and eth1 (10.0.200.5). Assuming both subnets have routes to the internet (though their own NATs) and to the ...
0
votes
0answers
718 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
1answer
122 views

OpenVpn & KVM: can't access LAN behind server

i just set up an OpenVPN Server on a rented root Server. I can ping the OpenVPN Server IP, but can't connect or ping to other Machines (VMs) on the OpenVPN Server Network. According to the official ...
0
votes
1answer
344 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
votes
1answer
617 views

Can't set up the default route from a sublan to the WAN [closed]

I am trying to connect one of my PCs to the Internet via a WiFi network using a notebook. Here is my network : (Wifi) <=============> (Notebook) <===============> (Desktop) ...
0
votes
0answers
120 views

2 default gateway entries in routing table after connecting Openvpn

It is a ubuntu 14 server running, with 1 physical NIC eth0 connecting to the Internet. There is then a Openvpn client run on it as tun0. All the traffic go via tun0 with the routing table as below. ...
0
votes
0answers
234 views

Access internal network via VPN

I'm quite the newbie when it comes to network admin, so please excuse my ignorance! I have what seems to be a fairly simple-to-solve problem (so I hope!) Inside my company, we run a Synology Server ...
0
votes
1answer
72 views

Need help interpreting route output

GUEST CentOS VM (VirtualBox): [root@localhost network-scripts]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default ...
0
votes
1answer
270 views

OpenVPN config for route some traffic through VPN CentOS 6

My server is using CentOS 6.4 64 bit and have 2 network adapter. 1st adapter have an internet ip: 192.241.190.x 2rd adapter is an LAN network with ip: 10.60.5.62 I installed openvpn and config for ...