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

OpenVPN not working because gateway is not set

On a Debian machine I was having problems connecting to a openVPN server. The connection could be established, I would get an IP, but I could not get traffic via the VPN. Some searching led me to ...
-1
votes
0answers
18 views

cant connect after firing sudo route -f command

I was trying to fetch routing table information and executed "sudo route -f" on UNIX server, now it doesn't let me connect to server remotely. Can somebody please explain what are the consequences of ...
1
vote
2answers
30 views

How to make ifcfg script “run” the exact commands I need?

On a fresh Fedora 24 install, I want to disable NetworkManager since I have a static IP and hate daemons. If I do this after startup (as root), everything works fine: ifconfig enp1s0 192.168.0.3 ...
0
votes
0answers
17 views

Problem pushing route to network behind OpenVPN

I have a kind of complicated infrastructure to be able to access a router running OpenWrt which is behind the NAT of my school.The router is connected via Ethernet to the 10.0.5.0/24 network.This is ...
3
votes
2answers
49 views

Connecting two Windows clients on seperate subnets through a Debian router

I have two Windows environments on different subnets (192.168.1.80/30 & 172.16.21.0/25), both statically assigned with addresses connecting to a single Debian router with two NICs. I've assigned ...
0
votes
0answers
16 views

Reach OpenVPN Server from local network once connected

I've installed an OpenVPN Server in my VPS with CentOS, it's working fine. I can connect from Windows and navigate with internet connection, but I want to be able to reach my VPS from the local ...
1
vote
1answer
43 views

Making routing table changes permanent

This question is related to How to make my ethernet network printer visible to other laptops? Part of the solution to that post is running ip ro add 192.168.2.5/32 dev eth0 Now I have a new problem - ...
1
vote
0answers
26 views

Force datagram reassembly

Long story short: It is possible reassemble fragmented IP datagrams on Linux station which isn't datagrams destination? What I want exactly. I have two vmware servers which communicates between each ...
0
votes
1answer
9 views

Port forwarding to two different VPN clients on the same server

I have a OpenVPN server with two clients attached. The clients do not have public IP addresses, so the only way to SSH into them is through the VPN. The machine running the server is behind a router ...
0
votes
1answer
32 views

OpenVPN server configuration

I have an OpenVPN server running, clients can connect to it and access internet, but all of the clients get 10.8.0.6 ip address, so they can't ping each other. I'm not sure, but I think that the ...
3
votes
3answers
64 views

Can't change the default gateway with static IP

I have this server for a while, and was present on other questions. A while ago, I've changed the network and the gateway IP was changed too. Since then, there is no internet on this machine. I need ...
1
vote
0answers
25 views

Can I use multiple OpenVPN connections to speed-up transfer?

I have OpenVPN server on my home LAN. It is connected to Internet via two internet providers with NAT and fixed global IPs. So, I configured my server to listen connections from outside of both ...
1
vote
1answer
39 views

Tunneling IPv6 traffic from SLIP in linux

For a past few days I have experimented with 6loWPAN technology. Now I cant continue my experiments due to lack of experience with linux and computer networking. My setup is following: I have ...
1
vote
1answer
36 views

Restrict guest Wi-Fi to Internet

First, I am not an expert in Unix/Linux, but I know my way around. I used this link to set up my Raspberry Pi (with Raspbian jessie) to have a access point on the Wi-Fi interface, which reroutes ...
1
vote
1answer
34 views

Add default route without gateway nmcli

I'm trying to configure NetworkManager to perform the following action for an interface ip route add ::/0 dev he-ipv6 he-ipv6 is a point-to-point ipv4 sit mode tunnel and running the above command ...
3
votes
1answer
24 views

IP Packet sniffer/filter/manipulator using TUN interface

In summary Packets which are read from a TUN interface, do not find their way when they are written back to the same TUN interface. In full Scenario: On a machine with only 1 NIC (eth0) which is ...
3
votes
0answers
23 views

Allow KVM guests on virsh virtual network to access the real internal network

I have a home network 192.168.1.0 behind a router 192.168.1.1. A set of existing Linux and Windows hosts are on this network, most on wired ethernet connections. I am configuring a new server that ...
0
votes
1answer
30 views

Connecting to VPS after it has connected to VPN

Here's my scenario. I've got a VPS running on the cloud and it works fine. I recently signed up with a VPN and I've been using it on my machines. I wanted my VPS to also use the VPN but once I ...
0
votes
0answers
8 views

Routing Packets from Virtual Honeypot on Loopback Interface

I'm trying to remotely communicate with a virtual honeypot, created via Honeyd, on the loopback interface of an Ubuntu 14.04.5 server. I can't seem to figure out the correct route/postrouting rule to ...
0
votes
0answers
19 views

isolating traffic on the same subnet

I have created a debian based VM to test and benchmark 3 different networks on the same gateway: I have one dsl interface, another dsl interface, and a tertiary interface (turned off). I setted up ...
0
votes
1answer
45 views

Change default gateway for specific program?

I have a machine hosted in datacenter with 3 network interfaces. Interface network ip address eth0 192.168.1.0/24 192.168.1.10 eth1 192.168.2.0/24 192.168.2.10 eth2 192....
1
vote
1answer
85 views

Routing packets from one interface to another

Summary Of The Problem Here is a routing table on a linux computer: root@computer:~# ip route show default via 192.168.1.1 dev eth0 10.0.0.200 dev tun0 proto kernel scope link src 10.0.0.100 ...
1
vote
0answers
16 views

Routing Mobile connections for multiple uplinks

I have a MBIM LTE modem with 2 network interfaces (one is a VLAN) and I am trying to configure both connections, given that IPs, Gateways, etc. are obtained through MBIM protocol, so the routing is to ...
1
vote
0answers
20 views

Trying to “reverse proxy” requests to a VPS IP to an internal server over OpenVPN, how to do the routing tables automatically?

Brief description I've got two systems, a VPS which is connected directly to the internet, and a system in my basement behind my router (NAT). I'd like to take the VPS and forward all requests on one ...
1
vote
1answer
61 views

How to route all traffic of wlan0 to eth0 in Ubuntu?

I'm trying to route/bridge/forward (no matter what kind of trickery) all the traffic from wlan0 to eth0. My setup should look like this: |wireless network| > |wlan0| > |eth0| > |router| > |another ...
0
votes
2answers
42 views

How can I view IPv6 router advertisements that are being received by my computer for diagnostic purposes?

How can I view IPv6 router advertisements that are being received by my computer for diagnostic purposes? Are there any tools "built-in" to the majority of distros?
0
votes
0answers
57 views

Linux as router, bandwith degradation when using IPv6

I have a Linux 3.1.6 kernel as a router on a server with two CPUs Xeon E5405. The machine have two 1 Gbps network interfaces (Ethernet). We have several networks, two of them are 10.0.0.0/20, 10.1.0.0/...
1
vote
1answer
141 views

Routing Between Multiple Subnets

Let's say I want to create an internal network with 4 subnets. There is no central router or switch. I have a "management subnet" available to link the gateways on all four subnets (192.168.0.0/24). ...
1
vote
1answer
23 views

Check list of IPs against routing table and show which gw/dev each is accessed through

I have a long(ish) set of rules in my routing table, and a list of ip addresses. I'm looking to end up with output like CSV data, with the first column being the ip addresses from the original list, ...
0
votes
1answer
52 views

How are default values for routing table entries in Linux set?

This is excerpt from my ip route command: 192.168.1.0/24 dev enp1s0 proto kernel scope link src 192.168.1.2 metric 100 192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.14 ...
0
votes
0answers
41 views

Does my iptables command change the header fields in matching packets?

I don't understand what this iptables command actually does. Can someone explain? iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 10000 I do understand that tcp ...
1
vote
2answers
94 views

Can OpenVPN create the default route if it doesn't exist?

I have created a network namespace under Ubuntu 14.04.5, with a plan to run a VPN inside that (using OpenVPN 2.3.2 and a config file). The idea is that no traffic can be routed out of the namespace ...
0
votes
1answer
78 views

Rerouting traffic from OpenVPN client for local-only access

I have installed OpenVPN on my server on which I also run git and web server. My initial idea before I got into installing was to be able to enable visiting of some websites only to VPN clients and to ...
3
votes
1answer
38 views

Linux routing manual/book/lecture/tutorial/videos for a Cisco guy [closed]

I'm a Cisco CCNP who has moved from an ISP to a smaller company whit no Cisco equipments: using Linux boxes instead for routing and firewalling purposes. Beside the fairly common configs of ip ...
1
vote
0answers
46 views

10GBit Ethernet network mesh switch with brouting and “VLAN”

I want to create a mesh network with 10GBit Ethernet links between servers and a switch stack capable of distributed trunking. In this scenario for a number n>2 (but typically 2<n<6) imagine:...
0
votes
1answer
23 views

How to configure two USB2ethernet to connect two BBB based embedded linux board

I have two usb2ethernet and two BBB based custom boards, I want to connect to both of them using ssh from my Ubuntu machine, I am able to connect to one but for other one I am not able to ping, I ...
2
votes
1answer
128 views

Disable IP fragment reassembly in forwarded datagrams

For some kind of testing, I configured a Linux as a simple router (IP forwarding enabled, some routes and no iptables rules). In the interface "A", I receive fragmented IP datagrams due to I have ...
1
vote
1answer
96 views

Prerouting SSH to a different internal port

I'm working on local git project and I'm running separated SSH service on port 2222 with non-root user. Along that I'm using ufw firewall and opened port 2222 - I opened it just for testing if ...
0
votes
0answers
49 views

Single NIC router?

My current networking/internet setup is two ISP provided routers, one acting as a modem (WAN), the other as a switch with WiFi (LAN), between them is my Debian Linux box that routes as well as acts as ...
1
vote
1answer
144 views

Linux routing two different LANs with two different gateways

I have two different networks (separate LANs), each with their own ISP gateway, that I want to cross (users from one LAN to reach the other LAN). The ISP gateways are stupid branded home gateways ...
0
votes
0answers
32 views

Networking setup

I am trying to achieve following setup and am struggling with network configuration: How can I make sure that host is accessing WAN through VM and never through Ethernet directly? (My hardware does ...
1
vote
0answers
86 views

create a specific route with systemd-networkd

I am trying for days to setup a specific route with systemd-networkd. And it all fails. [Match] Name=en* [Network] DHCP=yes IPv6PrivacyExtensions=kernel IPv6AcceptRA=true [Route] Destination=2001:...
1
vote
0answers
15 views

netbios routing

After a long time, I understood that isn't possible to routing netbios. My scenario: server1 192.168.100.212 <--> server2 192.168.100.213 (with 2nics 192.168.100.0/24 and 192.168.30.0/24) - static ...
2
votes
1answer
41 views

OpenBSD with only a /32 repeatedly deletes its static route to the world

I have OpenBSD 5.9 on a virtual private server. Like other people in these days of No More IPv4 Address Space For You, the machine is allocated only a /32, i.e. a LAN of just a single IPv4 address. ...
0
votes
0answers
173 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 ...
1
vote
2answers
105 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 ...
1
vote
0answers
54 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 ...
3
votes
1answer
97 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 ...
0
votes
2answers
64 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
33 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 ...