Command line tool for manipulating and listing the routing table.

learn more… | top users | synonyms

1
vote
1answer
364 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
514 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
167 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
92 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
620 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
222 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
30k 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
4answers
272 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
3k 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
3answers
1k 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
2answers
213 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
1k 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
1k 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
413 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
501 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
49 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
37 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
20 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
35 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
31 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
81 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
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
166 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 ...
0
votes
1answer
980 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
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 ...
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
193 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
785 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
573 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
436 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
329 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
182 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
250 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
248 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
66 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 ...
0
votes
1answer
51 views

uk vps server route to thailand? [closed]

I'm just a Javascript developer using node.js... My host has got me a vps sever in england. I have had someone test my site loading in england and it is lightning fast. I've also had someone test in ...
0
votes
1answer
377 views

Routing traffic through a virtual machine [closed]

I have OpenWRT running in a virtual machine. It's network adapter is bridged to the host. Host ifconfig root@michael-VirtualBox:/home/michael/Scripts/python# ifconfig eth0 Link encap:Ethernet ...
0
votes
3answers
243 views

CentOS masqueraded network with iptables clients not connecting: Unable to ping

I'm a novice sysadmin working on a system with a CentOS server masquerading traffic with client machines also running CentOS. Something with the tables got messed up and my clients no longer have ...
0
votes
1answer
109 views

route for Wan To Lan

I working on Netgear Prosafe FVS336GV2 My wan interface is on 192.168.1.0 My Lan interface is on 192.168.100.0 Of course my lan access to my wan But I want to add a route to access to my lan from my ...
0
votes
1answer
37 views

Bizzare routing: EITHER accepts emails OR sends depending if NetworkManager is running

Due to an otherwise unrelated hardware failure (long story) I've been forced to return an older Fedora Core system into service as a mail server. It's primary service is as a file server and Samba ...
0
votes
1answer
301 views

Fresh CentOs Install - No Network Connectivity (Route Table Empty)

I have just installed a fresh copy of CentOs 6.4 on a dedicated server. I'm new to linux and trying to learn it. The dedicated server has no network connectivity (I can't ping any hostnames or IP ...