Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

1
vote
1answer
318 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
425 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 ...
0
votes
1answer
370 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. ...
3
votes
1answer
6k 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
289 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
77 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
287 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
974 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
936 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
983 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 ...
2
votes
2answers
7k 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
691 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 ...
0
votes
1answer
307 views

Weird routing issue

I am working on getting networking working correctly on a cluster of 14 virtual servers at a customer site. 11 of them work fine for routing and 3 don't work correctly for their administrative ...
3
votes
1answer
2k views

Recover from running “route -f”

I was trying to capture localhost traffic with Ethereal, which doesn't work without re-routing localhost traffic to your router gateway. I didn't get the route command quite right, and messed up my ...
0
votes
1answer
3k views

.bat file to automatically connect to VPN and add a route in Windows 7

I can establish VPN connection using RASDIAL command. But how do I add a route to 192.168.254.0/24 automatically after VPN is connected? Each time after VPN connection is established, Windows could ...
3
votes
3answers
637 views

Force transmission of TCP/IP data from one NIC to another on same PC

We are preparing a product for EMC testing. The product runs Windows Embedded Standard 2009 (compare it with Windows XP) and has 2 NICs, say NIC1 and NIC2. For the emission test, we need to send data ...
2
votes
1answer
1k views

IP Bridge for KVM with multiple subnets

I have a machine set up running KVM and a bridge on eth0 with the ip address for the machine. The machine has an IP address in a range with no more ip adresses free. I am trying to make a second ...
0
votes
1answer
95 views

Routing via Linux

I have an individual network with a single machine having IP Address 10.10.10.4. Another machine (Gateway Machine) has two NICs: eth0 and eth1. eth1 (10.10.10.10) is connected to the internal network ...
0
votes
1answer
50 views

Does the following route change include undesired machine?

I want to utilize both the wired lan from the company and the wireless from my phone( achieved by PdaNet ). I need to seperate the connections in the route table because the wireless connection have ...
0
votes
1answer
31 views

How to serve clients when provider's channel is down?

GPRS-devices can connect to server only by ip. They are permanently connected to the server. How to prevent Denial of Service, when internet-provider's channel is down? Is there any standart ...
0
votes
1answer
285 views

Route-map changing from permit to deny retains the match tag values

I have a route-map configured on my cisco router with name say s1 and sequence number 10(default) which contains a match tag 10. If i again try to configure the same route-map name with same sequence ...
1
vote
1answer
394 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 ...
2
votes
2answers
12k views

How can I configure openvpn server without push default gateway?

I need configure my openvpn server to provide some LAN resources, but I don't want route all traffic for my clients. Here is my sample network description: My LAN is 192.168.1.0/24. Openvpn network ...
0
votes
1answer
1k views

route traffic to different interface, from port

I got three gateways: 192.168.10.1 on eth0 (default), 192.168.100.1 on eth0:0 192.168.101.1 on eth0:1 I'm trying to make my computer decide on which to use, from the request port. (request comes ...
0
votes
1answer
175 views

Route local traffic to ip1:port to extern ip2:port

I have a service setup that redirects after a succesfull login (Couchbase), but the IP it transfers to is an local one, where the client that is connecting to cannot reach. How can I setup iptables ...
0
votes
2answers
4k views

How to route UDP traffic from one public IP (linux) to another public IP(Windows)

I want to prevent direct access of my Windows Machine and want to expose some programs running on it via my Linux Machine (which again is accessible by a Public IP). Is there a way where-in I can ...
1
vote
2answers
803 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 ...
4
votes
4answers
6k views

How can I force all internet traffic over a PPTP VPN but still allow local lan access?

I have a server running Linux Mint 12 that I want to keep connected to a PPTP VPN all the time. The VPN server is pretty reliable, but it drops on occasion so I just want to make it so all internet ...
2
votes
2answers
722 views

Iptables string

I have an iptables rule like this: iptables -t nat -I PREROUTING -p tcp --dport 80 -s 192.168.1.2 -j DNAT --to-destination 192.168.1.1:80 it works perfectly.. but I want to redirect only for one ...
0
votes
1answer
1k views

Windows route add error

Windows Server 2003 Standard Edition C:\Documents and Settings\Administrator>route print IPv4 Route Table Interface List 0x1 ........................... MS TCP Loopback interface 0x10003 ...00 14 ...
0
votes
2answers
1k views

Linux as a gateway (no NAT)

I'm trying to configure a linux server as a gateway/router, but I can't get it to work, and all information I've managed to find is NAT-related. I have a public IP block for the gateway and devices ...
0
votes
2answers
437 views

connecting to a network using route command

I have a computer with an external IP(192.168.223.220) and also an internal address (10.1.1.20) in order to connect to some servers that don't have external addresses only 10.1.1.xx . in order to ...
1
vote
2answers
368 views

Can't route specific subnet thru VPN in ubuntu

I'm having issues routing traffic thru VPN. Here's my setup I have 3 hosts, let's call them A, B and Z B and Z have a VPN connection in the 10.10.10.x SUBNET A and B have a direct connection in the ...
4
votes
1answer
895 views

Listing the routing table takes long time to complete

When I print routes defined on my computer using route, it takes about 5 to 20 seconds to complete. Why does it take so much time? With VPN enabled: $ time sudo route Kernel IP routing table (...) ...
0
votes
2answers
61 views

4 nodes to the internet, everything works except 3rd node

I have 4 nodes to the internet: Internet <--> Node A <--> Node B <--> Node C <--> Node D Node A: main gateway, manage internet Node B: gateway/tunnel to node C Node C: ...
4
votes
5answers
3k views

How to delete a route on a specific interface? [closed]

When I start a VPN connection, a new default route is added on the utun0 interface: Destination Gateway Flags Refs Use Netif Expire default utun0 ...
2
votes
2answers
7k views

Connecting two subnets using an Ubuntu 10.04 LTS as a router

This has been bothering me for a couple of days, I have two subnets: 192.168.1.0/24 : This is the subnet used by my ISP/router. The gateway to the WAN is 192.168.1.1 192.168.2.0/24 : This is a ...
1
vote
0answers
381 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
4answers
384 views

Different Routes For The Same DNS

I don't know the right term for this concept. But basically, I just want to reroute internal traffic to go directly to a server within the network instead of going around the internet. The domain have ...
6
votes
3answers
25k views

howto only tunnel specific hosts route through openvpn client on tomato [closed]

I am relatively newbie in networking world although I did coding and know some sysadmin background for a long time. and here I'm only one step from my destination. The whole picture is : at home I ...
0
votes
3answers
7k views

How to reach a device on a different subnet?

I have what may seem to be a basic question about routing, but I ask it because I am not sure where to start. I have a simple network setup: Client1, Win7, 192.168.0.50, default gateway is set as ...
2
votes
3answers
104 views

what's the difference between ICMP prohibited ICMP unreachable?

If I want to forbid a route to response a network, should I use ip route add unreachable 209.10.26.51 or ip route add prohibit 209.10.26.51?
3
votes
2answers
260 views

Is it just me or is my node down?

I find the www.doj.me very useful. I am looking for something like that but specifically for BGP Nodes. I want to write a script that tells the users if our Internet backbone is down, if if yes which ...
1
vote
2answers
548 views

The ping response time doesn't reflect the real network response time

I encountered a weird problem that the response time returned by ping is almost fixed at 98ms. Either I ping the gateway, or I ping a local host or a internet host. The response time is always ...
2
votes
1answer
395 views

Windows 7 routing traffic through the gateway for local addresses

Windows is adding a route for a local address (10.0.0.90 - my fileserver) with a gateway of (10.0.0.138 - this is my gateway), the gateway only has a 100Mbs link so all of my fileserver bound traffic ...
2
votes
1answer
1k views

Under what circumstances will Linux ignore the route table when choosing the MAC address for an outbound frame?

While debugging a problem with the networking configuration for a set of virtual machines running under KVM, I discovered a circumstance where the kernel in the guest VM has decided to stamp the ...
0
votes
1answer
2k views

Why is a ping response being sent to the wrong gateway?

In a previous question, I was trying to determine why my OpenVPN clients could not ping the server LAN, even though the server LAN could ping the clients. Having investigated this further, I ...