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

1
vote
1answer
27 views

Routing table and multiply hops

I have 6 networks, I need to connect network 1 and network 5 via five routers. What’s the command to set multiply hops? ip route add IP_address/mask via IP_adrress dev eth0, but how do I set next hop? ...
0
votes
1answer
19 views

routing/bridge issues

im having troubles with raspbian (raspberry's debian) while trying to route two networks. My network configuration is this (/etc/network/interfaces): auto lo iface lo inet loopback auto eth0 ...
0
votes
1answer
84 views

NetworkManager changes default routing policy

I have a machine with a built-in NIC (eth0), which serves as a DHCP server for a Raspberry Pi. I also have a USB 3G modem, which shows up as ethernet device eth1. eth0 has the static ip 192.168.100.1 ...
0
votes
1answer
19 views

Route a port through a network interface

I'm using OpenVPN on Ubuntu Server to connect to my VPN. That network interface is tun0. All traffic currently goes through the VPN. I'd like to exclude traffic that goes over a specific port, and ...
0
votes
2answers
40 views

Routing Configuration sending some traffic over VPN

I have a DD-WRT router with an OpenVPN service configured. I'd like to send only certain source IP's over the vpn connection. I believe my current routing table (as seen with netstat -rn) sends all ...
0
votes
0answers
39 views

strongSwan routing issue with roadwarrior behind NAT

Using the following ipsec.conf configuration: conn %default ikelifetime=60m keylife=20m keyingtries=3 rekeymargin=3m keyexchange=ikev2 ...
0
votes
1answer
35 views

Splitting port/IP-bound traffic between interfaces

Similar to this request (I think) I'd like to see traffic bound for a certain port number routed through one specific interface while traffic for a specific IP is routed through another. The server ...
0
votes
0answers
32 views

multicast routing (forwarding) using mrouted from OpenVPN tap interface to LAN

Brief network diagram: Host "S" < Tap OpenVPN > Host "C0" < eth0 > Physical Switch < eth0 > Host "C1" According to mrouted document, it doesn't need to config anything for receiving ...
2
votes
2answers
81 views

Separate Network Traffic on Two Network Interfaces

I am not an R&S professional, so much of that realm of computing escapes me. Could you lend your expertise in helping understand how to go about configuring the separation of network traffic on ...
0
votes
1answer
40 views

Help translating this `ip` command to `route` command in `post-up` hook

I am having trouble getting a static routing ip command to become permanent by way of the post-up hook in /etc/network/interfaces. Here are the relevant details: /etc/network/interfaces # The ...
2
votes
0answers
50 views

Why is my traceroute hitting the wrong gateway?

What "Should" Happen I want traffic to Google to go through en0 (Mac) and hit gateway A (let's say IP = 123.456.789.000). I have another route setup for en3 and I don't want to mess with that. Tried: ...
0
votes
0answers
39 views

Bridge interface - add default route

I used to connect my ubuntu 14.04 laptop on office network via eth0 and the route table gets updated with the office network gateway ip in auto mode. Now, i changed my /etc/network/interfaces ...
0
votes
0answers
22 views

How to add routes multiple times in routing table?

Need to add same route multiple times in the routing table, or is there a way to maintain references in the routing table entries ? (may be with different priorities etc.) Am working on a switch ...
1
vote
0answers
117 views

Port forwarding with iptables and PIA VPN for single user

I've gotten a Private Internet Access VPN setup on a Mythbuntu 14.04 machine and I am at wits end trying to get port forwarding working with rTorrent (and ruTorrent). My setup is rTorrent running ...
1
vote
0answers
35 views

Route wireless LAN through OpenVPN

I am trying to set up my home server to act as an OpenVPN gateway so I can connect to my VPN from any device without installing special software of them. My server is running Ubuntu 14.04. The host ...
0
votes
1answer
49 views

VPS: How to forward traffic to devices from public IP

My goal is to set up a public IP for a Android Smartphone which is running an "IP Cam" software - the interface can be accessed in local network on (example) 192.168.0.2:8080 - But it has no public IP ...
0
votes
1answer
43 views

IPv4 broadcast routing in Linux

I have a server with three network interfaces- loopback interface lo and two physical network interfaces eth0 and eth1: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN ...
2
votes
1answer
41 views

On a router, what decides if a packet should be forwarded or directed into the router itself?

I'm trying to learn how packet routing works on a linux-based router (OpenWRT in my case) a bit better for setting up a few projects/just-learning. Referencing the below chart, I'll break this into ...
1
vote
0answers
29 views

No “rwnd” option to “ip route” for managing the receive window?

Context: I'm doing some self-guided studying on TCP Window shaping. The scenario I'm trying to control for are clients which will be pulling down large amounts of data in addition to their normal ...
1
vote
1answer
170 views

Can't access my apache server from outside LAN (Raspberry Pi)

I know this question was asked a lot, but unfortunately none of the posts really helped.. I'm trying to set up an Apache server on my Raspberry Pi. I managed to set it up correctly I think, but I ...
1
vote
1answer
62 views

How can I set the “default route” when an interface has multiple IPs?

I've followed this guide for Multiple IP addresses on Amazon EC2 and have gone with the second method listed of adding two IP addresses to a single interface. This was done by adding two private IPs ...
0
votes
2answers
40 views

Tools for Debugging Routing Tables on a Linux Machine?

Is there a tool that debugs routing tables on a Linux machine? I mean one that I can use by inputting an ip address into it, it'll take the existing routing table into account and output the ...
0
votes
0answers
35 views

Linux as a router

I'm wondering whether this would be possible with linux and how ... I've got a normal DSL connection and 3 VPNs - I'd like a Linux computer to connect to all connections (maybe through a DSL Router or ...
0
votes
2answers
54 views

How to setup routing tables to connect two subnets

How do I setup my routing tables to allow traffic between two subnets I have a gateway box with two NIC's 1st NIC [eth0] is connected to my outgoing network side and DSL modem and has subnet ...
0
votes
1answer
50 views

Redirect traffic through the server

My task is to redirect traffic (port range) through the server. Here is the schema: Why NAT is not appropriate here: If NAT is set to "Tunnel Server", then all users will be assigned the same IP. ...
0
votes
1answer
80 views

Switching between Network Interfaces

I am trying to write script to switch between two interfaces on a Linux machine, wlan0 and eth0. My primary reference is: http://askubuntu.com/questions/338100/forwarding-traffic-between-2-interfaces ...
0
votes
0answers
24 views

Forwarding packets through a host

I've setup a Site-to-Site network using this How To This How To fits exactly what I need. But I've a problem. From site wich hosting the OpenVPN AS server (site 2, right in the howto) I can't ping a ...
1
vote
0answers
31 views

Outgoing masquerade address changes after adding a second interface to the bridge

In fact I have the following configuration: extrouter(192.168.1.1) <- wifi -> [eth2 (192.168.1.11) Centos 6/6 based host br0 (172.22.5.254)] br0 contains two tap interfaces (tap0/172.22.5.1 ...
1
vote
1answer
189 views

forward packets from one interface to another interface using iptables

I have an embeded system with 2 interfaces e0 and m0, whose ips are 10.0.0.20 and 192.168.0.20, respectively. Incoming packets into e0 have an ip of 10.0.0.10 and should be forwarded to m0 interface ...
0
votes
1answer
79 views

yast routing problem — connect: Network is unreachable

---------------------------------------------------update----------------------- on doge the route works: thufir@doge:~$ thufir@doge:~$ route Kernel IP routing table Destination Gateway ...
0
votes
0answers
25 views

RHEL6.6 in which file you put the gateway configuration

In RHEL6.6 OS system, which file we've to put the gateway configuration? I tried GATEWAY=xxx.xxx.xxx.xxx in these files : /etc/sysconfig/network /etc/sysconfig/network-scripts/ifcfg-eth0 and I ...
2
votes
0answers
101 views

Routing traffic for specific user to specific interface

I have a Linux box with these interfaces: eth0 Link encap:Ethernet HWaddr 14:da:e9:ef:75:7d inet addr:176.9.85.182 Bcast:176.9.85.191 Mask:255.255.255.224 tun0 Link encap:UNSPEC ...
0
votes
1answer
358 views

Not understanding the meaning of Genmask in linux routing table

lanix@lanix ~ $ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.0.0.138 0.0.0.0 UG 0 0 0 ...
1
vote
0answers
127 views

Miniupnp thinks my router doesn't support UPnP

I have a IP camera on my network that is truly plug n play. As soon as I plugged the Ethernet cable in, it was accessible from 'the outside', without me having to touch my router's configuration. So I ...
1
vote
2answers
153 views

Can I prevent a default route being added when bringing up an interface?

I have a system with two NICs on it. This machine, and a few accompanying devices will be moved and attached to different LANs or sometimes it'll be using dial-up. eth0: - 10.x.x.x address space - ...
1
vote
0answers
22 views

Routing problem through 2 hop in the LAN

This is the scenario I'm facing with: firewall (Zyxel Zywall USG210) configured as default gateway, with LAN IP 172.29.0.1 /16 2nd firewall, directly connected with the 1st, with LAN IP 172.29.0.250 ...
0
votes
1answer
30 views

Dynamically assign outbound network interface

I'm establishing a network connection with wvdial (PPP) and I want to assign this as the outgoing network interface AFTER it is established. The connection is being established by a bash script and ...
1
vote
1answer
69 views

iptables: route packets to example.com via public proxy

I want to access certain websites via a public proxy and I can't seem to get it right using iptables. Let's say I want to access example.com having ip address 1.2.3.4 via a public proxy at ...
1
vote
0answers
22 views

routing through a GVPE network

The following is a GVPE network (VPN) setup on Debian Linux systems. It is how I interpreted the two paragraphs starting at line 174 in the GVPE README. Sadly, there is not much detail and my ...
1
vote
1answer
33 views

Access network of PC2 from virtualbox installed on PC1

I am going to attend one seminar where I need to bring laptop with installed Virtualbox and Windows 7 running inside it. My laptop is too old to handle Virtualbox with Windows 7 and native Linux ...
0
votes
1answer
59 views

Default Route in ip route

I'm trying to setup an IP based route in DD-WRT using DD-WRT v24-sp2 (12/22/14) giga. Instead of only sending traffic from 10.13.37.0/24 to the tun1 VPN, all traffic is going there. Below is the ...
1
vote
0answers
74 views

How to create a wireless-to-ethernet router?

I have a Debian machine, which I want to turn into a router. It will connect via wireless to a access-point, where it will get an IP. To its ethernet port, other machines will be connected. It will ...
0
votes
0answers
82 views

DNAT forwarding for FTP: No route to host

I have a single public IP for multiple VM, i need forward multiple ports for FTP service, i write these lines: iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 20:21 -j DNAT ...
3
votes
1answer
37 views

How to create an internal multipath gateway

Basically trying to bend bridging and NATing to my will with quite a unique project. I've simplified what I'm doing below (VM=Kali virtual machine for testing): ZoneX's are network namespaces, ...
0
votes
1answer
103 views

two NICs in the same subnet— need to set up routing

I have a tricky case: +---+ +----+ |D1 +->eth0---------<-eth0-+D2 | | | | | | +->eth1---------<-eth1-+ | +---+ ...
0
votes
1answer
363 views

Linux tun interface packet routing [closed]

I have questions on the ip packet flow for the following scenario. The scenario is : A tun0 (10.0.0.2/8) interface and a physical wireless lan card wlan0 (ip address not fix) on the client side, ...
2
votes
1answer
153 views

Connect through different interfaces to the same server (SO_BINDTODEVICE): Destination Host Unreachable

I have 2 interfaces: eth0 and wlan0, each one connected to a different router. Their network specs are these: eth0: ip: 192.168.1.7 Gateway: 192.168.1.1 Submask: 255.255.255.0 wlan0: ...
2
votes
1answer
105 views

How do I apply iptables SNAT to packets bound for localhost (INPUT chain)?

I'm setting up a host that has two routes to the public internet: one via my run-of-the-mill home gateway router, the other via a gateway router on a semi-private network (AMPRNet on 44.0.0.0/8). Most ...
-1
votes
1answer
40 views

iptables routing through firewall

I have a httpd service running on server machine, I have a firewall and internet browser on desktop machine. On server I have a rule that only firewall can access to server: -A INPUT -m state ...
1
vote
0answers
104 views

Internet sharing disappears when either eth0 or wlan0 gets disconnected

I just got a RasPi B+ and I'm looking to replace the Windows PC that's doing the routing job. What I'm trying to do with the Pi is making it share the connection (wlan0) with another wifi router (via ...