Routing (in IP-based networks) is the process of selecting paths in a network along which to send network traffic.

learn more… | top users | synonyms

2
votes
1answer
227 views

Routing using second interface

I've got a machine I control running Ubuntu 12.10. I'm on a network that will only allow me to have one device connected. I've also got a USB ethernet adapter. I'd like to create a private network ...
2
votes
1answer
1k views

Static IP address shifting to 192.168.1.251

I have a system with a static IP address of 192.168.1.150. I configured /etc/network/interfaces manually (i.e. without using NetworkManager.) It is a web server hosting three sites. I am having ...
2
votes
1answer
895 views

Allow IP packet forwarding from LAN to modem via router

In short: I'd like to be able to telnet to my modem from my PC via my router. There is a simple home router on 192.168.33.1. It is running OpenWrt. It has the following interfaces defined: br-lan ...
2
votes
1answer
813 views

How to setup DHCPD on two interfaces (Angstrom)

I have an embedded system running Angstrom just fine. This platform has multiple uses, one of which is to act as a home router, so it has wireless and wired network interfaces, which work correctly. ...
2
votes
1answer
1k views

Routing in OpenVPN between a private network and a client

I'm trying to setup OpenVPN between a private network and home clients that connect to it. (The clients don't need to connect to each other). The network topology is a little interesting. There is a ...
2
votes
1answer
2k views

Static routes in HP-UX

I need to set static route in HP-UX. I edited /etc/rc.config.d/netconf file and added new entry for my route: ROUTE_DESTINATION[1]="10.105.2.0" ROUTE_MASK[1]="255.255.255.0" ...
2
votes
1answer
107 views

Fix “Route hash chain too long” without restart

On our production server (ubuntu 12.04, 3.2.0-63 kernel) routing cache reached its capacity. Modifying rhash_entries is out of the question, since it is a kernel boot param, and we can not restart the ...
2
votes
1answer
101 views

Use two NICs for different subnets

In my office I have use a system with two network cards. I want to use both at same time. I have four subnets in my LAN. I want to route two subnets (192.168.2.0 and 192.168.4.0) through eth0 and ...
2
votes
0answers
53 views

Transparent Proxy

I am setting up attempting to set up a transparent proxy on CentOS using Squid. So far I have managed to filter the content and get it working perfectly. The only issue I am having is getting a form ...
2
votes
0answers
71 views

Configure routes to access WAN and LAN through diffrent interfaces

In my organization. Some useful technical websites are blocked by the firewall. In my machine i got three interfaces eth0, wlan0, wwlan0 eth0 Link encap:Ethernet HWaddr 00:9c:02:93:b1:b4 ...
2
votes
1answer
577 views

Transparent Ethernet over GRE not forwarding traffic

I am running on Linux 2.6.30.9 and have been trying to setup a transparent ethernet over GRE tunnel. The network topology used is as follows: I want to bridge PC1 and PC2 using Transparent Ethernet ...
2
votes
0answers
19 views

Route socks proxy traffic through wireless client [duplicate]

I have a router with two Internet WANs: DSL (vlan1) and wireless client (eth1). They are both in default route: vlan is the first and eth1 is the second (I am using ip route add default scope global ...
2
votes
0answers
53 views

How to route traffic to different interfaces for different ports [duplicate]

I have an eth0 connection providing internet connection through a proxy server only for port 80 and 443 (provided by university). For ssh, git and related purposes, I got a different connection on my ...
2
votes
0answers
220 views

SNAT problem in iptables

I am trying to reroute traffic from specific devices in my house over openvpn. For this, I've created an OpenVPN tunnel between my house wifi router and my server. Here is my setup: Wifi router's ...
2
votes
0answers
659 views

Adding multiple gateways for separate physical interfaces with various metrics/priorities

My system has 3 interfaces. These are eth0, eth1 and usb0. eth0 is linked to my router and is the line I want to be used by default. eth1 is un used. usb0 is a 3G phone that's tethered. My issue is ...
2
votes
0answers
25 views

Route a particular process over another gateway [duplicate]

I have 2 internet connections on differnet interfaces. I have eth0 which is internal ip of 192.168.1.70 and then I have another network connection to a different network which is on wlan0 ...
2
votes
1answer
205 views

Http proxy to select external interface based on host header

I have a very specific use-case at work where I have several external IP addresses (a full class C), and I need to select the outbound IP address I'm using. The requests are http, and the application ...
2
votes
1answer
285 views

Solaris 11: How to use ILB to create HA loadbalancer across two backend servers?

I'm attempting to use Solaris 11's ILB to create a loadbalancer across two backend DNS servers. Here's my requirements: Two external IPs: .XXX.YYY, .XXX.ZZZ - these are the DNS IP's that our clients ...
2
votes
2answers
377 views

How do I route a spare network interface through an SSH tunnel?

I just bought a Raspberry Pi and I am wanting to route an ad hoc wireless network interface fully through an SSH tunnel that was created using another wireless interface. I want to do this so that I ...
2
votes
2answers
555 views

Having trouble with packets not making it into Fedora 16 Apache

Background: I haven't done anything with iptables in a few years... I have Fedora 16 running in a VM on VMWare, with my firewall (TomatoUSB) port forwarding to the VM. VM is at 192.168.1.155. I know ...
2
votes
1answer
389 views

Can I use 2 WANs on DD-WRT?

I bought TL-WR1043ND and flashed it with DD-WRT. Now Im wondering if it's possible to use physical WAN port and wireless client WAN for internet usage and at the same time broadcast SSID for wired and ...
2
votes
0answers
427 views

Why are packets not moving forward? [closed]

I have a server with forwarding turned on. I placed an iptables LOG target in the PREROUTING, INPUT, and FORWARD chains of the mangle table. I can see the LOG messages from PREROUTING, but not INPUT ...
2
votes
1answer
134 views

Compiling Linux kernel for a router [closed]

I want to make an installable linux kernel that has routing enabled already. So anyone can install it on their machine, do some configuration as required, and machine will work fine for their routing ...
1
vote
2answers
608 views

Adding an ip to a routing table

Is there any way I can add an ip to an interface , but interface route gets created on a routing table other than 'main' routing table in linux? For ex: If I add an IP 10.11.20.10/24 to eth0, it ...
1
vote
2answers
36 views

Gateway with colliding networks

I have an Ubuntu-box as a gateway with two interfaces. The first one (eth0) is the internal network and has the following address: eth0: 192.168.1.1/24 The second one is connected to a router from ...
1
vote
2answers
328 views

iptables: what the difference between filter and mangle

I am using iptables to to mark the package and want to route based on the marks. First I added the ip rule: sudo ip rule add fwmark 1 prohibit (The "prohibit" is just for test, I will change it ...
1
vote
1answer
324 views

What does the route Dest: 123.123.123.123, GW: 0.0.0.0 mean?

I have a route table: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 123.123.123.123 0.0.0.0 255.255.255.255 UH 0 0 0 ...
1
vote
1answer
2k views

Redirect http using iptables for an ip range

I have a range of ip addresses (10.13.13.10-19) that I want to redirect all outgoing http traffic to an internal webserver. So if someone in that range tried to access any site, the html from my ...
1
vote
1answer
960 views

Two networks cannot be accessed simultaneously

I have two networks on a server. One being my internal network, and the other being an external IP address. This is on Debian Lenny. Here is my /etc/network/interfaces file: # This file describes ...
1
vote
1answer
34 views

source address chosen in case of multiple IPv4 addresses

I have following four IPv4 addresses configured to eth0 interface: # ip addr show dev eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc pfifo_fast state UP qlen 1000 link/ether ...
1
vote
1answer
109 views

Routing 4 Networks

I've been trying for almost a week to make it work but without success. I'm starting to feel hopeless. I have 4 Ethernet adapters : 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state ...
1
vote
1answer
227 views

How can I configure dnsmasq to resolve based on the source of the request?

I'm trying to get SiriProxy to work whenever I'm connected to my home network by setting up dnsmasq on my router running the Tomato firmware to send all requests to the Apple Siri server to my local ...
1
vote
1answer
3k views

Only routing certain traffic through VPN

I have a central development server, running a VPN server, and a couple clients that need to connect to it. The server is running Apache, but is only accepting local requests (only listening on ...
1
vote
1answer
2k views

iptables forwarding and routing

In fact, this question is about openwrt and CoovaAP, but I guess it's the same in other linux distributions. I've two interfaces, a "wan" and a "wlan" interface. Is there by default any filter, ...
1
vote
1answer
524 views

How to provide a “guest LAN” on one ethernet device

I have an always-on machine running Debian/Squeeze with a couple of ethernet ports (it's doing various serverish jobs, including DHCP) and a LAN on each. eth0 is on 192.168.7.* and has access to the ...
1
vote
2answers
1k views

Different domains for multiple VM's on host with one WAN IP

I've got only one WAN IP address bound to KVM host system and multiple VM's with internal IP's, say, 10.0.0.1/28. On the other hand I have multiple domain names bound to host system WAN IP. The ...
1
vote
2answers
1k views

Bringing up an interface does not add default gateway to the routing table in Ubuntu

I have this in my interfaces file: auto eth1 iface eth1 inet static address 20.135.251.218 netmask 255.255.255.252 up route add default gw 20.135.251.217 dev eth1 metric 1 ...
1
vote
2answers
198 views

How can I use the same IP from the Internet and intranet?

I have an Ubuntu firewall box (Alma), at the office, with a web server on it. It looks like this: [Internet] <-> [DSL Router] <-> [Alma] | ...
1
vote
1answer
487 views

Routing tables and default routes

I have two rules in my routing tables. The default route, which is to the gateway, and a second route which forwards everything in the network segment to * or to no gateway. Is this second rule ...
1
vote
1answer
30 views

Again about routing

Have a problem with primitive routing. Have a CentOs with 3 NICs (1 external). I want to confgure forwarding between two internal. Config: eth0 - 192.168.1.105 \ 24 eth1 - 10.10.10.1 \ 25 eth2 - ...
1
vote
1answer
28 views

Re-enable route cache

In my kernel log I found: lo: 5 rebuilds is over limit, route caching disabled I know what triggers route cache rebuilds (too long hash bucket chains), but what exactly gets disabled? Which device? ...
1
vote
1answer
73 views

repair the static route to allow traffic to right place

I recently was taking an online test and I got the below question. The server has been configured with a TUN device tun-aib0 that acts as an endpoint for a VPN tunnel. The IP address of the device ...
1
vote
1answer
63 views

CentOS Traffic Filter

I am trying to use Squid to filter the traffic flowing through the network. I am also trying to make this system transparent. My network setup is like so: Router -> CentOS Machine -> The rest ...
1
vote
1answer
196 views

High performance routing with high churn ruleset. What approach is most likely to scale to C10K and beyond?

I've been asked to create a high throughput router using PC / server hardware. I'm modestly familiar with pf, iptables, and tc, but I've never had such high churn and so many rules. I hope you can ...
1
vote
1answer
481 views

Route HTTP traffic thorugh different interface

I have my normal eth0 interface and an setup ppp0 interface, the problem I have is that I want to exclusively route all HTTP/HTTPS traffic through the ppp0 interface and everything else through the ...
1
vote
1answer
11k views

OpenVPN: Push a route to client with a different gateway

I would like my OpenVPN server to push a route down to the client with a different default gateway. Specifically, my OpenVPN server has an internal IP address of 10.0.0.1, and I would like it to ...
1
vote
1answer
914 views

Copy/Mirror traffic to WAN interfaces without “iptables tee” support

I want to copy every outgoing packet to other WAN interfaces but my iptables (v1.2.7) doesn't have TEE target support. I wonder if there is another way (maybe using iproute2 or ebtables) to copy every ...
1
vote
1answer
695 views

TP-Link TL-WR1043ND as dumb access point

I followed these instructions on how to set up my TP-Link TL-WR1043ND as a dumb AP: Flashed brand new Attitude Adjustment 12.09-rc1 Logged into LuCI, set up a password Disabled and stopped firewall ...
1
vote
1answer
2k views

Redirect Packets from ppp0 interface to ethernet interface in linux

My question is similar to this question, however with some change. I have a PPPoE connection on my Linux Machine (CentOS kernal 2.6.32) as a client, so that when I setup this connection, another ...
1
vote
2answers
599 views

OpenVPN uses wrong IP-Address

I've installed OpenVPN on a client (behind NAT-Router) and a VPS server. The tunnel is established. However, ping is only possible from client to server. The server uses its public IP address on tun0 ...