User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

adding_a_route [2016/11/25 22:38] (current)
Line 1: Line 1:
 +===== Adding a Network Route in Linux =====
 +As root:
 +==== Adding a Route ====
 +  route add -net netmask gw
 +First value is destination network address, then the destinsation'​s netmask and then your gateway for the destination network.
 +==== Adding a Default Gateway ====
 +  route add default gw
 +IP address is address of gateway machine.
adding_a_route.txt ยท Last modified: 2016/11/25 22:38 (external edit)