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
40 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
44 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
17 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
49 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
31 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
38 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
40 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
65 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 ...
2
votes
0answers
15 views

Set up a failover route when remote host unreachable [migrated]

I have a Debian Wheezy server tunned by Xivo (let's named it A), this server has 2 interfaces: eth0 and eth1 There are no default gateway and only few server are statically reached from A. eth0 have ...
1
vote
0answers
20 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
28 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
26 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
59 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
25 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
93 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
7 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
44 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
45 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
19 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
152 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
32 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 ...
1
vote
2answers
95 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
62 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
172 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
126 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
182 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
61 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
70 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
89 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
47 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
246 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
22 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
69 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
75 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
129 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
42 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
72 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
107 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
72 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 ...
4
votes
1answer
70 views

Send traffic to self over physical network on Ubuntu

I have a dual port ethernet NIC and let's say I have connected both ports in a loop and assigned the following IPs to the 2 ethernet interfaces: eth2 -> 192.168.2.1 eth3 -> 192.168.3.1 I want to ...
0
votes
3answers
60 views

iptables rules - input and output

I'm new with Linux and iptables. I have a Ubuntu Server distro (12.04) on a PC which has 2 network interfaces (eth0 and eth1). I also have 2 laptops, one is plugged to eth0 and the other to eth1. ...
1
vote
0answers
303 views

How to redirect tun SSL VPN through HTTP CONNECT proxy, using iptables?

I use a VPN under SSL solution (Firepass) on Android. VPN opens an SSL connection on port 443 of remote VPN server. My mobile carrier doesn't allow direct connections on port 443 but allow SSL ...
0
votes
0answers
108 views

Access local UPNP and port forwarding while using OpenVPN

I have a laptop with Arch Linux and NetworkManager. When I connect to any wireless network I establish client OpenVPN connection to PrivateInternetAccess (my VPN provider) for privacy. SSH and ...
1
vote
1answer
191 views

High performance routing with high churn ruleset. What approach is most likely to scale to C10K and beyond?

I've been asked to create a high throughput router using PC / server hardware. I'm modestly familiar with pf, iptables, and tc, but I've never had such high churn and so many rules. I hope you can ...
0
votes
1answer
168 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 ...
3
votes
1answer
85 views

Linux: How to auto-configure IP routing based upon ping results

I've got a linux server with two possible connections to the net: one is a slow, high-latency cellular modem (ppp0), and the other is through fast wifi->broadband (wlan0). The problem is that the ...
2
votes
1answer
90 views

Compiling Linux kernel for a router [closed]

I want to make an installable linux kernel that has routing enabled already. So anyone can install it on their machine, do some configuration as required, and machine will work fine for their routing ...
0
votes
1answer
56 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? ...