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
2answers
21 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 ...
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 [on hold]

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
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
22 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 ...
1
vote
0answers
32 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
16 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
0answers
26 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
77 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
85 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 ...
3
votes
1answer
46 views

routing between linux namespaces

I have the following network topology using linux namespaces: .--------.veth0 .--------.veth2 .--------. | ns_snd |------------| ns_mid |------------| ns_rcv | '--------' veth1'-----...
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 ...
0
votes
1answer
41 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
28 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
57 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
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
2answers
41 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 ...
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 ...
0
votes
1answer
39 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
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 ...
1
vote
1answer
32 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
0answers
27 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 ...
1
vote
0answers
48 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 ...
3
votes
1answer
65 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
38 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
51 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 ...
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. ...
0
votes
0answers
47 views

ubuntu 14.04 create route to multicast stream server and have access udp://239.255.0.169:5500

My server is ubuntu 14.04 server edition and I am trying to re stream existed multicast stream by my server : Multicast stream server is using udp://239.255.0.169:5500 destination ip. On my side I ...
0
votes
0answers
67 views

Set up a preferred network interface on Debian/Raspbian

I have a Raspberry Pi that is connected by Ethernet to DSL (eth0) and I also have some 3G/4G dongles that I am testing for fallback, in case the RPi loses the wired connection. In other words, I would ...
0
votes
0answers
24 views

How can I set up my ethernet on a fresh install of Fedora Server 23?

I am using Fedora Server 23, and cannot get my ethernet connection to work. It works fine on Ubunutu, OS X, and Windows 7 on the same machine. [root@localhost etc]# ifconfig ens5: flags=4163<UP,...
3
votes
0answers
33 views

No “unreachable” response for an outgoing TCP connection when using fwmark and policy routing

I would like to route locally-generated traffic: to a TCP port "A" of host "H" via the interface "A", to a TCP port "B" of host "H" via the interface "B". Interface "B" is sometimes unavailable. ...
2
votes
1answer
119 views

How to add marks together in iptables (targets MARK and CONNMARK)

When you want to mark a packet in iptables, you would generally add the following line to your firewall script: iptables -t mangle -A POSTROUTING -p tcp -m multiport --dports 80,443 -j MARK --set-...
0
votes
0answers
24 views

Trace route taken through multiple simulated link clicks on the Linux command-line

I have a Twitter post which links to a website. The website has a counter on it that checks the number of people who have accessed the page. However, I noticed that when looking at the Twitter ...
1
vote
1answer
54 views

bridge-routing and martian packets

i am experimenting with routing a bit, and now i have a problem i cannot solve by myself eth0 | | ...
2
votes
1answer
50 views

Remove route from routing table by position

I know how to delete a route from a routing table providing all of the route's details (ip r d ...). Is there any way to list routing table with some kind of indexes and then delete from its ...
0
votes
2answers
34 views

Configuring 2 NIC with 2 gateways

Lets say my router has a LAN (192.168.0.1/24) and a DMZ (192.168.1.1/24). My computer has 2 NICs, one for LAN and one for DMZ. How can I configure my routes so that it uses both gateways instead of a ...
0
votes
1answer
85 views

Show kernel routing exception entries (FIB)

Linux 3.6 removed the ipv4 routing cache (commit). Changelog says: Remove the ipv4 routing cache. Now lookups go directly into the FIB trie and use prebuilt routes cached there. According to ...
1
vote
0answers
66 views

How add configure to add default gateway from different subnet?

I am working in a host in LAN segment of 192.168.148.X with subnet mask 255.255.255.0. The LAN should be configured to use 192.168.128.1 as default gateway. What I normally do is to issue following ...
3
votes
1answer
126 views

PPTP VPN not working with Linux router

ORIGINAL: I've just switched from an old Linux install (Debian squeeze) to a new one (Linux Mint 17.3) for my router (I am using a full desktop PC with a Linux install as my router). The Linux PC ...
1
vote
0answers
67 views

How to route packets between private networks on linux?

Hello! I need to connect 3 networks. Here is what I did: for the "left" host ip route add default via 192.168.26.4 ip route show default via 192.168.26.4 dev enp0s3 for the "right" host ip ...
1
vote
0answers
31 views

Why does a connection from my LAN to my public IP address fails?

I have an OpenVPN server on server. It is available from Internet via a two NATs: first the ISP box relays to 192.168.0.10, then 192.168.0.10 relays to 10.10.10.254 (relays = DNAT). I can connect ...
1
vote
0answers
75 views

How to make load balancing work from the pfSense box itself?

pdSense is a special distro of FreeBSD for routing. It supports limited multi WAN load balancing, i.e. it is possible to configure pfSense so that each next request will connect via different WAN ...
0
votes
1answer
85 views

How to route IPv4 traffic from an interface to another

I connected my Pi to my home computer through an Ethernet link. My computer is connected to the Internet by a wireless connection. And I'd like to route all Internet traffic from my Pi by my computer. ...
1
vote
0answers
17 views

OpenVPN maintain connection state during tunnel reconnect

Sometimes I want to do a short maintenance like restarting a tunnel, all connection running on top such as file transfer...etc will receive connection lost signal, is it possible to maintain those ...
1
vote
1answer
27 views

How Would I Appropriated Add this Route?

I've got an ASUS RT-AC66u running an OpenVPN server working fine. But on my debian server I have to add a route or else I get no responses. Just curious if there is a way to add the route to the ...
4
votes
0answers
20 views

Routing policy is not working

I have an Access Point with OpenWrt. On other host of the same LAN there is a squid (IP Address 192.168.80.148). I'd like to route packages with destination port 80 to 192.168.80.148. So I have root@...