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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking The Default Gateway on SCO 5.??

Status
Not open for further replies.

joemama613

IS-IT--Management
May 14, 2003
66
US
Can anyone tell me how to check the default gateway on a SCO unix system running Enterprise 5.4? AND how to modify it if it is incorrect? Thanks, Joe
 
1) man netstat (-r option)
2) man route (add default option)

Hope This Help
PH.
 
Type : route change default xxx.xxx.xxx.xxx
***.***.***.*** is the new default route
 

To add the default gateway, ( ex:10.100.0.1 )
/etc/route add default 10.100.0.1
If you want to add another route,
/etc/route add -net 192.168.0.0 -netmask 255.255.0.0 10.100.0.1

G'Day...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top