[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FW1] NT and routing (newbie)




On Wed, 28 Apr 1999, Chris F wrote:

> New to NT. Could some please share the syntax for
> using the route cmd in NT? An example? Also, what file
> can I put the route cmds in so they survive reboots.

route print - print the whole routing table
route print 192.168.1.0 - print route entry for specified network
route delete 192.168.1.0 - delete specified route entry

To add routes - route add -p <subnet> mask <mask> <gateway>

The "-p" makes teh entry permenant (survive reboots). So your entries will
look something like this:

route add -p 192.168.1.0 mask 255.255.255.0 192.168.50.1
route add -p 192.168.20.10 192.168.100.10

Note that if I'm creating single host route entries (like for static NAT)
the correct mask entry is assumed.

Cheers,
Chris
-- 
**************************************
cbrenton@sover.net

* Multiprotocol Network Design & Troubleshooting
http://www.amazon.com/exec/obidos/ASIN/0782120822/geekspeaknet
* Mastering Network Security
http://www.amazon.com/exec/obidos/ASIN/0782123430/geekspeaknet



================================================================================
     To unsubscribe from this mailing list, please see the instructions at
               http://www.checkpoint.com/services/mailing.html
================================================================================