Command line tool for manipulating and listing the routing table.
Questions tagged [route]
620 questions
1
vote
0 answers
route internet traffic through vpn failed (mikrotik, tried ikev2 & gre tunnel)
want to route some internet traffic through vpn, from local site to remote site router(R2)
R1: LOCAL site (750Gr3): LAN / 172.16.1.1/24, gre over ipsec tunnel ip: 192.168.8.1/24
R2: Remote site (CHR, cloud vm): WAN / 172.18.0.4/24,LAN /…

user6308
- 111
- 3
1
vote
0 answers
Tunnel all traffic through VPN except a specific network
I am using openconnect on a remote CentOS 7.5 to connect to a VPN on another network. When I ssh to that machine and connect to VPN, my ssh connection breaks. Both my CentOS and desktop machines are on 10.1.1.x zone. How can I add exception to…

sorush-r
- 151
- 1
- 5
1
vote
1 answer
Configuring route to use 2 different interface for outbound traffic
I have followed many articles available on serverfault but i am not able to manage outbound traffic through 2nd nics in ubuntu 16.04.
other than serverfault i followed -…

sanjayparmar
- 633
- 8
- 19
1
vote
2 answers
OpenVPN tap interface not connecting to server public IP through tunnel
I have a server with 1 interface bridged to tap0. Also a client with 2 interfaces that have public Internet connection (eth1 and eth2) and a tunnel for interface 2, so I can send traffic through tap0 and will actually send data through eth2.
if I…

Jorge Fuentes González
- 191
- 11
1
vote
1 answer
How to route a file to specific gateway?
I have Windows 8.1 Enterprise
I am connected to two internet connections on my PC with this gateways:
192.168.1.1 = my isp gateway
192.168.43.1 = my mobile usb tethering gateway
Now I want to route my "VPN.exe" file to 192.168.43.1 gateway…

alex leiyss
- 11
- 1
1
vote
1 answer
Mikrotik - Route Specific IP over VPN
I have a PPTP VPN connection setup on my Mikrotik router. I would like to route only one IP on my local network over that VPN Connection. All traffic for that IP address can be routed over VPN.
How does one go about setting it up on the Mikrotik…

stoic
- 131
- 1
- 6
1
vote
2 answers
Setting route in Netplan on Ubuntu 18
I'm trying to add a route on an Ubuntu 18.04 machine, but I'm missing something.
Traffic to 89.19.153.0/24 needs to go through 10.32.57.142.
This is the config I'm trying in /etc/netplan/99-netcfg-vmware.yaml
After this I run:
netplan apply
Nothing…

lizlin
- 43
- 1
- 2
- 7
1
vote
0 answers
Secondary IP dropping traffic
I'm running Ubuntu 18.04 with two interfaces on separate vlans. I'm running a web server which is listening on both interfaces. From each of the lans I can connect to the web server.
One of the interfaces has internet traffic being forwarded to it…

simon_dmorias
- 111
- 4
1
vote
1 answer
why changing metric doesn't impact route selection
I have the following output for my default route :
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.167.1 0.0.0.0 UG 100 0 0 enp1s0
192.168.167.0 …

vinczo
- 13
- 2
1
vote
3 answers
Network Configuration
This is my situation:
Router A: IP 192.168.1.1 Mask 192.168.1.0/24 - Connected to the internet.
Server:
- Interface eth0: inet addr:10.1.1.125 Mask:255.255.255.0 (connected to router B)
- Interface ra0: inet addr:192.168.1.125…
Dario
1
vote
3 answers
How do I make my default GW route permanently on Linux Ubuntu?
I have 2 EC2 instances that run Ubuntu (VM1: 172.0.1.11 and VM2: 172.2.1.12).
I want to make a default Gateway to my Routers R1which its addresses are the following respectively 172.0.1.8and 172.2.1.13.
In VM1: I did sudo ip route add default via…

Tim Luka
- 147
- 2
- 8
1
vote
1 answer
Routing via gateway to another subnet
Unfortunately I have very little practice with routing in linux and also I was not able to properly phrase my issue for a search.
So I will explain the issue here. In the picture below you see the topolgy of my network. The goal is that the client…

Daniel Messner
- 131
- 1
- 2
1
vote
1 answer
How to route internet to an interface ppp0 that I called to?
My scenario is:
host1 has internet connection through interface eth0;
host1 dial up host2 and establishes a PPP connection with it;
host2 has no internet access;
host1 needs to share internet connection with host2 using this interface ppp0;
So, I…

Thiago Melo
- 111
- 1
- 5
1
vote
1 answer
Windows 10 route change a single route
among other routes I have one that looks like this:
Network Destination Netmask Gateway Interface Metric
192.168.244.7 255.255.255.255 192.168.244.80 192.168.244.24 125
I would like to only change the Gateway…

TheBigOnion
- 113
- 4
1
vote
2 answers
Docker Host with multiple VLANs
Background Information
I have a server with one physical network interface that is running Docker.
This interface is configured as a 802.1Q trunk. To avoid asymetric routing I configured routing tables for each subnet.
Thats my interfaces…

Mark
- 13
- 1
- 5