Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

0
votes
1answer
65 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
380 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
308 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
491 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
1k 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
345 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
273 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
1k 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
81 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
830 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
352 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
187 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
60 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 ...
2
votes
2answers
189 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
54 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
71 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
298 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
999 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
225 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
130 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
806 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
82 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
220 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
228 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
712 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
467 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
179 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
250 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
157 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
666 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
176 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
4k 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
495 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
288 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
330 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
100 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
1k 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 ...
0
votes
1answer
308 views

Route from Cisco ASA over site to site VPN

I want to be able to push f/w logging traffic to a server at a remote site. This server is accepting syslog traffic on port 514. In the ASA I've configured it to use this server as a syslog server. ...
2
votes
1answer
4k views

forcing network traffic to route via a specific, non-default interface

I've got a bunch of Linux servers with multiple(3) NICs and associated network interfaces. I'm tripping over a bizarre routing problem, where traffic that should use the default route is not, and ...
1
vote
1answer
262 views

IPTables Reroute SSH based on Connection string?

We are using a cloud server (Debian Squeeze) where public ports on a public IP route traffic to internal servers. We are looking for a way to use IPTables and ssh where based on some part of the ssh ...
1
vote
0answers
76 views

WAN Woes Between Satellite Offices

Having a baffling time trying to troubleshoot an issue between 3 sites on a WAN set up via site-to-site VPN. The sites are: NY: 10.30.1.0 (HQ) OH: 10.30.6.0 CT: 10.30.7.0 When I first ...
1
vote
1answer
276 views

Ubuntu 12.04 as router with 2 nic

I have been trying this setup for weeks and still can not make this to work... ubuntu 12.04 64 bit with 2 nic nic1: eth0:192.168.2.33 -static ip with internet access (connected to modem) nic2: ...
3
votes
1answer
888 views

Set source address to use tun device does not work (Debian Squeeze)

There have been similar questions on StackExchange but none of the answers helped me, so I'll try a question of my own. I have a VPN connection via OpenVPN. By default, all traffic is redirected ...
3
votes
1answer
725 views

Wget works, Ping doesn't

There are some anomalies on a Virtuozzo virtualized Debian 4 (I know, I'm gonna upgrade this one asap, but there dependences). We run some Websites on this one. And a view Days ago exmi4 wasnt able to ...
4
votes
3answers
808 views

In Linux, does using route to blackhole an IP result in better performance than dropping in iptables? [duplicate]

During a DDOS attack, if we are finding IPs we want to block will we see better performance using a null route as opposed to iptables? Null routing we would do something like: ip route add blackhole ...
1
vote
2answers
5k views

static route: why does a destination address needs a subnetmask [closed]

When I define a static route, why I have to define a subnet mask for the destination network? What would happen, when I have more than one gateway an the subnet masks of all destination networks are ...
2
votes
2answers
596 views

Routing through subnets, static routes

Topology: C1 --192.168.111.0/24 -- R1 -- 172.30.0.0/24 -- Switch -- C6 |-- R2 -- 172.30.10.0/23 -- C5 I am a newbie in networking and I have a ...
1
vote
1answer
378 views

Static route works on one computer, not the other

I have been struggling with this for a couple days now, maybe I just need some people with a fresh perspective to figure out what the issue is. Basically I have a bunch of computers that are being ...