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

Canging ip address of SPARCstation 5

Status
Not open for further replies.

shadymasoud

IS-IT--Management
Jan 23, 2003
6
0
0
PS
I have a SUN (SPARCstation 5) workstation running
SunOS 5.6 , How can I :
1-View its ip address, subnetmask, and default gateway.
2-Change its ip address, subnetmask, and default gateway.
 
1) ifconfig -a will show you the IP addresses and netmasks for each interface. Note that the netmasks are in hexadecimal format, e.g. ffffff00, which corresponds to 255.255.255.0.

netstat -rn will show you the default gateway. Look for the line beginning with 'default'. Also cat /etc/defaultrouter should tell you the same.

2) Take a look here: thread60-62539 Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top