Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

0
votes
0answers
27 views

Why are my packet routed that way?

At first all my packets (http & icmp) are routed correctly from localhost to the machine: DEST_HOST within DEST_NET But after a while I could not reach anymore the destination ip. Starting state: ...
0
votes
1answer
28 views

forwarding ping using ip route [on hold]

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
31 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
34 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
11 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
21 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
52 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
31 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
32 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
82 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
138 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
21 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
465 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
80 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
36 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
124 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
65 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
244 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
234 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
44 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
64 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
35 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 ...
0
votes
0answers
21 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
33 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
63 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
292 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
517 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
1answer
546 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
67 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
158 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
56 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 ...
0
votes
2answers
134 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
456 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
104 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
229 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
461 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
107 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
205 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
56 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
244 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 ...
0
votes
1answer
67 views

Adding static routes to remote networks

Having: My local machine (A) A remote router (B) who knows a remote network/subnet (X) My local machine's is located at the default router's (C) subnet, who know the remote router (B), but has no ...
0
votes
1answer
110 views

How can I tell what's happening to my packets?

I'm trying to bring up a little box on my network. I just reflashed the firmware and it's supposed to come up as 192.168.1.1 by default. My router is a DSL modem at 192.168.0.1; it usually uses a ...
0
votes
0answers
94 views

centOS7 persistent routing issue

I have google a lot but still cant find a working way how to make persistent some routes on centOS7. [root@asd network-scripts]# route -n Kernel IP routing table Destination Gateway ...
0
votes
2answers
691 views

Use ROUTE to force non VPN traffic over normal connection from a single machine Windows 8.1

on my revious OS (Windows 7) I had a persistent route setup so that all the traffic to my webserver went through my normal internet connection and everything else went through my VPN. I used; route ...
0
votes
2answers
183 views

dynamic 'route add' command doesn't work but static is working

i am having a situation where route add is not working but if i add that as a static entry in sysconfig/network-scripts/route-eth0 its working Network details: IPADDR=198.x.x.1 ...
2
votes
1answer
570 views

How to use a Linux OpenVPN client host as gateyway for a Windows OpenVPN client host?

I have an environment where I have a OpenVPN server (Linux) and a few OpenVPN clients (both Windows and Linux). All those hosts (server & clients) are connected to the Internet, they are not ...
2
votes
0answers
48 views

How can I test an ICMP Re-direct message?

I want to test whether my linux machine is actually accepting ICMP re-direct message and updating the entry in routing table.This is what i have done so far to achieve the same. Simulated a ICMP ...
0
votes
0answers
20 views

route command displays gateway backward

Very puzzling problem on CentOS 6. After I issued this command: route add -net 190.160.190.0/24 gw 191.160.203.254 I then check with the route command, but the gateway IP appears backward: ...
0
votes
1answer
1k views

Config OpenVPN on Window Server 2008 R2 for client can connect server's Lan network

I installed openvpn 2.1 on my Windows Server 2008 R2. My server has 2 network adapter. The first adapter connect to internet. (default gateway here) The second adapter connect to lan network. ip ...