Command line tool for manipulating and listing the routing table.
Questions tagged [route]
620 questions
1
vote
0 answers
IPv6 multipath routing with configurable weight
With Linux kernel 4.14, when I add IPv6 multipath routes with weights (10 & 30), they are getting added with same weight '1'. IPv4 route does not have this issue.
I checked with exact same steps in a different machine with Linux kernel 4.19, where…

m.divya.mohan
- 333
- 1
- 6
1
vote
0 answers
Static route gives "Destination host unreachable" error
I have a server (Windows Server 2012) with 2 network interfaces.
One with a 172.0.0.0 network, which has the default gateway (172.16.8.254)
And one with a 10.0.0.0 network, no gateway set.
Since by default, all communcation wil go through the…

Gilles Lesire
- 243
- 1
- 3
- 13
1
vote
0 answers
How to find the route that has internet connection and set it as default (lowest metric) with NetworkManager (Ubuntu)
~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.30.102 0.0.0.0 UG 100 0 0 eth0
default 192.168.137.1 0.0.0.0 UG 101 …

Aminos
- 111
- 2
1
vote
1 answer
Routing traffic away from a VPN connection
I'm using a VPN which takes all my traffic by default. For some addresses, I'd like my computer to avoid using the VPN as it is slowing down the quality of the connection. The addresses for the service are 13.107.64.0/18, 52.112.0.0/14 and…

joejag
- 113
- 2
1
vote
0 answers
How to make Linux kernel send ARP requests down multiple network interfaces with overlapping subnets?
I have a Linux PC with the following physical network interfaces:
Primary LAN/Ethernet port used for most traffic.
Ethernet (from external device) to USB (into my PC), used to connect to a single external device that has a static IP. The PC's…

pleasedesktop
- 201
- 1
- 4
- 9
1
vote
0 answers
OpenVPN sets wrong metric on TAP interface
OpenVPN client: 3.2.1(1180) (Windows 8.1 x64)
TAP1 v9 Windows - metric manually set to 1000, just in case
Realtek RTL8192CU Wireless LAN 802.11n - main network card, metric manually set to 10
OpenVPN server: 2.4.7 (Ubuntu 20.04)
in…

1000Gbps
- 121
- 1
- 6
1
vote
1 answer
How do I use a hostname instead of IP address when making a "route" entry?
I need to make it so that two hostnames use a specific network interface. That is, so that any connection from my computer to those two hostnames go through that specified network interface. Windows 10.
Somebody told me to use the "route" command,…

Yeniel
- 11
- 1
1
vote
1 answer
two tap device connect each other in same pc
What I want to implentent is something like below.
192.168.1.1 192.168.1.2
+--------+ +----------+ +-----------+ +---------+ +---------+
| APP0 +<---->+ tap0 …

randomeval
- 111
- 2
1
vote
1 answer
NetworkManager adding extra default gateway
Using NetworkManager, I am trying to setup multiple interfaces on different VLANs; the primary interface, em1, is used on a development VLAN; the secondary interface is on a dedicated iSCSI VLAN.
I am using kernel arguments to launch the host from…

Matt Clark
- 685
- 1
- 10
- 26
1
vote
1 answer
Route Table Multiple Subnet Entries?
So just as a bit of context, this is for a VM running that does call processing. So I was looking at the route table on the VM, and noticed that it has this:
12.12.12.64/28 dev bond15 proto kernel scope link src 12.12.12.12
12.12.12.64/28 dev…

Steve Fowlkes
- 11
- 1
1
vote
2 answers
Could not set DHCPv4 route: Nexthop has invalid gateway. Network is unreachable
/etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
ethernets:
ens192:
dhcp4: true
version:…

αԋɱҽԃ αмєяιcαη
- 113
- 1
- 6
1
vote
0 answers
Manual route doesn't work in Windows 10
I'm struggling to make a static route working in Windows 10 and on a specific PC: it doesn't seem to do its job.
Here's the route table before:
C:\WINDOWS\system32>route…

virtualdj
- 111
- 3
1
vote
0 answers
linux multiple nic same network cannot ping
Basically I have linux with 2 NICs on the same network. The second NIC cannot see anything except for 192.168.3.1
eno1 192.168.3.25
eno2 192.168.3.26
The following scenarios fail:
1. ping -I eno2 8.8.8.8 (or any outside IP)
2. ping -I eno1…

Aaron
- 11
- 1
0
votes
1 answer
ssh/tcp no route to host admin-prohibited
I have two servers, .105 and .104, and I am trying to troubleshoot 'no route to host' issues when .105 tries to connect to .104 over ssh or tcp.
.104 has a service running on port 16000. .105 used to connect to .104 via port 16000 but .105 had to…

Diana
- 1
- 2
0
votes
1 answer
Unable to connect to internal network through VPN
I am using two routers, one for connecting through VPN, and the other for internal network. My issue is after I connect via VPN, I can't access the internal network in other router. Here's my setup:
DrayTek Vigor 2832n
Used to connect to outside…

abuhun
- 11
- 2