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, ...
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 "...
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] [...
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 ...
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 @...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
route × 617networking × 156
linux × 154
iptables × 108
vpn × 77
ip × 74
openvpn × 73
routing × 72
linux-networking × 44
gateway × 38
ubuntu × 37
windows × 35
nat × 29
debian × 26
static-routes × 26
centos × 24
subnet × 20
iproute2 × 19
ifconfig × 19
interface × 18
router × 16
bridge × 16
ping × 14
ip-routing × 13
cisco × 11