Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding routes..

Status
Not open for further replies.

ac325ci

MIS
Jan 16, 2004
128
US
when u are being asked to add static routes to
an ip for instance 192.168.1.0/24 to gateway 167.180.15.1
how do u add this and what does the "/24" represent ? thanks in advance
 
route add 192.168.1.0/24 167.180.15.1


/24 specifies how many bits are used for the netmas and in this case it's 24 so it's class C (255.255.255.0)
 
so if a /24 is included at the end of the ip.. then u dont need to add "-netmask 255.255.255.0" to the rest of the command line??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top