Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

1
vote
1answer
83 views

Routing between many systems, no first hop

I have a main router (10.20.0.1 (lan), 10.20.201.1 (vpn server)) connected to 5 other GW via VPN. Every gateway can ping every other one, and the PC behind them. One of my router, 10.20.6.1 (lan), ...
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
3answers
833 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 ...
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 ...
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
2answers
1k views

Linux ip route matching the source ip

I would like to know if it's possible to tell a Linux kernel to route all packets destinated to X via interface/ip Y but only in case the source IP address would be a specific one. Any idea if this ...
1
vote
2answers
1k views

arp failing after heartbeat failover occurs

I have an LVS based load balancer which has been working just fine. It runs on two servers using heartbeat to provide failover. I've added support for a second IP range to the system, but when the ...
1
vote
1answer
415 views

Creating Routes using the second NIC in the box

OS: Linux I need some advice on how to set up the routing table. I have a box with two physical NIC cards eth0 & eth1 with two associated IPs IP1 & IP2 (both of the same subnet). I need to ...
1
vote
3answers
138 views

Routing / binding 128 IPs to one server

I have a Ubuntu server with 128 ip's (static external ips 86.xx.xx.16), and I want to crawl pages thru different ip's. The gateway is xx.xxx.xxx.1, the main ip is xx.xxx.xxx.16, and the other 128 ip's ...
1
vote
2answers
2k views

Route specific HTTP requests through pfSense OpenVPN

to start, I have very little knowledge on routes, iptables, etc. That said, here's what I'm trying to accomplish and where I think I'm stumped: Problem: We have an external website which we recently ...
1
vote
2answers
2k views

Routing data through VPN in linux

I think its a silly question but still here it goes.. Terminal Output: eth0 Link encap:Ethernet HWaddr 00:1c:c0:37:5e:25 inet addr:10.100.98.51 Bcast:10.100.98.255 ...
1
vote
4answers
4k views

How to route based on domain name?

I can route by IP range by the route command. But is there any domain based route solution?
1
vote
1answer
4k views

Unable to add a static route: SIOADDRT: Network is unreachable

I've been bashing my head against a wall for a few days trying to figure this out: My ifconfig is: eth0 Link encap:Ethernet HWaddr 00:50:56:BB:XX:XX inet addr:192.168.36.132 ...
1
vote
1answer
59 views

routed network, subnetwork clients has broken tcp connection

I manage a linux server which works also as a router, and route between following networks: PPPoE (to connect to ISP) (default gw) wired network 2x VPN networks (PPTP and openVPN) wireless AP (DHCP) ...
1
vote
1answer
500 views

Some clients on a VPN network are not reachable

The problem of this model is that some (only some) clients cannot be reached. See the link below for more information about the model which is being described in the upcoming section. Problem ...
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
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 ...
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 ...
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 ...
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
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: ...
1
vote
1answer
339 views

Sonicwall firewalls and redundancy of route based vpns

I am attempting to configure a route based vpn on a Sonicwall TZ device. The datacenter has two public IPs on different subnets (A and B). The remote office has 1 public ip (C). When I configure ...
1
vote
2answers
706 views

Ubuntu server acting as a two interface router

I'm trying to set up a squid proxy server using Ubuntu server 12.04 I'm very new to Ubuntu but I have managed to get some simple things done. I bought a second PCI interface and have managed to ...
1
vote
2answers
865 views

port redirection through a VPN

I would like redirect my tcp traffic to IRC throught a VPN. I mark the packets with iptables and create a new route for this packets: echo 1 > /proc/sys/net/ipv4/ip_forward echo 0 > ...
1
vote
1answer
470 views

Why specific rouing rule is added after VPN connection is setup on Linux?

After VPN connection is setup the following routing rule is added by default: vpn_server_ip previous_default_gateway This rule appears useless for me. Why it is added? Note: VPN connection is ...
1
vote
1answer
1k views

Linux Route All Internet Traffic through secondary interface

Given the following output from ifconfig, I would like all outgoing traffic to come from bond1:1 instead of the default bond1 interface, how would I go about accomplishing this? bond1 Link ...
1
vote
3answers
703 views

IP Routing through VPN to Windows Server

I have the following network topology: Remote admin network (192.168.10.0/24) I connect to using PPTP to the public IP Remote gateway assigns an IP adress to me (192.168.10.100, for instance) I can ...
1
vote
1answer
1k views

How do I force a socket connection to use a specific network adapter under Linux? ip route issue?

I have multiple network adapters, and need to be able to specify which adapter my socket uses for outbound connections, so that I can have one or more sockets bound to each network. I`ve looked at the ...
1
vote
1answer
45 views

Are there any Route Server for Windows Server

Are there any router servers, like zebra, for Windows Server?
1
vote
1answer
1k views

vpnc “Target networks” and DNSUpdate options not working

VPNC documentation describes the options to restrict VPN connection route to a range of IPs and also leave system DNS setting untouched. My vpnc configuration (/etc/conf/default.conf) contains the ...
1
vote
2answers
2k views

How can I use iptables/route to route traffic from one local network device through its own gateway?

On my Linux server (Ubuntu), how can I configure traffic originating from one of my network interfaces (my VPN device - ppp0) to route through its own gateway address? Caveats: I can't set it up as ...
1
vote
1answer
1k views

ISA Server Route Add Question

I have a situation where I have and ISA 2006 server (on Win2k3) that has an internal and an externaly facing NIC's. All works fine but I need to add a couple of routes for the following reason: Our ...
1
vote
2answers
1k views

How do I setup a router to forward packets (to/from) a specific IP to a specific _hardware port_?

I would like to route all traffic to 192.168.1.10 to hardware port 1 on my router and all traffic to 192.168.1.11 to hardware port 2 on my router. The issue here is that I have a network attached ...
1
vote
1answer
1k views

Windows VPN with different subnet

I just configured a Windows VPN server, this service will have a large number of clients, probably more than the LAN itself, I am thinking of using a different subnet on the VPN IP Pool, but not ...
1
vote
3answers
5k views

OpenVPN Route traffic through Windows XP

I have installed an OpenVPN server + client, the server is windows xp and the client is slackware 12 linux. I set up the first tunnel, test it, ping the machines from each side and saw it's working. ...
1
vote
1answer
249 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 ...
1
vote
4answers
1k views

Allow traffic from ssl-vpn to enter ipsec tunnel on fortigate

we configured our FortiGate 50B to route traffic from our local net 192.168.10.* (which is our office) to a remote network 172.29.112.* using an ipsec tunnel. Everything works fine as long my computer ...
1
vote
0answers
253 views

Cisco RV042 can ping gateway only

I have Cisco RV042 which the problem is can ping gateway only. here my setup : LAN Setting Device, IP address : 172.31.13.254 Netmask : 255.255.255.248 Dual Wan Setting WAN 1 Static IP: IP ...
1
vote
0answers
40 views

How is the route scope parameter used?

I am confused about the route scope parameter in the output if /sbin/ip route. default via 10.32.10.1 dev wlan0 proto static 10.32.10.0/24 dev wlan0 proto kernel scope link src 10.32.10.154 ...
1
vote
0answers
523 views

XenServer IP Failover OVH not working

I have got problem on XenServer with IP FailOver in OVH. I did everything what is in this official tutorial http://help.ovh.co.uk/BridgeClient and IP not working. On my VM is Debian 7 64bit I set MAC ...
1
vote
0answers
583 views

Multicast route setup for multiple interface

Currently I have the below eth5 to receive multicast data for 239.1.1.31. It works. $ ifconfig eth5 Link encap:Ethernet HWaddr E4:11:5B:94:E1:F3 inet addr:10.185.2.2 ...
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 ...
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 ...
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
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 ...
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
379 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 ...
1
vote
0answers
343 views

Route VPN gateway traffic via tun0

On my Linux box, I got a tun0 dev by ipip like: tun0 Link encap:IPIP Tunnel HWaddr inet addr:10.10.10.2 P-t-P:10.10.10.1 Mask:255.255.255.255 and I running a ipsec vpn ...
1
vote
2answers
95 views

LAN to LAN VPN connectivity issues

I have a route-based VPN with limited functionality. My computers on site-A can ping one workstation on site-B, it happens to be the only workstation that is not part of the domain that has been ...
1
vote
1answer
780 views

Windows 7 + IPSec: Force all remote traffic through VPN

I have set up a VPN connection to an remote L2TP/IPSec VPN server, which works fine. Now i like to ensure that all remote traffic is being routed through this VPN, so if the VPN connection drops, no ...