Merge pull request #199 from Mic92/patch-8

ip: better route example
This commit is contained in:
Chris Lane 2015-02-09 17:56:57 -05:00
commit c5a738a8b1

View file

@ -19,8 +19,8 @@ ip route
# Display all routes for IPv6
ip -6 route
# Add route via gateway IP
ip route add 192.168.0.0/24 via 192.168.1.1
# Add default route via gateway IP
ip route add default via 192.168.1.1
# Add route via interface
ip route add 192.168.0.0/24 dev eth0