Routing

From Embedded Xinu
Revision as of 20:03, 10 June 2011 by Jcowdy (talk | contribs) (Created page with 'The routing daemon is automatically started with XINU. == Add a Route == To add a route to the route entry table use route add with the following parameters: route add <destina...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The routing daemon is automatically started with XINU.

Add a Route

To add a route to the route entry table use route add with the following parameters:

route add <destination> <gateway> <mask> <interface>

Example:

route add 192.168.6.0 192.168.1.100 255.255.255.0 ETH0

Delete a Route

To delete a route from the route entry table, use route del with the destination as the third parameter.

route del <destination>

Example:

route del 192.168.6.0