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
2answers
60 views

Forward port 22 out a particular interface

The situation I'm in is where we have three separate interfaces on a particular machine. Each connected network only allows servers (by network-based routing/firewalling) to only offer particular ...
-1
votes
0answers
19 views

what happens if route row in the routing tables is empty

I have routing records which have empty values in 'iface' column (SunOS5.10): Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- ...
0
votes
1answer
14 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
24 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, ...
1
vote
1answer
26 views

Assymetric routing problems in LINUX

Assymetric routing problems are driving me crazy! I am trying to build a multi-homed server with 3 NICs. Each NIC is connected to 3 different subnets: eth0: LAN connected, 10.99.72.38; function: ...
2
votes
3answers
84 views

Bridge/Router with custom logic

I've a Linux box with 3 network adapaters, which I'd like to configure as follow: Adapter A is connected to computer A Adapter B is connected to computer B Adapter C is connected to the Internet. ...
1
vote
0answers
13 views

Is legacy checkpoint endpoint blocking puppy 528 wireless Internet connection and how can I remove it?

Background: Whilst booting with an old flash drive (SafeXs by block master) plugged in to my laptop (DELL latitude 6430u) I came up against a blue login screen . At full encryption point ... ...
1
vote
0answers
13 views

how to binding each each interface to a seperate VPN config

What I am trying to do is route all traffic that comes on a given interface to a specific, per interface, VPN connection where all outbound traffic is actually leaving on WAN0. I frankly don't have a ...
2
votes
0answers
33 views

Network connectivity trouble to non-routing multi-homed hosts?

I have two networks: A and B (172.16.2.0/24 and 172.17.2.0/24). A is Ethernet, B is WiFi. An OpenWRT router connects A and B, and most traffic gets passed OK. Default route on router leads to a ...
0
votes
0answers
19 views

Egress packets do not use non-default routing table

I made a custom routing table named test: # ip route show table test default via 10.10.10.126 dev eth0 # As seen above, it contains only a single route. As a next step, I made a rule where traffic ...
1
vote
0answers
48 views

Setting up a 802.11s mesh network for mobile devices to communicate with a wired server

I'm in the process of developing an android app that maintains a device's connectivity to a linux-based WiFi mesh network, and periodically sends status information (GPS, battery life, etc.) to a ...
0
votes
1answer
47 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
61 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 ...
1
vote
0answers
20 views

What is the point of the second route lookup after OUTPUT?

According to the packet path diagram, and its description: Table 6-2. Source local host (our own machine) [...] Routing decision, since the previous mangle and nat changes may have ...
1
vote
1answer
35 views

Where did pand go?

Most guides on setting up a Bluetooth access point use a program named "pand" to do so. Seemingly, this program was dropped in bluez5. How can PAN be set up without it?
2
votes
1answer
187 views

Forwarding packets from loopback interface with policy-based routing

I have the following iptables rule: iptables -t mangle -A PREROUTING -p udp -m udp --dport 10000 -j MARK --set-xmark 0x4/0xffffffff which sets fwmark 4 on all udp packets with destination port ...
11
votes
3answers
906 views

scp between two servers not in the same network

There are two server that I can access with 2 different VPN connections. I have managed to have both VPN working on the same time on my machine (a bit of routing rules). I want to do a scp ...
0
votes
0answers
47 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 ...
2
votes
1answer
71 views

iptables routing incoming IP to another destination IP question

I have a test setup: server1:1.1.1.1 server2:2.2.2.2 client: 3.3.3.3 I'm trying to have client IP 3.3.3.3 do a HTTP request from the 1.1.1.1 server. However I want the 1.1.1.1 server to pass this ...
1
vote
2answers
38 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 ...
0
votes
1answer
82 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 ...
1
vote
0answers
165 views

How do I route bittorrent through a second interface?

I've managed to configure openvpn on my DD-WRT router such that the tunnel is up and working, but that it doesn't mess with routes at all (the default configuration wants all traffic to go through ...
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
0answers
195 views

Is it possible to prevent eth0 network traffic from accessing eth1 network?

I am not really sure how this is possible but I have a linux(ubuntu 14.04) box with 2 interfaces. eth0 is connected to our lan 192.168.0.* and eth1 is connected to a dlink wifi router on network ...
0
votes
0answers
34 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 ...
4
votes
2answers
107 views

Redirecting loopback traffic through a router

For some tests purposes, I am running multiple socket-based applications on one machine and want to simulate "real" network conditions between them. I thought the simplest would be to redirect all ...
2
votes
1answer
151 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 ...
1
vote
1answer
36 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
61 views

iptables routing

I believe this question has been answered a 100 times before, but I'm almost sure that I'm searching into the wrong direction. My desired setup is the following: I have a virtual host using KVM and ...
1
vote
1answer
99 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 ...
0
votes
1answer
31 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) ...
1
vote
0answers
64 views

Essential tasks of a routing daemon in Linux [closed]

What I have understood so far from some software router projects already there (e.g. bird), there are some essential subtasks for routing in Linux. Task 1: Get a routing table first (using ip route ...
2
votes
1answer
133 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 ...
1
vote
0answers
44 views

ISC DHCP Server - A Client's Uplink Is Not Working

Running a DHCP server, client(s) does not have up-link (0Mbps) and has a downlink (50Mbps.) I am setting up a gateway/router on a PC running Debian Wheezy with ISC-DHCP. I have 1 WAN (eth0) and 2 LAN ...
3
votes
1answer
387 views

Redirect ALL packets from eth1 & eth2 through a SOCKS proxy

Is there a way to redirect all traffic, UDP and TCP, coming to and from eth1 and eth2 through a SOCKS proxy (Tor) which then passes it through eth0? eth0: Internet in - leads to the main router, then ...
2
votes
0answers
62 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 ...
0
votes
1answer
100 views

Trying to connect to gateway in static ip network

I have arch-linux-arm running on a raspberryPi. The network I am in uses static IPs. gateway IP is 192.168.178.5 IP for my device is 192.168.178.201 To connect to the internet I use: ip addr add ...
3
votes
3answers
144 views

What happens to local LAN traffic on linux to non-loopback addresses?

One thing I've never quite understood on Linux is what happens to local traffic that isn't directed at loopback. For example, given the following network setup: [root@pe-323-master ~]# ifconfig eth0 ...
4
votes
2answers
100 views

Port Routing/DNS for individual program

Background Flickr has closed its http api leaving an https only api. My favourite uploader (the official Flickr Uploadr version 2.5 running under wine) is no longer maintained, so this change broke ...
1
vote
0answers
24 views

ip route match multiple fields

I have a Linux machine set up to forward IPv4 packets. I'm looking to do this: if packet matches both source and destination, forward to GW X. How do I specify the source field? Do I need to use ...
1
vote
1answer
42 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
0answers
147 views

Packets sent through TUN interface not routed

I have a C program attached to a TUN interface. In my C program, I'm building packets and writing them to the TUN interface. Now to check if packets are really sent from my TUN interface I use ...
1
vote
1answer
203 views

Setting up a gateway between two subnets on the same physical network

I need to configure a DHCP-enabled network (192.168.2.) on a physical layer where resides an already existing network (192.168.1.) with static IPs. I have a Debian 7 server with two interfaces (server ...
3
votes
0answers
72 views

Packets do not cross IP tables Postrouting when originating from an external IP

I'm trying to reflect traffic from the internet to an internal device that I only want to have local access. I have a host in my DMZ that I'm trying to DNAT traffic to this internal device, and SNAT ...
1
vote
1answer
640 views

Routing a LAN through OpenVPN on OpenBSD 5.5

I'm configuring an OpenVPN gateway to allow a LAN access to the internet through the tunnel. The gateway is running OpenBSD 5.5-stable amd64 on the PC Engines APU platform. The LAN contains re1, re2, ...
0
votes
0answers
19 views

WAN interface using his own queues for QoS different that the provided by Linux

My Linux embedded system have a WAN interface with the default pfifo_fast qdisc attached to it. The web interface for configuring the system let the user configure three Queues for the WAN interface ...
1
vote
1answer
106 views

Iptables not forwarding. Input instead

I have set up iptables on my ubuntu headless server: iptables -S -P INPUT ACCEPT -P FORWARD DROP -P OUTPUT ACCEPT -A INPUT -s 10.1.3.90/32 -i eth0 -j LOG --log-prefix "INPUT: " -A INPUT -i eth1 -j ...
1
vote
1answer
73 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 ...
0
votes
0answers
37 views

IPv6 - how to force traffic destinated for same system but another interface to pass through the wireless network?

I want to perform some IPv6 stress testing (file transfer, flooding, Neighbor Discovery, etc) on wireless routers using a system which has two network interface cards. However, all traffic goes ...
4
votes
1answer
1k views

Routing public ipv6 traffic through openvpn tunnel

What I'm trying to do is to route IPv6 traffic through a vpn tunnel. That way, I should be able to use IPv6 in a network that doesn't support IPv6. I have a VPS which has an IPv6 block assigned. Part ...