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
0answers
10 views

Routing only VM traffic through VPN

I'm stuck on a problem and would like some help if possible :-) My goal is to make my VM going through my VPN connection and my HOST through the standard gateway. Configuration : VM (192.168.100.1) ...
0
votes
2answers
21 views

routing problem - arp

I have a computer that should connect two networks: 192.168.0.x and 192.168.1.x 192.168.0.x is reachable through interface tun3 while 192.168.1.x is reachable through interface virbr1. It seems ...
1
vote
0answers
14 views

How to drop packet if conntrack entry not present

Is there a way to check if conntrack exists before doing a particular action in iptable chains ? I would like to drop the packet in mangle-postrouting if conntrack entry is not present, dont want it ...
0
votes
0answers
8 views

AODV Routing protocol on Raspberry Pi model B?

is it possible to run the AODV routing protocol on rpi ?
0
votes
1answer
64 views

Routing tables with two network interfaces

When I try to access the internet with my raspberry pi via ethernet, it works, but when I do ifdown eth0 and try to ping any server outside my home network, it tells me connect: Network is ...
0
votes
1answer
34 views

Problems setting up Ubuntu Machine as a router

I have been at this for over 24 hours, here is what I have so far. -I have an Ubuntu Server running version 14.04.2.amd64, called SV-01 -SV-01 has two NICs. ETH1 is for the external network (goes to ...
0
votes
1answer
30 views

redhat 9 persist default gateway

We changed the IP addresses of our RedHat 9 system that controls a conveyor/sorter system. When originally installed many years ago someone chose 192.0.0.10 as the IP! But for some reason it defaults ...
1
vote
2answers
53 views

Iptables exception for specific port

I'm new to iptables but configured a simple natting today on my raspian: # Always accept loopback traffic /sbin/iptables -A INPUT -i lo -j ACCEPT # Allow established connections, and those not ...
1
vote
0answers
45 views

Howto configure linux router to allow clients to use maximum bandwidth?

The problem is that I'm always limited on the final client machine to about 1/3 (one third,about 200/300kb) of the internet hotspot bandwidth when testing download speed with wget. I have configured ...
1
vote
2answers
47 views

bash command/script to reset default route

I manage several OpenWrt (embedded linux) routers for which I've written bash scripts to run an Openconnect VPN client. The client uses "vpnc-script" to set up routing, which replaces the initial ...
2
votes
1answer
20 views

Routing problem from internal eth1 interface to an external ppp0 interface

I'm trying to connect two LANs using a ppp link. I had a basic network topology diagram but it didn't come out well. This can be seen here. Routing Problem ================ 172.20.0.0/16 ...
1
vote
2answers
104 views

Error when redirecting ports with iptables: No chain/target/match by that name

I am trying to redirect all incoming TCP connections, originally to port 80, to port 8090, because I am running Confluence in 8090 and I want to avoid it running as root, which is a requirement to ...
1
vote
1answer
23 views

Packets not forwarded due to second routing table

I've just spent about an hour trying to understand why my docker containers couldn't connect to the internet, in particular couldn't resolve any DNS names. By now I've found a workaround, but I still ...
4
votes
2answers
160 views

Bind unix program to specific network interface

Question: How do I launch a program while ensuring that it's network access is bound via a specific network interface? Case: I want to access two distinct machines with the same IP (192.168.1.1), but ...
3
votes
0answers
44 views

Linux Routing Question

I was wondering how it would be possible to have multiple IPv6 default gateways on CentOS linux. I currently have two interfaces with IPv6 (venet0 and tb0), both with different blocks routed to them. ...
0
votes
0answers
29 views

Trouble switching between wired/wireless networks with Fedora 21

I have a Gb/s wired network and a much slower wireless on my home LAN. I switch between them in the course of my day. I have always found that Linux is not particularly clever about using the wired ...
2
votes
1answer
58 views

NAT box with multiple internal and external interfaces

Similar questions have been asked before but my setup is a little different and the solutions to those questions are not working. A have a CentOS 6 server running iptables with 5 interfaces: eth0: ...
0
votes
1answer
29 views

Fully transparent DMZ

I'm trying to configure an openwrt router so that I get two wan IP addresses by dhcp - one for the router itself and one for a DMZ host. I followed the DMZ howto. It appears that the host on the DMZ ...
0
votes
0answers
27 views

Route dies on Ubuntu 14.04.2

So I have this routing setup in EC2 on a Ubuntu machine: 10.50.0.0/24 dev eth0 proto kernel scope link src 10.50.0.163 x.x.x.x via 10.50.0.80 dev eth0 proto static y.y.y.y via 10.50.0.80 dev ...
1
vote
0answers
53 views

IP packet forwarding in Debian

I have a physical network set up with machines A←–→B←–→C.  IP and Ethernet configurations are summarized as following: A(eth0: 10.10.10.2) ←—→ (eth0: 10.10.10.3)B(eth1: 192.168.0.3) ←—→ (eth1: ...
1
vote
1answer
64 views

routing table “220” in Linux kernel 3.2.0-23-generic

I have a Linux machine with kernel 3.2.0-23-generic and it has rule with priority 220 in RPDB which points to routing table named "220": T42:~# ip rule show 0: from all lookup local 220: ...
2
votes
1answer
87 views

routing cache in latest Linux kernels

As I understand, routing cache was removed since Linux kernel 3.6. In systems with older Linux kernel one could view the content of the routing cache with ip route show cache command and routing ...
0
votes
1answer
41 views

How to route the traffic from machine 1 to machine 3 via machine 2 and vice versa, on the same subnet?

I've a Citrix Xenserver where I'm running VMs. I have three VMs there, and they have 2 NICs each: eth0 is my company LAN which I'm using for management, and eth1 is a "single-server private network" ...
2
votes
0answers
65 views

ip rule not acting on fwmark

I'm trying to use iptables to load balance web traffic over multiple DSL lines by marking the packets and routing based on the mark. I'm working with CentOS 6.6, Kernel 2.6.32-504.16.2.el6.x86_64, ...
0
votes
1answer
45 views

Lab environment for testing routing in a Unix environment?

I know there are tools such as GNS3 and Packet Tracker; but the big problem with these tools is they do not work with open source tools such as OpenBGPD and BIRD. So, this leads me to the question; ...
1
vote
1answer
34 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
29 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
211 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
39 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
90 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
148 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
61 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
78 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 ...
4
votes
2answers
218 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
90 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
83 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: ...
1
vote
0answers
97 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
31 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
228 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
57 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
124 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
115 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
80 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
48 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
381 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
126 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
102 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
36 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
117 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
72 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. ...