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
8 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 ...
0
votes
0answers
21 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
27 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 ...
2
votes
1answer
32 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 ...
0
votes
0answers
6 views

radvd “received RS or RA on $iface but $iface is not ready and setup_iface failed”

Clients don't get theirs ip`s. Errors in /var/log observed: version 2.11 started May 25 15:51:22 user-VirtualBox radvd[10570]: Starting radvd: radvd. May 25 15:51:24 user-VirtualBox ...
1
vote
1answer
35 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
35 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
231 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
24 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
32 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
18 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: ...
3
votes
0answers
29 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
60 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 ...
0
votes
0answers
21 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
31 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
34 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
30 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
34 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
46 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
89 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
46 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
25 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
41 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
64 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
14 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
25 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 ...
3
votes
0answers
16 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 ...
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
votes
0answers
31 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 ...
0
votes
1answer
61 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
36 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 ...
3
votes
0answers
123 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
54 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
44 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
24 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 ...
0
votes
0answers
36 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
16 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?

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
23 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
110 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
34 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) ...
2
votes
0answers
46 views

Why could policy routing on iptables marks applied in FORWARD or OUTPUT chains be inconsistent?

I am routing HTTPS connections down a SSH tunnel (-w) using iptables marks and iproute2 rules, the reasons I need to do it this way are contrived, to say the least, so most alternate solutions may not ...
1
vote
0answers
34 views

Centos 6.x multi-homed routing question

I have a conundrum and would like to hear any pointers (been working on this for 2 days now, and need to get this server in to production). My "google-foo" has not been strong with this ...
1
vote
1answer
249 views

OpenVPN - Understand the routing table + How to route only the traffic to a specific ip via the VPN

I'm connecting to a VPN service using OpenVPN and everything works fine. Once I connect these are the rules that automatically are set: root@linux:~# ifconfig eth0 Link encap:Ethernet HWaddr ...
1
vote
1answer
35 views

Which network interface is used if they are both the default gateway?

In this example below on my Linux machine, I have an Ethernet and Wifi interface established. Here is the route output: Kernel IP routing table Destination Gateway Genmask Flags ...
0
votes
1answer
169 views

Linux Source Routing, Strong End System Model / Strong Host Model?

Can a multihomed Linux machine implement a true Strong ES Model? Specific Use Case I have a system with five different interfaces, each connected to the same subnet, thus the same gateway to the ...
0
votes
1answer
103 views

Does “ip_forward” need to be enabled for any iptables SNAT/DNAT (postrouting/prerouting) rules?

I remember I had to enable ip_forward kernel parameter in the past in order to run SNAT/DNAT rules in iptables successfully. Today I was reading this post: ...
0
votes
0answers
22 views

iptables: route back to source

How can I have iptables route a source back to its source on the same requested port? Example: X.X.X.X comes in on port 22; I want to route X.X.X.X back to X.X.X.X on same requested port; how do I do ...
0
votes
2answers
37 views

IP routing not working

I configured network bridge for my VM. VM can ping host but can't ping anything from internet. My configuration: # ip route default via 192.168.1.100 dev wlp3s0 192.168.1.0/24 dev wlp3s0 proto ...
0
votes
0answers
64 views

Centos 7 persistent static routes for any interface

I am trying to set up some static routes in a CentOS 7 box. The official RHEL says it is possible to add files in /etc/sysconfig/network-scripts/route-interface. This approach works, however I need ...
0
votes
0answers
60 views

How to route mail server from both intranet and internet?

We have a mail server configured in Ubuntu 12.04 with postfix, dovecot and roundcube. It has two interfaces, one with real IP and one with private LAN IP. Incase of intranet we have branches and head ...