1 vote
Accepted

Allowing a route to/from network when there are multiple networks

TL;DR ip route add 192.168.117.64/26 dev onboard-10Gb-1 table 1000 ip route add default via 192.168.117.65 dev onboard-10Gb-1 table 1000 ip rule add from 192.168.117.70 lookup 1000 For more details, ...
A.B's user avatar
  • 12.7k
1 vote

What is the difference between route add x.x.x.x via gatewayip and route add dev interface?

In the second form (ip r a 8.8.8.8 dev eth0) you did not specify a gateway, so to which router the packet should be forwarded to? Not knowing any gateways, your server simple replies with "...
shodanshok's user avatar
  • 50.5k
1 vote
Accepted

How to set routes on a linux EC2

For example: route add -net 10.0.0.0/24 gw 10.16.101.1 metric 100 dev ens192 Usage: inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M] [mss Mss] [window W] [irtt I][mod] [dyn] [...
Сергей Владимирович's user avatar
1 vote

netplan does not implement the route to gateway, in Ubuntu 22.04

don't have enough points to comment. I had the same problem, thinking some netplan or ubuntu system issue, turned out that I had a typo on gateway being 192.68.1.1 instead of 192.168.1.1 in Yaml ...
XKEY's user avatar
  • 11
1 vote

Allow Docker containers to use IPSEC VPN on host

It's been a while that this answer has been updated. Based on @ChristopherBrichford's answer you can redirect the docker0 network to the VPN with the following command. It's a bit different from @...
RJD22's user avatar
  • 111
1 vote

Freebsd change default Internet channel route

Looks like you have something else in your routing tables. Have you tried to look at the route with the route command to see if it's using the default route or something else ? route show 8.8.8.8 It ...
cpu's user avatar
  • 11
1 vote

How to route UDP traffic from one public IP (linux) to another public IP(Windows)

This is an alternative UDP redirector for MacOS and Linux; in addition to the usual source / target, it supports specifying the source / destination interfaces, as well as dropping martians (UDP ...
Dan Podeanu's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible