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!

virtual IP

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
HI

HOw to add virtual Ipaddress in solaris.
 
:(number)
ifconfig hme0:1 plumb
ifconfig hme0:1 10.5.5.5 netmask 255.255.255.0 broadcast 10.5.5.255 up

I cant reboot my system to test but:

put the interface name in /etc/hostname.hme0:1
put the IP addr. in the hosts file and match the name with what you put in /etc/hostname.hme0:1 this should bring the interface up when the system boots.

Remember to edit /etc/netmasks if the subnet is different.
10.5.5.0 255.255.255.0
 
If you go into the /etc/rc2.d directory there should be a S69inet file, edit this file, at the end of the file add the following:

ifconfig hme0:(#) <IP ADDR> netmask 0xffffff00 broadcast x.x.x.255 up



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top