Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

0
votes
1answer
279 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 ...
2
votes
1answer
1k 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
2k 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
592 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
88 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
220 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
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 ...
2
votes
2answers
11k 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
164 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
3k 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
707 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
5k 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
616 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
919 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
384 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
338 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
675 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
4answers
2k views

How to delete a route on a specific interface?

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
6k 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
344 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
368 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 ...
3
votes
3answers
19k 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
5k 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
102 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
251 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
504 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
372 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 ...
0
votes
1answer
1k views

using a gre tunnel as default route

I have two private networks (A, B) that connects via another company's private network (C). Network A has internet access. I want to make a tunnel between B and A that goes through C. Then network B ...
1
vote
1answer
782 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 ...
2
votes
3answers
2k views

Route all wlan0 traffic over tun0

I'm looking for a way to route all wlan0 traffic (tcp and udp) over tun0 (openvpn). However, all other traffic originating from the device itself should not be routed through tun0. I'm guessing this ...
2
votes
1answer
3k views

Routing OpenVPN tunnel in via public interface and out via NAT'd interface (to internet)

I hope someone can help... I want to Configure OpenVPN-AS (i.e. OpenVPN Access Server, NOT OpenVPN) to work on my VPS. The VPS is a KVM running Ubunto 10.04 LTS, with a very vanilla configuration. ...
2
votes
2answers
6k views

What does this linux command mean “route add -net 224.0.0.0 netmask 240.0.0.0 eth0”

Could somebody explain what exactly this command means in relation to transmitting and receiving multicast traffic route add -net 224.0.0.0 netmask 240.0.0.0 eth0
1
vote
1answer
354 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
510 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: ...
0
votes
1answer
846 views

iptables and virtual machines of KVM, external ip

Hi everyone :) In general, I'm still struggling with the virtual machine 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 - ...
1
vote
2answers
204 views

removing static route from linux doesn't disconnect session

I want to test "connection retry" with remote application server. For this, I am using route method, wherein I remove static route from my linux server and check if the connectivity goes down or not. ...
2
votes
1answer
90 views

How can I get the remote machine with Windows Server 2008 after “route /f” executed on it?

Here is the thing, I had made a stupid mistake yesterday. I run "route /f" on a remote machine with Windows Server 2008, and this command cleared the routing tables, including the default route, which ...
0
votes
1answer
2k views

Static route issue on Windows Server 2008 R2

There's a virtual machine with Windows Server 2008 R2 installed. There are two NICs connected to it: PROD & BUP. The BUP interface is configured without default gateway. After adding static route ...
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 > ...
5
votes
1answer
469 views

CCNA Case Study - Static Routes

I'm currently doing the CCNA (Cisco Certified Network Associate) course at school and am a bit stuck on my case study, so I was wondering if anyone could help. I have the following topology: I ...
1
vote
2answers
2k views

How to remove route with IP?

Used to ban some flood-bots with route add -host $ip reject But couple of 'good' IPs were banned as well. My question is stupid (but I've searched and found no good solution (all were large and/or ...