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
42 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
42 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
17 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
26 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
80 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
816 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
29 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
36 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
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 ...
0
votes
1answer
61 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
80 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
112 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
20 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
67 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
103 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
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
45 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
71 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
23 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
60 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
99 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
36 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
265 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
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 ...
0
votes
1answer
69 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
116 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
89 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
22 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
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
0answers
120 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
126 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
66 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
464 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
13 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
73 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
62 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
31 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
752 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 ...
0
votes
0answers
26 views

routing based on source IP - a continue [duplicate]

Following my previous question routing based on source IP The source IP floating one and assigned to a cluster (consists from 2 servers). Let's say that the physical IP on server1 is 10.0.0.1, on ...
2
votes
0answers
70 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
2answers
207 views

Primary network interface in Linux

I have a server box with two interfaces. One of the interfaces is connected to the internal network, another - to external. I have assigned IP 192.168.1.200 to internal interface (eth0). I have some ...
0
votes
1answer
99 views

routing based on source IP [closed]

Is it possible to configure routing based on source ip? For example, if I have source IP 10.0.0.0, then all the traffic will go via the specific interface or would be sent to specific default gateway. ...
1
vote
0answers
472 views

Port redirection on loopback with IP other than 127.0.0.1

I want to redirect port 80 on the loopback network interface so that accesses to that port actually go to port 8080. I tried using the following command, but it only works if the application is ...
5
votes
1answer
240 views

Skip routing via `lo` interface for outgoing packets

Introduction I have following load balancing configuration: 10.0.1.31 - lb 10.0.1.35 - virtual IP 10.0.1.32 - node1 (tomcat + mysql) 10.0.1.33 - node2 (tomcat + mysql) I'm using keepalived which ...
1
vote
1answer
537 views

FreeBSD and StrongSwan routing issue

Good day, gentlemen. I have recently faced a problem when a device connected to the FreeBSD server via StrongSwan can't route outside its subnet. Let me explain in details: FreeBSD 10.0-RELEASE, ...
0
votes
0answers
90 views

Linux routing table entry disappears

I run Fedora 20 (3.13.10-200.fc20.i686) inside VirtualBox on a Windows 7 SP1 host. The Ethernet adapter on the guest is configured as a Bridged Adapter in VBox, and gets an IP via DHCP. Here's the ...
1
vote
1answer
321 views

Conntrack TCP Timeout for state stablished not working

Im using a private IP address and I want to keep alive SNAT entries in my Router (Gateway) for at least two hours (some windows apps of my network are using TCP keepalive set to 2 hours). Gateway is a ...
0
votes
0answers
29 views

How to use networks default gateway dynamically? [duplicate]

I want to use specific interface for specific use from different different application. I am using Ethernet, Wi-Fi and 3G modem interfaces in my embedded Linux set-up. Now my set-up is up with ...
5
votes
1answer
183 views

Linux routing for receiving packet

Maybe this is a dumb question. I have two NIC and they are in the same subnet. ip route commnad show above. Kernel was build WITHOUT policy routing. My question is: When receiving packet whether ...