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

0
votes
1answer
40 views

Adding a route with time-limited validity?

I have read different routing protocols, each one adds routes with limited time validity to routing table. Is there a method in Linux/Ubuntu, without installing any routing daemon, to add a time ...
0
votes
1answer
123 views

Testing a Linux router on Laptop with one NIC [closed]

So, I have these instructions on converting my Linux machine to a router using (enable IP forwarding, NAT). Now my laptop has only one NIC and I want to test this setup. Any ideas how I can do this? ...
0
votes
2answers
85 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
1answer
56 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
1answer
107 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 ...
0
votes
1answer
84 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 ...
0
votes
1answer
578 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, ...
0
votes
2answers
119 views

IP routing to domain

I have a remote device that sends data to an IP address through a specific port. The problem I want to solve is that I need it sends data to a domain, but device only allow set IP addresses. I want ...
0
votes
1answer
255 views

Route OpenVPN clients to another different OpenVPN server

I have this scenario.. Server(Primary) with a multiple OpenVPN connections (so server is connected as a client to multiple OpenVPN servers.. lets say secondary servers) This server runs OpenVPN ...
0
votes
1answer
63 views

iproute command: ip -6 rule show nothing even with kernel option IPV6_MULTIPLE_TABLES=y

I want to enable my linux 3.2.4 to have ipv6 multi-routing table functionality. I enable IPV6_MULTIPLE_TABLES when make menuconfig and rebuild kernel.(Also with ip advanced routing and ip multi table) ...
0
votes
4answers
153 views

Linux routing tables

I'm trying to learn Linux routing tables and ran into bit of snag. In the example below I'm not sure what is happening. My understanding is 0.0.0.0 means that for line 1 and 2 any packets outside of ...
0
votes
1answer
196 views

Why won't my computer connect to my Linux access point?

I'm setting up a Raspberry Pi as a proxy access point which accesses the internet via my USB tethered smartphone and is connected to my Windows PC via Ethernet. The internet works fine on the Pi, but ...
0
votes
1answer
624 views

solaris netstat -rn output clarification

We have couple of servers performing the same function. On some I see following output: Routing Table: IPv4 Destination Gateway Flags Ref Use Interface ...
0
votes
1answer
168 views

How to automate route commands

For some reason everytime I connect to my VM I have to manually launch these two commands for it to connect to the Internet. route add 198.245.49.254 dev eth0 route add default gw 198.245.49.254 Is ...
0
votes
1answer
256 views

Squid not forwarding my packets proxied from iptables on router

I am trying to make openwrt's iptables from my router to direct to my squid proxy on my machine (since there is no enough space in router's flash memory) but even if I have my squid config ok ( ...
0
votes
2answers
557 views

SSH connection does not work while browsers do

I have the following network layout: Internet comes true fiber optics to modem. From modem LAN cable goes to router. Since that router wifi signal is weak, a LAN cable goes to another router from ...
0
votes
0answers
7 views

AODV Routing protocol on Raspberry Pi model B?

is it possible to run the AODV routing protocol on rpi ?
0
votes
1answer
61 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
32 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
29 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 ...
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 ...
0
votes
1answer
28 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 ...
0
votes
1answer
38 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" ...
0
votes
1answer
44 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; ...
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
193 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
38 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
0answers
142 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
0answers
76 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 ...
0
votes
0answers
30 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 ...
0
votes
1answer
120 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
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
101 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
70 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
170 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
30 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 ...
0
votes
1answer
116 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
31 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 ...
0
votes
1answer
657 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 ...
0
votes
1answer
49 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 ...
0
votes
0answers
119 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 ...
0
votes
1answer
167 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
0answers
190 views

iptables IP address (source and destination IP address) mangling

I tried to understand the concept of iptables mangling part, but somehow failed to understand the IP header manipulative section. For example: Below is the system scenario which I'm trying to ...
0
votes
1answer
61 views

Adding routes for configured virtual IP addresses of different segments

I have configured virtual IP addresses in different segments as below in RHEL box. eth0 - 192.X.X.208/27 eth0:1 - 192.X.X.219/27 eth0:2 - 10.72.X.19/24 eth0:3- 10.72.X.20/24 The problem here is as ...
0
votes
0answers
168 views

How to bridge a VM to public IP

I wish to to assign the IP from my eth1:2 to a VM; I also have no use of this IP for the host, it would be desirable to be exclusive to the VM. I've ended up with a setup just like this (eth1:1, ...
0
votes
1answer
91 views

Which path are the packets taking?

I have set up a host-only network in VirtualBox. Windows Host: VirtualBox Host-Only Network IPv4 Address. . . . . . . . . . . : 192.168.56.1 Wireless LAN Adapter Wireless Network Connection 2 ...
0
votes
0answers
231 views

How can I connect to a local computer behind a router with the router's IP address?

I am trying to set up an IPA server to be used from machines that share the same network as the server and machines that don't. The router's IP address is 12.34.56.78 I am using port forwarding on ...
0
votes
0answers
137 views

VNC connection times out

I have a VNC server running on a box but can't connect to it over the internet and I don't know why. Here's what I have: on server $ ps ax | grep Xvnc 21304 ? S 0:00 Xvnc4 :1 -desktop ...
0
votes
0answers
84 views

OpenVswitch in Linux kernel configuration

There's a kernel configuration variable Open vSwitch (CONFIG_OPENVSWITCH). This enables openVswitch support inside the kernel, but still to use it, we need a userspace daemon. My question is, what ...