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

Changing subnet mask+

Status
Not open for further replies.

cgswong

MIS
Nov 27, 2000
202
US
How do I do the following:

1. Change the subnet mask on Solaris 8?
2. Change the domain name on Solaris 8?
3. Prevent IP forwarding on a network connecton given that I have two NICs?

Thanks in advance. The ONE ( HP-UX + Solaris + AIX + Tru64 = Unix)
 
edit:
Code:
/etc/netmasks
edit:
Code:
/etc/hosts
(if necessary)
edit:
Code:
/etc/resolv.conf
execute the command:
Code:
touch /etc/notrouter
bounce. --
Andy
 
Thanks Andy but what do editing the various files take care of? I assume the /etc/netmasks file and /etc/resolv.conf is for the subnet mask and the /etc/notrouter is for forwarding? The ONE ( HP-UX + Solaris + AIX + Tru64 = Unix)
 
/etc/netmasks is for the netmask
/etc/hosts is for the domain name, if you have it specified there
/etc/resolv.conf is for the domain name
and touching /etc/norouter will prevent the system from forwarding packets.

They are all pretty self explanitory what you need to change when you look at them.

Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top