mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
commit
c5a738a8b1
@ -19,8 +19,8 @@ ip route
|
|||||||
# Display all routes for IPv6
|
# Display all routes for IPv6
|
||||||
ip -6 route
|
ip -6 route
|
||||||
|
|
||||||
# Add route via gateway IP
|
# Add default route via gateway IP
|
||||||
ip route add 192.168.0.0/24 via 192.168.1.1
|
ip route add default via 192.168.1.1
|
||||||
|
|
||||||
# Add route via interface
|
# Add route via interface
|
||||||
ip route add 192.168.0.0/24 dev eth0
|
ip route add 192.168.0.0/24 dev eth0
|
||||||
|
Loading…
Reference in New Issue
Block a user