# route add default gw 10.10.1.1
# route del default gw 10.10.1.1
Add or Delete a Route for a Host
# route add -host x.x.x.x gw x.x.x.x
# route del -host x.x.x.x gw x.x.x.x
Add or Delete a Route for a Network
# route add -net 172.18.1.0/24 gw 10.10.1.43
# route del -net 172.18.1.0/24 gw 10.10.1.43
No comments:
Post a Comment