Routing (in IP-based networks) is the process of selecting paths in a network along which to send network traffic.
1
vote
0answers
29 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
32 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
7 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
38 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
56 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
24 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
28 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
45 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
13 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
51 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
56 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
25 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
107 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
42 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
48 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
67 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
75 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 ...
0
votes
1answer
30 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
59 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
76 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
43 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
178 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
10 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
54 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
50 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
25 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
297 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
44 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
117 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
73 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
270 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
159 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
0answers
315 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
74 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
139 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 ...
4
votes
1answer
113 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 ...
0
votes
1answer
77 views
ICMP gives host an impossible redirect
I am having trouble with forwarding on a system which hosts a few headless VirtualBox VMs. I have not changed anything but the configuration has stopped working. The VMs have IP addresses on their own ...
2
votes
1answer
436 views
mutliple default gateways for alias interfaces (SOLVED)
Alias interfaces defined in /etc/network/interfaces cannot have multiple default gateways. Unfortunately I would like to use the same interface to access 2 differents nets, and I need to define 2 ...
0
votes
1answer
25 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
4answers
76 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 ...
2
votes
2answers
79 views
Different sites on different interfaces using link aggregation
I read about Ubuntu Bonding and how it allows to bond multiple connections to get several advantages.
My requirements is this :
I want two different interfaces at a time (A wifi and other Ethernet)
...
3
votes
1answer
210 views
What is the interface scope (global vs. link) used for?
Routing table entries have an attribute scope. I would like to know how the change from global to link (or the other way round) affects the network system.
1
vote
1answer
45 views
How to use one nic for storage traffic & other for network traffic in Linux(Slackware)?
Problem I have a Linux machine (Slackware) with two network interface cards and i want to use one interface for network traffic and other for storage traffic . As this is Slackware i dont know this ...
0
votes
1answer
89 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 ...
4
votes
1answer
140 views
Why is this static route not taking effect?
Original Question
I am running Ubuntu and network manager. I have two different interfaces, eth0 and eth1. Network manager has (as far as I can tell) correctly added this manual route:
~$ ip route
...
1
vote
1answer
79 views
tcp/ip - trigger action or event after period of no network activity on certain port(s)
Is it possible, perhaps using iptables or one of the wrappers/frontends to iptables, to trigger an action or run a script after a certain period of time has elapsed with no network activity on a ...