Flashcards
Ch 5.5 Statically route traffic
Cards in this deck (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—
Information
- Description
- Easy KodeKloud - Linux Flashcards on Ch 5.5 Statically route traffic, created by Archimed Nemes on 26/05/2022.
- Created by
- Archimed Nemes
- Views
- 2
- Rating
More on Static and Default Routes