Command line tool for manipulating and listing the routing table.
Questions tagged [route]
620 questions
0
votes
1 answer
systemd: Why "ens3: Could not set route: Network is unreachable" when default route is valid?
Recently my VPS hosted at OVH abrutly lost connectivity. Upon further inspection, systemd-networkd was failing to set default route: ens3: Could not set route: Network is unreachable. It isn't clear to me why this is happening suddenly as…

bugzbunny
- 21
- 5
0
votes
1 answer
Adding a route for local network to bypass VPN doesn't work
I'm using a VPN which use Bitmask to create the tunnel. I'd like to access my local network and hence added a route using ip route add:
ip route add 172.16.0.0/16 via 172.16.46.1
I got the the gateway by using ip route show | grep default which I…

abhijeetviswa
- 1
- 2
0
votes
0 answers
Allow devices in in a VPN direct access to the internet in AWS
Is it possible to route all traffic from a site-to-site VPN connection to the public internet?
Currently, I have set up Squid as a proxy. Since I need to forward also non-http/s protocols I would prefer that the devices connect directly to the…

Mark
- 103
- 5
0
votes
1 answer
Docker Linux network topology using route tables and arp
I'm working with a network of docker containers. C1's routing table is below, it's default gateway 172.17.0.1 is the docker bridge. It's eth1 interface is connected to eth2 in C2 and it routes all destinations with a prefix of 192.1 to eth2 in…

gary69
- 119
- 1
- 7
0
votes
1 answer
ping vpn client from openvpn server hosted on AWS
I am very new to vpn and aws. I set up an openvpn instance from AWS marketplace and launch as default. I generated my client.ovpn files and successfully connected to my aws openvpn server.
From my client pc I can ping the aws openvpn server…
0
votes
2 answers
How to make 192.168.2.* accessible from 192.168.0.* ? (VPN)
Goal:
Make 192.168.2.* Accessible from 192.168.0.*
Situation:
I have a remote site (Network B) with an OpenVPN server built into the router. On my end I have a network (Network A) with a VPN client connected to the remote site (Network B). The host…

etho201
- 101
- 2
0
votes
1 answer
How to add route outside vpn
I have a VPS running a ubuntu 18.04
I have setup pritunl server.
On this VPS I have as well 2 clients from others VPN.
netstat -rn
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 93.XXX.96.1 …

plopes
- 11
- 2
0
votes
1 answer
For route command output, what does an asterisk under interface column mean?
For my Kubernetes nodes, I see following entry with a star under the interface column. I do not see this mentioned in "route" command's documentation. The only star mentioned there is for gateway. This entry has been created by Calico for the…

user6317694
- 131
- 3
0
votes
1 answer
Add/Change the 'src' component of a route get from RIPv2 advertisement
My Linux will get dynamic route entries from neighbor routers sent by RIPv2 advertisement. My Linux is running Qugga and the advertising routers are Cisco on which I have no control.
I will get a route like below automatically inserted into the…

Woody Wu
- 191
- 1
- 9
0
votes
1 answer
Need to create route to bypass VPN which allocate full traffic as default route
I have 2 VPNs: utun0 and ppp0.
ip r s
default via 175.15.105.123 dev utun0
default via 192.168.0.1 dev en0
127.0.0.0/8 via 127.0.0.1 dev lo0
169.254.0.0/16 dev en0 scope link
10.0.15.0/24 via ppp0 dev ppp0
When i connect to utun0 then ppp0 stop…

Rinat
- 111
- 4
0
votes
0 answers
Adding secondary IP to Ubuntu Server
I have primary IP address aa.bb.53.34 on my Ubuntu Server 16.04 on eno1 interface. I want to add additional IP address from another network xx.yy.95.4 to the same machine and make this machine accessible by both IPs. I did following command:
ip addr…

user128048
- 101
- 1
0
votes
0 answers
OpenVPN routing problems
I am configuring my OpenVPN server and my idea was to make different subnets for different needs:
My main subnet for unprivileged DHCP users is 10.110.131.0/24
On server it is configured that way:
server 10.110.131.0 255.255.255.0
Then I made some…

R3Natas
- 1
0
votes
0 answers
add common route to multiple vlan in centos
I have 2 lan cards in my centos 6, one for internet and another for vlans.
I have configured 4 vlans:
ifcfg-eth1.10
DEVICE=eth1.10
BOOTPROTO=none
TYPE=Ethernet
ONBOOT=yes
HWADDR=00:00:00:00
IPADDR=10.0.0.1
NETMASK=255.255.255.252
VLAN=yes
same…

vinod mapari
- 1
- 1
0
votes
0 answers
Preventing Windows Server 2012 from adding default route
I have a WSUS server on a machine with 4 NIC ports. I have added a permanent route which "most of the time" forces the WSUS to use the desired NIC to get updates from Microsoft. (route -p add 0.0.0.0 mask 0.0.0.0 192.168.50.1 metric 1)
But when…

Whitekn3
- 1
- 1
0
votes
0 answers
CENTOS 7 - Auto block IP with null routes
Whenever I notice overload on my media (videos) server, I check for ddos with this command from netstat:
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
It shows currently established connection number by IP.
Basically, for…