Difference between revisions of "Routing"

From Embedded Xinu
Jump to navigation Jump to search
(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...')
(No difference)

Revision as of 20:03, 10 June 2011

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