Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

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
1answer
894 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
380 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
521 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
2answers
170 views

Network configuration

please see the network map from http://i.stack.imgur.com/HqT7h.jpg I want to connect to network3 from network1 but i want to connect by network2! I have a PC which has Ubuntu 11.04 and it can ...
1
vote
1answer
95 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 ...
1
vote
0answers
682 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
224 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) - ...
1
vote
5answers
32k views

solaris 10 route add on specific interface

I have 2 interfaces on Solaris box # ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 hme0: ...
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
6answers
3k views

Network routing issues on Linux

I was hoping someone out there would be able to look at this and let me know what I have missed. I have 4 machines and for some reason, only 1 of them can talk to the other 3 via their private IP ...
0
votes
3answers
3k views

Centos multiple NICs routing issue

I am having trouble setting up permenant routes for my network interfaces, below my config : ETH0 : 172.23.137.27 Netmask /25 - 255.255.255.128 Gateway – 192.168.126.126 ETH1 : Trunk VLAN - ...
0
votes
4answers
368 views

Unable to change default route-Rhel 5.9

am trying to change default to route to eth2 my present rout -n o/p-- Destination Gateway Genmask Flags Metric Ref Use Iface 10.235.4.0 * 255.255.255.0 U ...
0
votes
1answer
3k views

Add Persistent Static Route in Centos 5

What is the proper way to add a static route in Centos 5 that will persist rebooting? I tired adding an route-eth0 file in /etc/sysconfig/network-scripts that contains a route , but after ...
0
votes
2answers
4k views

choose the outgoing interface for a default route

I have a FreeBSD 8.0 virtual box with two ethernet interfaces, em0 and em1. em0 is 192.168.1.99 and em1 is 192.168.1.100. Both are "Attached to: Bridged Adapter". When both are up, if I say # route ...
0
votes
3answers
3k views

RedHat - add static routing rule

I've got two subnets and a RedHat 5.3 with 2 NIC, each with an IP on a single subnet: eth1 172.16.0.4, 255.255.255.0 eth0 194.20.23.183, 255.255.255.0 On each subnet I've got a Gateway / Firewall ...
0
votes
2answers
391 views

Linux route command. Two gatways on the same subnet range

I have a Linux box with two interfaces. eth0 has ip 192.168.71.82/255.255.252.0 eth1 has ip 192.168.4.2/255.255.255.0 I need all traffic for subnets 192.168.4.0/24 192.168.3.0/24 192.168.2.0/24 to ...
0
votes
1answer
2k 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 ...
0
votes
2answers
2k views

Multi Gateway and Backup Routing on a cisco router

I have a 2620 Cisco Router with only one Fastethernet port Now I have two internet gateways. I want to config my router as when primary routing fails second routing automatically start to route all my ...
0
votes
5answers
1k views

how to bridge networks 192.168.191.0/24 and 10.9.0.0/16?

I have two networks in a LAN: 10.9.0.0/16 and 192.168.191.0/24. They use the same Linux router, what do I need to add with route so that all computers see each other in the network? I'm using IPCop ...
0
votes
1answer
426 views

route everything except 123.123.* through vpn

I would like to route all requests to 123.123.* normally through eth0 and everything else through VPN (tap0). This should probably be done with iptables. Any ideas how? Thanks
0
votes
3answers
512 views

How can roaming user access same domain with varying IP address depending on location?

With my laptop, when accessing a given domain on the local network, I need to use a local IP address (192.168.x.x). When accessing the same domain from a remote location, I need to use the public IP ...
0
votes
2answers
21 views

Make some route info persistent on RHEL

I would like to make the following route info persistent. I know how to do it for the default, but how about this line: 10.27.74.0 * 255.255.255.0 U 0 0 0 eth0 ...
0
votes
2answers
65 views

Gateway can be pinged, but fail to add route with it

I want to use 10.1.16.189 as gateway to access 9.36.204.4 both on redhat 6.4. here is the network configuration of my machine: eth0 Link encap:Ethernet HWaddr 06:FB:C1:7B:19:FD ...
0
votes
2answers
64 views

Private Network Interface between to MacOSX servers

We would like to set up and private single cable connection between two Mavericks servers, that also need to talk to the rest-of-the-world. The two servers for sake of argument are DB and Web. There ...
0
votes
1answer
33 views

Why adding a route here is throwing up an error?

I have a linux Fedora -16 machine that has two interfaces - em1 Link encap:Ethernet HWaddr B8:CA:3A:89:EE:F1 inet addr:136.170.195.17 Bcast:136.170.195.255 Mask:255.255.252.0 ...
0
votes
1answer
63 views

Public IP not responding because routing table…?

Fixed with: /etc/iproute2/rt_tables 1 tble_eth0 /etc/sysconfig/network-scripts/route-eth0 104.000.64.0/18 dev eth0 src 104.000.65.38 table tble_eth0 default via 104.000.64.1 dev eth0 src ...
0
votes
1answer
56 views

Understanding aws ec2 default routes in [closed]

After launching a new EC2 instance on AWS, I get the following routes. The LAN subnet is 10.0.0.0/24. $ sudo route -n Kernel IP routing table Destination Gateway Genmask Flags ...
0
votes
2answers
134 views

How does Linux pick which network interface to use?

Let's say I have a machine with two network adapters on different subnets, eth0 (10.0.100.5) and eth1 (10.0.200.5). Assuming both subnets have routes to the internet (though their own NATs) and to the ...
0
votes
2answers
183 views

dynamic 'route add' command doesn't work but static is working

i am having a situation where route add is not working but if i add that as a static entry in sysconfig/network-scripts/route-eth0 its working Network details: IPADDR=198.x.x.1 ...
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 ...
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
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 ...
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
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 ...
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
195 views

Manage the Win2008 routing table

I have a networking issue As I have now two network cards and each one should connect to a specific network; one should be used to connect to the internet and the other one for intranet. I want to ...
0
votes
2answers
117 views

My server IP routing problem

I am unfortunately from Iran and I have a Problem with my server. when I type in windows CMD nslookup ParsCMS.com 4.2.2.4 it can not find my server IP, but nslookup ParsCMS.com 8.8.4.4 returns ...
0
votes
1answer
872 views

Route all traffic through my laptop (using Squid) with Windows [closed]

I have just installed Squid on my laptop and I am successfully blocking all the traffic that I want to block ( websites, protocols etc. ). But I would like to route all the traffic form my LAN ( have ...
0
votes
1answer
3k views

how to add a static route to external gateway(external IP)?

I am having an issue with setting up a static route in Fedora. I need to route some traffic to an external gateway(105.101.67.70 - public IP address of a VPN router). Any request sent to ...
0
votes
1answer
615 views

getting multicast on a virtual interface on linux

I create a virtual network interface with: ifconfig eth0:1 192.168.0.1 netmask 255.255.255.0 but when I ping the multicast address: ping 224.0.0.1 my virtual interface does not respond. Why?
0
votes
2answers
473 views

Can I route packets between PPTP clients?

I hava one pptp gateway(192.168.1.1), and one pptp linux client(192.168.1.2), and one pptp windows client(192.168.1.3), When gateway receives response packets of 192.168.1.3 , can i forward these ...
0
votes
1answer
28 views

forwarding ping using ip route [on hold]

I have a Linux setup which consists of two interface. A local LAN interface and virtual interface. ETH0: 150.10.15.194 PAN0: 192.168.255.209 I would like to set rules that route all ICMP echo ...
0
votes
1answer
563 views

set route on OpenWRT for PPPoE and LAN

I have a HUAWEI wireless router running OpenWRT. The router accesses the Internet with PPPoE. Meanwhile it has an Ethernet address with the following configuration in a LAN (Local Area Network): ...
0
votes
4answers
214 views

Create IP nullroute blacklist from text file

I've seen various guides out there for how to nullroute a single IP address, and I've done that before. However, I'm not sure how to nullroute a group of IP addresses. Going through each one ...
0
votes
1answer
311 views

Routing tables in OS/X Mavericks - causing traceroute: sendto: Cannot allocate memory

OS/X does most of its routing based on the order of the interfaces in 'Network Preferences'. I need to separate traffic, so I've put the default route first, and then routed traffic to the second ...
0
votes
1answer
316 views

Force all traffic from servers on the same bridge to pass through router interface

I have a bridge with all hosts from the 192.168.5.0/24 network connected to it.They all connect to this bridge via a secondary interface eth1. I have a router which connects this bridge to others on ...
0
votes
1answer
80 views

how to completely quit openvpn, make network work normal

I use a openvpn config file connect to a vpnserver successfully. But after I ctrl + C quit openvpn, ubuntu counld not access network. I think the route table is wrong or openvpn is not shutdown ...