Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

3
votes
2answers
321 views

Prefix Delegation and route creation

I'm using the ISC dhcp server version 4.1 for DHCPv6 prefix delegation on a network. When the server allocates a prefix to a client, the server does not create a route for that prefix to the client ...
3
votes
0answers
567 views

IPv6 default gateway route disappear after reboot

I'm using Debian Wheezy on a dedicated server which uses IPv4 and IPv6 at the same time. ifconfig eth0 eth0 Link encap:Ethernet HWaddr 11:11:11:11:11:11 inet adr:90.0.0.1 ...
0
votes
1answer
318 views

Specifying source IP address for a host route

I am using Ubuntu 12.04. I assigned two IP addresses to the ethernet card by editing /etc/network/interfaces. It now looks like that (skipping lines not related to the question). auto eth0 iface eth0 ...
0
votes
0answers
108 views

KVM directly connect to guests without passing router

I have a KVM host running 5 virtual servers. Each virtual server is using a separate bridge interface, like br0, br1, br3... Each virtual server has a own public IP. Now, I would like to be able to ...
0
votes
1answer
125 views

NAT one network to another using iptables

Trying to NAT ips in different network using iptables. KVM host with ip 10.10.11.36 on bridge br0. Two vms are running with ip 192.168.11.60 and 192.168.11.57 sharing bridge br0. Want to NAT all ...
0
votes
1answer
181 views

Packets not going through Linux Gateway

Host: centos6 with ip 10.10.11.36 and gateway 10.10.11.33 Guest two vms with ip 10.10.11.60 and 10.10.11.57 and gateway of that of host ie 10.10.11.36 On host packet forwarding is enabled. from ...
2
votes
2answers
1k views

What is the difference between “route” and “ip route”?

I tried to understand the networking tools on linux. I am confused now about what should I use to manipulate the static routing: "route" or "ip route"?: route - show / manipulate the IP routing table ...
5
votes
0answers
365 views

Freebsd change default Internet channel route

I have two Internet channel and Gateway on freebsd. When I switch channel with the command route change default chan2, the command netstat -nr shows changed default route. But traceroute shows that ...
0
votes
2answers
340 views

Linux route command. Two gatways on the same subnet range

I have a Linux box with two interfaces. eth0 has ip 192.168.71.82/255.255.252.0 eth1 has ip 192.168.4.2/255.255.255.0 I need all traffic for subnets 192.168.4.0/24 192.168.3.0/24 192.168.2.0/24 to ...
-2
votes
1answer
2k views

How can I ping through different interfaces (subnets) without using a router device?

I have a big problem around this issue. I want to be able to ping and access TFTP through my WIFI interface (wlan0) through my wired interface (eth0) pc1_eth->LTdhcps2_eth0->LTdhcps2_wlan0->pc2_wlan ...
0
votes
2answers
392 views

With split openvpn network, unable to connect to remote server via vpn

I am running ubuntu 12.04 and only want the vpn for specific applications that can bind to vpn port(address). If I connect to the VPN with all the traffic routed through the VPN port everything works ...
0
votes
1answer
79 views

change route to website - Gateway timeout [closed]

My website has to connect to a web service, but sometimes it is receiving a Gateway Timeout, sometimes it works allright. I'm guessing the route it's going on is wrong. Right now, the traceroute is ...
1
vote
2answers
486 views

How to make incoming and outgoing IP same on a multiple IP binding server

I have a centos 6 VPS configured 1 network interface binding with 4 IPs, for example 172.x.x.11, 172.x.x.12, 172.x.x.13, 172.x.x.14 binding with venet0:0, venet0:1, venet0:2, venet0:3. I have pptpd ...
0
votes
1answer
352 views

persist route when gateway is from another subnet

When I want to create route when gateway is from another subnet I have to execute two commands: route add -host 10.10.100.17 eth0 for adding gateway, and: route add -net 10.210.0.0/16 gw ...
2
votes
1answer
625 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 ...
0
votes
1answer
2k views

Increasing the metric of default route in CentOS with DHCP

I am setting up a server (VM to be precise) that runs CentOS 6.4. I have an eth0 adapter on the CentOS machine that has connection to the Internet (through a bridged network on the host). The eth0 ...
1
vote
1answer
101 views

How can I access my router that is on other office network

Hi I'm working on ROUTER A and I want to access ROUTER C, the config is: ROUTER A <-conected with-> ROUTER B <-conected with-> ROUTER C ROUTER A: LAN:192.168.1.1 255.255.255.0 ...
1
vote
1answer
386 views

openvpn (tun0 + bridge) : Comunication bridge --> tun0 works but not the opposite direction

My network is composed as follows: Host A with ip 9.x.x.x and vpn ip 192.15.206.x (openvpn client) Host B with ip 9.x.x.x and vpn ip 192.15.206.1 (openvpn server) this host has a bridge br0 with ip ...
0
votes
2answers
303 views

OpenVPN Allow Servers to talk to VPN Clients

I have setup a VPC in Amazon with 2 subnets. The public subnet has a ip range of 10.0.0.XXX and a private subnet with a ip range of 10.0.1.XXX my OpenVPN sits on 10.0.0.100 and hands out ip from the ...
0
votes
3answers
2k views

OpenVPN - Client traffic is not entirely routed through VPN

I installed OpenVPN on my dedicated server. Using Viscosity or Tunnelblick on the client, I successfully connected to this server. However, after some tests, I realized that not all the traffic ...
1
vote
1answer
85 views

How to centrally manage routing info?

I'm trying to build a VPN setup, where there are several Road-Warriors (various OSes) want to communicate to internal network behind a VPN gateway. The key facts are these: Internal network is ...
1
vote
3answers
1k views

How to set which IP to use for a HTTP request?

This is probably a silly question. I'm doing some http requests using wget from the command line, and I want those connections to be made through one specific IP of the 4 IPs my server has. Those http ...
0
votes
1answer
419 views

Using iptables to forward traffic to a single IP address

The setup: Debian; acting as the network's router using iptables, fail2ban Because of external requirements, both networks are 192.168.1.x. eth0: 192.168.1.1 eth1: 192.168.1.2 Ubuntu (192.168.1.3) ...
1
vote
1answer
198 views

Checkpoint - Wifi Bridge mode kills round trip requests?

I'm fairly sure this is either a NAT or routing question, but it's one that continually has me stumped. The hardware is a Checkpoint Safe@Office firewall. The default mode of operation is that wired ...
0
votes
1answer
62 views

Setting Gateway In Linux

i am having Ubuntu box with two nic,eth0:for private and eth1 for public with static ip assigned. on eth0:192.168.30.1 eth1:x.x.106.111 I want to set this box as Default gateway for all the other ...
3
votes
1answer
2k views

OPENVPN route all traffic - Synology

I have a synology NAS that is my OPENVPN server. I am always on the road and I want to route all of my traffic through my house. Here is my config and my log. config file dev tun tls-client ...
3
votes
2answers
227 views

How to setup router on desktop linux to provide access to vpn subnet to other local machines?

I have a desktop linux (Ubuntu based 12.10, laptop, 1 network card) from which I connect to work vpn via standard pptp, so I can access local network and work network from the machine. On the desktop ...
0
votes
1answer
55 views

route client by specific query?

myweb.com has external ip. I have a debian server running BIND9, it contain some clients, I created the zone myweb.com and I created A record to localhost.it's ok, but I would know if I can point ...
0
votes
1answer
80 views

Giving Multiple ip address of same n/w on two virtual nic

running xen with 2 guests i have been trying to assign public ip addresses to two virtual nic, one each which is sharing bridge networking with host. tried this Host x.x.116.2 created two nic ...
0
votes
1answer
358 views

IPSec VPN routing

This is supposed to be a pretty simple question but I couldn't google a answer for it! I have a ipsec VPN tunnel established between 1.1.1.1 and 2.2.2.2 (public IPs). The first machine (1.1.1.1) has ...
1
vote
2answers
1k views

route packets through hardware loopback interface, not lo

My embedded Linux board has 3 interfaces: eth0 - For all outbound traffic eth1 - A hardware loopback (traffic leaves board, but comes immediately back in the same port) lo - Standard loopback ...
-2
votes
1answer
241 views

how to point external domain and ip?

i'm searching 2 days for this question, and i can't resolv this. I have a debian, BIND9 server running, so i create a zone for example www.somewebsite.com and point the domain to my server ...
1
vote
1answer
166 views

route add in rhel with src option

I'm struggling to understand how to add the route options to my routes file in rhel. Let's say I have the route: ip route: 192.168.89.0/24 via 192.53.28.193 dev eth0 src 192.53.28.216 How can I ...
2
votes
2answers
1k views

Can't reach network 192.168.100.0/24

In one of our data-centre we've a Debian machine acting as a router. From this network we cannot reach any of the machines found on 192.168.100.0/24 network. E.g The gateway on the 192.168.100.0/24 ...
0
votes
1answer
83 views

Linux Servers in same network unreachable from each other, but however reachable from outside

I have 5 servers in the same network with IPS X.X.X.110 - 114. They are all connected to a switch. I am able to reach all 5 of them from outside(internet). However, I cant connect from servers 0 - ...
1
vote
1answer
250 views

Reset route table periodically with cron

Am trying to do some routing on a remote Linux server, every time something goes wrong i lose connection and i have to call the IT guy there and ask him to restart the network interfaces or sometimes ...
0
votes
1answer
250 views

Small Business Server Standard 2011 Acting As A Router/Firewall or Connected Via Switch

Using Small Business Server Standard 2011, what is the preferred best practice for a group of about 15 computers. To use it as the router/firewall and have it be assigning DHCP, or have it connected ...
-1
votes
1answer
881 views

Block an IP range with FreeBSD's 'route add'

To block a single IP address I'm using the following: /sbin/route add -host 192.168.0.0 127.0.0.1 Is it possible to block an range of the IP addresses using the route? I have tried the tips found ...
0
votes
1answer
578 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 ...
3
votes
1answer
188 views

ip command vs route command, what's the difference?

I see both ip and route commands used for configuring the kernel routing tables. What's the difference? It seems to me that the ip command is preferred more. Is it so, and why?
0
votes
1answer
286 views

MPLS link not forwarding

We have a new MPLS service and I'm having trouble getting it to work (it seems like a routing issue). It's a T3 with two circuits: a public wan port and a private MPLS circuit connecting 2 sites. ...
3
votes
2answers
161 views

How to add vpn subnet to a private local subnet (both in different subnet address)?

I set up a xl2tpd vpn server on a router, and assigned the ip range from 192.168.191.2 to 192.168.191.244, and there's local network behind the router's lan side with a 192.168.1.0/24 ip range, so I ...
1
vote
2answers
871 views

no route to default gateway

I just lost about all my hair on this one: I got an ubuntu 12.04 machine on ip address 192.168.0.100, gateway 192.168.0.1 A router on 192.168.0.1, running a forwarding dns ping 192.168.0.1 - or ...
1
vote
3answers
190 views

How to configure second non-consecutive subnet on same interface?

I have some servers on the public network of my isp, say 192.168.2.0/24. Now my provider gives me additional ip addresses, but unfortunately not in a subsequent range of my first network, say ...
1
vote
2answers
5k views

Stop local emails being sent to relay host with postfix

I've recently signed up to SMTP2GO (smtpcorp). I've setup postfix on one of EC2 servers and have pointed it to my smtp2go account: relayhost = [smtpcorp.com]:2525 Now all my mail is being routed ...
3
votes
1answer
603 views

NAT with multiple gateways

I have the following setup: My Lan is 10.56.8.0/23 I have a gateway with internet access(INETIP-A) and the LAN IP 10.56.9.1 I have another gateway with internet access(INETIP-B) and the LAN IP ...
1
vote
1answer
311 views

Iptables -gw parameter

I want to copy tcp traffic. i want to use these commands " iptables -A PREROUTING -t mangle -p tcp --dport 7 -j ROUTE --gw 1.2.3.4 --tee iptables -A POSTROUTING -t mangle -p tcp --sport 7 -j ROUTE ...
1
vote
2answers
404 views

how're routing tables populated?

i've been reading "tcp/ip illustrated" and i started reading about ip forwarding. all about how you can receive a datagram and work out where to send it next based on the desination ip and your ...
1
vote
0answers
104 views

Routes with PPTP

I have a server A that is running OpenVPN server, and a server B connected to it. Then on B I have eth0, the physical interface, and tap0, created by OpenVPN. I want some ip to go with eth0 while ...
-4
votes
2answers
2k views

Manually add route to VPN

Hello server enthusiasts, I have a VPN (pptpd running on Ubuntu 10.04) that I am trying to connect to with a client (Win7). I can successfully connect to the VPN. Once connected to the VPN, I can ...