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
20 views

How to delete default route with iproute2

I used NetworkManager to connect to a openVPN server. It is configured such that all traffic passes through the VPN: > ip route default via 10.4.4.73 dev tun0 proto static ...
0
votes
0answers
8 views

Routing traffic on specific interface over OpenVPN with FreeBSD

I'd like to setup OpenVPN between a FreeBSD client and an (Arch) Linux server such that All Internet-bound traffic explicitly sent from FreeBSD over the tunnel device is routed through OpenVPN but ...
0
votes
0answers
4 views

How do I route Internet from wlan0 to local network on wlan1 and eth0 in Linux?

I want to connect eth0 and wlan1 as one local network plus route the Internet from wlan0 to the local network. Linux (Debian, Raspbian, Linux Mint) easily bridges Ethernet to Ethernet but I run into ...
4
votes
1answer
2k views

How do I configure OpenVPN as a Gateway client for Witopia?

I have the following setup: Witopia SSL account Synology 409 NAS (with OpenVPN and Apache etc) PS3 Mac Apple AirPort router (configured for NAT) Locked IPT-box (using DHCP and NAT traversing) &...
3
votes
1answer
24 views

Can't ping host from router, but both router interfaces from host

I'm trying to set up Ubuntu Server 16.04 as a router just to figure out how this works and maybe build a home server/router down the line sometime. Problem is, I can't seem to get it to work, not sure ...
1
vote
0answers
22 views

Linux redirect target IP to other subnet

I have two Linux machines. Both of them have two adapters one frontend -> 172.17.62.x one backend -> 192.168.141.x I want to make sure that even though two applications are resolving each ...
0
votes
1answer
21 views

OPenWRT Load balance 2 DSL routers using a 3rd(4 LAN, 1 WAN port router)?

I would like to install open-WRT on a router MR3420 v 2.3 and want to know if it can act as Load balancer for 2 DSL routers below. but I am not sure if openWRT will solve the following use-case I ...
0
votes
2answers
32 views

Failover default route on primary link outage

I have 2 ISPs, and a server with two IP addresses, something like this: eth0: 161.0.0.2 eth1: 171.0.0.2 I have set www.example.com with two A records, so that I have DNS LB. App is working fine ...
15
votes
4answers
43k views

Output traffic on different interfaces based on destination port

My question is basically the same as Only allow certain outbound traffic on certain interfaces. I have two interfaces eth1 (10.0.0.2) and wlan0 (192.168.0.2). My default route is for eth1. Let's say ...
0
votes
2answers
23 views

if a HTTP request is like HTTP://IP/path with a http proxy, will it go to Internet or Ethernet [closed]

AWS enterprise VPC http proxy exists Without the HTTP proxy, curl http://169.254.169.254/lastest/meta-data successful, but disconnect to the Internet. This IP address is not Category A, B, C. Use ...
0
votes
2answers
860 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
1answer
14 views

Route traffic for a single IP out of eth0, the rest out of wlan0 [duplicate]

I have my laptop connected to an internal network on eth0 and an external network on wlan0. How can I configure my routes to forwarded all traffic for 10.1.1.1 out of eth0, and everything else out of ...
3
votes
0answers
25 views

“ip route get” shows wrong source IP address

I have a machine with an interface which has two IP addresses: inet 192.168.1.15/32 scope global eth0 inet 10.10.118.45/24 brd 10.10.118.255 scope global eth0:hosts4 If I execute for example ip -s ...
1
vote
0answers
26 views

IPV6 routing Debian Comcast ISP

I need to build a router with some flexibility to limit and control our intranet, including port forwarding and network balance. The basic IPV4 configuration works fine with the required IPTABLES, NAT,...
0
votes
0answers
12 views

CentOS: Torrent through VPN while still being able to serve web applications

I have a CentOS server with a a torrent client (anacrolix/torrent) and would like all torrent traffic to go through an OpenVPN connection. However, I still need the server to be able to be reached for ...
2
votes
1answer
3k views

Static IP address shifting to 192.168.1.251

I have a system with a static IP address of 192.168.1.150. I configured /etc/network/interfaces manually (i.e. without using NetworkManager.) It is a web server hosting three sites. I am having ...
1
vote
0answers
49 views

Can not reach internet through ethernet interface

Working with Debian 7.10, and wicd network manager, when ethernet cable is disconnected and reconnected again, network no longer works until device is rebooted (ethernet interface [eth0] is not able ...
1
vote
0answers
35 views

enabling ECMP in linux

if i want to use ECMP (Equal Cost Multi Path) in a linux machine acting as a router, is it sufficient to have just multiple next-hop addresses in the routing table for the same destination with equal ...
0
votes
0answers
27 views

Multiple records for the same destination in a routing table

When we use a linux machine as a router and we also use iproute to add two rules for a destination (let's say 123.123.123.123) in the default routing table: e.g. ip route add 123.123.123.123 via 123....
0
votes
1answer
9 views

How to investigate routing of firewall issue?

SERVERA needs to reach SERVERB. we cannot ping SERVERB from SERVERA. we cannot see any open port for SERVERB from SERVERA. Question: in general, how can we find out, that it is a routing or ...
2
votes
2answers
78 views

i don't get ipv6. Why cannot I ping ipv6.google.com?

I am trying to send ipv6 pings from a computer in a LAN. Unfortunately it does not work. It seems that I have an ipv6 address in the LAN, but somehow the ping -Ieth1 ipv6.google.com just prints a ...
1
vote
2answers
90 views

Can not ping other nodes in private network

I am setting up a small cluster (four nodes running ubuntu14) and I have this configuration: # Internet and lab - 192.168.10.0/24 iface eth0 inet dhcp dns-nameservers 192.168.100.1 # privte network ...
5
votes
1answer
5k views

how to understand the routing table on an OpenVPN client

I just setup the OpenVPN and it is working as expected. However, the routing table of the client is confusing me to no end. Here is the route table: # route -n Kernel IP routing table Destination ...
3
votes
1answer
51 views

routing between linux namespaces

I have the following network topology using linux namespaces: .--------.veth0 .--------.veth2 .--------. | ns_snd |------------| ns_mid |------------| ns_rcv | '--------' veth1'-----...
6
votes
2answers
308 views

Looking for elegant iproute2 solution for host w/ 2 interfaces on 2 networks and 3 gateways

I've got a Linux webserver with 192.168.0.2/24 assigned to eth0 and 172.16.0.2/24 assigned to eth1. I must not change this. Here's the routing so far: 172.16.0.0/24 dev eth1 proto kernel scope link ...
1
vote
2answers
2k views

iptables: what the difference between filter and mangle

I am using iptables to to mark the package and want to route based on the marks. First I added the ip rule: sudo ip rule add fwmark 1 prohibit (The "prohibit" is just for test, I will change it ...
23
votes
3answers
36k views

what is the meaning of 0.0.0.0 as a gateway?

Can anyone clarify gateway assignment for me? What is the difference between adding gateway as 0.0.0.0 and assigning a specific ip address as a gateway?
1
vote
0answers
16 views

iptables routing input and forward paths

I would like to know the flow of a packet given the configuration below. Suppose that I setup an adhoc network between my android phone and a NIC on my linux box. I then setup the android phone to ...
2
votes
1answer
3k views

forward packets from one interface to another interface using iptables

I have an embeded system with 2 interfaces e0 and m0, whose ips are 10.0.0.20 and 192.168.0.20, respectively. Incoming packets into e0 have an ip of 10.0.0.10 and should be forwarded to m0 interface ...
3
votes
1answer
930 views

Routing through iptables

I have this vpn client that touches the routing table and then keeps watching it to exit if it gets touched. It is the kind of setup needed for an endpoint, such as a laptop. I want to use a small ...
0
votes
1answer
42 views

bridge or route wlan traffic to eth

Have been trying to make a laptop share its wireless connection via ethernet to other devices, but am getting nowhere. First tried bridging, but soon found out bridging wireless interfaces is not that ...
0
votes
0answers
30 views

Traffic between two separate openvpn servers' clients

I have two Openvpn servers on two separate linux boxes, with different settings and clients. Lets call them server A and server B. When I connect to server A, I want to be able to access server's B ...
3
votes
1answer
58 views

Forward ICMP Ping Packets to Interface

I've got a script that listens for ICMP ping packets (containing data payload) and while this works if you run it from command line, it doesn't work in a Docker container because ICMP ping packets are ...
2
votes
2answers
23 views

AIX - redirect hostname in other subnet via route

I have two servers: one application and one database. They are both connected over two interfaces. One is frontend LAN with 100 Mbit and one is in the backbone LAN with 1 Gbit. Well, planned is that ...
1
vote
0answers
50 views

Why is apache rendering internal ip?

I have apache running on 192.168.0.2 (localhost), and a NAS on 192.168.0.32. When I set apache to listen to port 80, attempts to connect to my external ip produce a connection refused error, while ...
1
vote
1answer
29 views

Ubuntu virtual machine routing problem

Defining the problem is a little bit complicated. So İ will attempt to draw the case: Number 2 is an ubuntu router(virtual box Vm) with three interfaces. Number 1 is a emulated router, and the ...
0
votes
1answer
40 views

Shorewall 4-interface setup

I am trying to use shorewall on Arch to manage a setup with 2 local networks and 2 ISP connections. Ultimately I want traffic from local network 1 (192.168.1.0/24 interface enp5s0) to use ISP 1 (76. .....
1
vote
1answer
588 views

routing table “220” in Linux kernel 3.2.0-23-generic

I have a Linux machine with kernel 3.2.0-23-generic and it has rule with priority 220 in RPDB which points to routing table named "220": T42:~# ip rule show 0: from all lookup local 220: ...
0
votes
2answers
42 views

Unable to SCP to another IP

I am attempting to scp some files from one IP address to another. I entered the command: $ scp file baileyd@*IP*:/home/baileyd/doc and got the response: ssh: connect to host *IP* port 22: No route to ...
3
votes
0answers
191 views

Traffic getting routed through Apache

For some reason, certain outgoing traffic on my server gets routed to the Apache webserver I am running. this problem just started happening. I have the webserver set up to use vhosts, the webserver ...
0
votes
1answer
46 views

Is it possible people use Linux commands to change link locations as you're clicking on them?

In theory, is it possible that people use features included in Linux distros as standard to change link locations as they are clicked, and direct people to different websites. An example of this ...
1
vote
1answer
35 views

How to bypass route path filtering (for ping)?

I know asymmetric is wrong and I do not want to use it. But on the other hand I have Linux server having multiple interfaces (prod, backup, interconnect) and I want to monitor them all - via ping for ...
1
vote
1answer
48 views

Configure my modem not to be a router

I would like to configure my linux box to act as its own router, or maybe the better way to put it is that I want the box to connect to the internet directly with no router. There are some other ...
4
votes
1answer
148 views

What are the requierements to sniff UDP packets in a Wireless Ad-Hoc network?

In a wireless Ad-Hoc network, I have two computers which communicates in UDP together from 192.168.1.3 to 192.168.1.5 I have a third computer (192.168.1.6) which wants to listen to the packets which ...
1
vote
0answers
29 views

OpenVPN with /112 IPv6 subnet, unable to route to eth0 and vice-versa

I'm trying to set up an IPv6-enabled OpenVPN server. The provider only gave me a /64 subnet : 2a06:1700:1::640/64. Here is the OpenVPN configuration : port 1194 proto udp dev tun0 server-ipv6 2a06:...
0
votes
0answers
26 views

Survive Mac address of client after routing

I am developing an application in which it is very important that I can know the mac address of the client hitting the server. Clients are connected to wifi router (W). Multiple wifi routers (W) are ...
0
votes
2answers
239 views

How to route 3 computers in a wireless ad-hoc network?

I have 3 computers: 192.168.2.1, 192.168.2.2, 192.168.2.4 connected into an wireless ad-hoc network. I want all the traffic from 192.168.2.1 to go through 192.168.2.2 when it talks to 192.168.2.3. ...
3
votes
1answer
70 views

Add route from internal network to external network

I am using a box running Arch as my router and firewall (with shorewall). Recently, I tried to add another network onto the system, which failed horribly. After putting everything back where it was ...
1
vote
1answer
39 views

Is there a way to send packets through one ISP and receive answers through another one?

I just finished building my first load balancer that combines two different ISPs. This mechanism works just fine, but it's a little bit limited because a connection can't simply utilize both ISP at ...
1
vote
1answer
52 views

Two ISPs and multipath gateway configuration

I have two different ISPs. I want to set some kind of load balancing setup that will distribute packets to those providers. I know this can be done using different routing tables, but I wanted to use ...