Karteikarten
Ch 5.5 Statically route traffic
Karten in diesem Stapel (10)
- 1Send traffic to 192.168.0.0/24 through 10.0.0.100sudo ip route add 192.168.0.0/24 via 10.0.0.100
- 2Apply previous command to device eth1sudo ip route add 192.168.0.0/24 via 10.0.0.100 dev eth1
- 3Delete route in previous commandsudo ip route del 192.168.0.0/24
- 4Add default routesudo ip route add default via 10.0.0.100
- 5Make routing changes permanent after rebootnmcli connection show
sudo nmcli connection modify +ipv4.routes "192.168.0.0/24 10.0.0.100" - 6Make routing changes apply immediatelysudo nmcli device reapply
- 7Show ip routesip route show
- 8Remove ip route set earliersudo nmcli connection modify -ipv4.routes "192.168.0.0/24 10.0.0.100
- 9What is alternative command to change routes?sudo nmtui
- 10—
Informationen
- Beschreibung
- Easy KodeKloud - Linux Karteikarten am Ch 5.5 Statically route traffic, erstellt von Archimed Nemes am 26/05/2022.
- Erstellt von
- Archimed Nemes
- Aufrufe
- 2
- Bewertung
Mehr zu Static and Default Routes