Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

1
vote
1answer
385 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
630 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
321 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: eth1:...
1
vote
1answer
567 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
1k 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
1k 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 > /proc/sys/...
1
vote
1answer
558 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 encap:...
1
vote
3answers
880 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
2k 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
2k 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
3k 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
2k 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
0answers
25 views

Windows Server - Route any request via a set IP

We have a Windows 2008 server that has multiple IP address' on it. When the server makes requests to other machines (Via a .Net Web App) we've found that the IP it's 'calling out' on is un-predictable ...
1
vote
0answers
32 views

Debian 7 losing IPv6 default route randomly

I have a Debian 7 server setup and it keeps losing IPv6 connectivity after some time. I found that the default route is removed and is what appears to cause the Issue. Any help to fix the issue would ...
1
vote
1answer
13 views

Accessing internally stored documents via hyperlinks in Websites on a DMZ server

We have a vendor-provided application running internally (LAN) on a Windows/MS-SQL 2012 server, providing access via IIS on the same box. The application is able to store attached documents - these ...
1
vote
1answer
134 views

add new route linux

I need to add a new route 10.10.10.0 and now I have this: # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 xx.xxx.xxx....
1
vote
1answer
39 views

Linux adding a bad route on startup?

I've got several Linux (Debian Wheezy) machines that have a peculiar problem. After booting them up, an extra route is created that has to be deleted before the machine can talk to other machines on ...
1
vote
0answers
51 views

Static route between vlans

Windows server 2003. MS TMG with two NICs. I have two vlans in my network. vlan1: 200.1.1.0/255.255.255.0 vlan2: 200.1.2.0/255.255.255.0 I have an ISA server with two NICs in vlan2. NIC1: 200.1.2....
1
vote
0answers
30 views

How to use virtual interface as default interface

I've got a cloud SSD VPS @ OVH, and I'd like to change the default interface used for requests. I have two interfaces: eth0 (which is the default interface) and eth0:0 (which is the new virtual ...
1
vote
1answer
43 views

How do I set Ubuntu server to two static IP addresses and proper routing with two interfaces

I'm trying to set up the routing table on Ubuntu 12.04. The network environment is as follows: server -----eth0 192.168.0.1 (DMZ)---LAN----10.13.x.x Because the communication between 192.168.0.1 ...
1
vote
1answer
94 views

Cannot ping through one of the network interfaces

Setup ubuntu linux VM ( virtual-box) is configured with two interfaces, eth0 and eth1. eth0 is on a bridged network and directly connected to external network. eth1 is on "nat network", which is ...
1
vote
0answers
29 views

IP Aliassing - Multiple Public IP Address [closed]

I have a problem with IP Aliassing. I want that all IP addresses have ism traffic but it does not work except to redirect eth0 with iptables DNAT and SNAT which is ineffective. auto lo iface lo inet ...
1
vote
1answer
87 views

Routed traffic away from VPN has no internet (Fedora)

I'm very new to linux routing and such as a preface. I have a plex server set up on Fedora 22. I've recently started using a VPN service connected via OpenVPN. Everything works great via VPN on my ...
1
vote
1answer
37 views

Adding multiple static routes for the same host to different gateways

I have 2 openvpn clients connected to 2 different servers, on tun0 and tun1 devices. I need to add 2 static routes, for the same host IP, and map them to 2 different gateways and tun devices. I've ...
1
vote
1answer
1k views

RTNETLINK answers: File exists — OpenVPN errors

I have a bunch of servers that connect to the world through a "gateway" server that uses a NAT to redirect to the internet. I am trying to connect the gateway server to a VPN client through an ...
1
vote
0answers
65 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 ...
1
vote
0answers
38 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 ...
1
vote
1answer
3k 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 ...
1
vote
1answer
2k 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 10....
1
vote
4answers
7k 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
561 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
66 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
895 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
2k 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 Bcast:10.185.2....
1
vote
1answer
554 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
1k 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 ...
1
vote
0answers
110 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
82 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
0answers
465 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 server(...
1
vote
2answers
98 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
1k 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 ...
1
vote
1answer
469 views

How do I setup a routing rules to allow https traffic

This is about a clearOS installation. eth0 = external interface (dhcp Internet) eth1 = internal lan, static 192.168.0.10 eth2 = dmz The problem is, after initial installation, I was able to ...
1
vote
1answer
544 views

iptables and virtual machines of KVM, no ping, no ssh from VMs

Hi everyone :) I have two virtual machines KVM. I did two alias to eth0 - eth0:0 and eth0:1 and put them on an external IPs (eth0:0 - 89.114.122.3, eth0:1 - 89.114.122.4)​​. Now the problem is: ...
1
vote
1answer
109 views

Unexpected auto-route after adding a new /29-Net

I added a new Network to a Debian 6.0.1 x86_64 Linux 2.6.32-5-amd64 Server with this configuration in the interfaces: allow-hotplug eth2 iface eth2 inet static address 172.251.1.86 netmask 255....
1
vote
0answers
819 views

Multicast Default Interface - upgrade to RH5.5

I have upgraded a server from RH4 -> RH5.5 and we have an interesting issue with multicast. we have multiple NICS on the server, we want the bond0 to default as the default interface. adding route ...
1
vote
3answers
233 views

Network Configuration

This is my situation: Router A: IP 192.168.1.1 Mask 192.168.1.0/24 - Connected to the internet. Server: - Interface eth0: inet addr:10.1.1.125 Mask:255.255.255.0 (connected to router B) - ...