Route
Links[Bearbeiten]
Linux[Bearbeiten]
ip route add default via 10.10.10.1 dev eth0
route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1 dev eth0 route add -host 178.254.55.44 gw 10.0.47.9 dev wlan0 route del -net 172.17.0.0/16 gw 0.0.0.0
ip route add 192.168.1.0/24 dev eth0 ip route add 192.0.2.0/24 via 10.0.0.1 dev eth0 ip route add default via 10.0.0.1 dev eth0
in /etc/network/interfaces
up route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.254 down route del -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.254
Default-Route löschen[Bearbeiten]
ip route del 0/0