Flashcards
Ch 5.5 Statically route traffic
Flashcards do conjunto (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—
Informações
- Descrição
- Easy KodeKloud - Linux FlashCards sobre Ch 5.5 Statically route traffic, criado por Archimed Nemes em 26-05-2022.
- Criado por
- Archimed Nemes
- Visualizações
- 2
- Avaliação
Mais sobre Static and Default Routes