Static IP address

Assigning a static IP address on OpenSolaris is accomplished by editing the hostname files in the directory /etc. For example, assign a static IP address to interface bge0 by editing /etc/hostname.bge0:

Set the netmask by editing the file /etc/inet/netmasks:

Set the default gateway by editing the file /etc/defaultrouter:

Network interface bonding

In this example, is the interface of the bond, and are test addresses. Start by editing /etc/hostname.e1000g0: netmask + broadcast + group production
deprecated addif netmask + broadcast + failover up

Then edit /etc/hostname.e1000g1: netmask + broadcast + group production
deprecated + failover standby up
Network configuration on OpenSolaris
Tagged on:         

Leave a Reply

Your email address will not be published. Required fields are marked *