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
13 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
25 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
25 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
40 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
19 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
22 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
45 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
37 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
46 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
26 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
20 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
44 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
45 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
37 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
45 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
235 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
43 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
50 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
22 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
31 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
87 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
45 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
39 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
57 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
57 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
110 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
56 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
29 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
62 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
68 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
16 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
26 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@...
2
votes
0answers
15 views

ipv6 rule priority duplication

When I add ipv4 policy rules using ip rule add the resultant rules get added to the end of the policy table with decrementing priority from 32767 eg: # ip rule add lookup 8 # ip rule add lookup 9 0:...
0
votes
0answers
33 views

Centos static route

I have a load generator running on a Centos client and I need to alter the routing table on that client to send all traffic destined to a particular server(192.168.7.215) through a WAN emulator(192....
0
votes
1answer
78 views

Routing traffic with multiple NICs on Ubuntu

I currently have a workstation set up with two NICs on separate networks. My current setup is this: eth0: LAN eth1: Outside internet I have a default gateway set up on eth1 to reach the outside ...
1
vote
0answers
38 views

Browser issues with VPN

I have a VPN setup which usually works completely fine. However, when I connect to my VPN server via some wifis, Firefox and Chrome seem to run into issues and aren't able to open websites anymore. So ...
4
votes
0answers
159 views

iptables and ip forwarding for failover

hi i have an ethernet nic interface with 4 additional virtual interfaces (failovers) all configured with public ip4 (IP-1 to IP-5) / netmask 255.255.255.255 / broadcast addr same as ip: eth0 -...
1
vote
1answer
61 views

Which components update routing table?

I am experiencing strange behavior on Arch Linux, when various virtual network interfaces lead to undesired automatic updates to the routing table. For example, when I start KVM. Before (network is ...
0
votes
0answers
55 views

pptp: possilbe to push routes to windows client?

I use pptp (PopTop) as default from Ubuntu 15.10, I try to push some routes to windows clients. Ad I 've read, it should be possible using a dhcp server instead of the internal address configrations. ...
0
votes
0answers
27 views

Setting up VPN on Linux

I have problems setting up networking on my laptop over VPN. I need to connect from my home to VPN which has the same IP address space as my home network. My network: 192.168.0.0/24 Other side of ...
1
vote
0answers
45 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
0answers
20 views

Is there a tool or a command to change the “tagtype” from VLAN tags (single and double tag) before sending the frame over a VLAN Interface? [closed]

I have to talk to a device in a VLAN network. It requires that the tagtype field of both VLAN tags are the value 9100 or it refuses to answer. Thanks
-2
votes
1answer
28 views

Execute command with specific routing (ip/iptables)?

I saw great solution for binding application based on some routing table alias... not sure now what it was, but for sure with ip, route or iptables tools... anybody knows the procedure? What was the ...
1
vote
0answers
143 views

Force OpenVPN to route all traffic through one IP address (2 IPs on same NIC)

I've trying to dig up a solution for this, but all I keep turning up is how to bind OpenVPN to a particular hardware interface. Not quite what I need to do here. I run a server and I have 2 IPs at my ...
0
votes
1answer
38 views

How to switch generic routing to source routing?

I will need to do source routing and before going into more complicated setups I want to understand how this works by switching the generic routing (the one created magically by the networking setup) ...