HOW TO ENABLE A VIRTUAL INTERFACE (VNIC) SOLARIS 10

HOW TO ENABLE A VIRTUAL INTERFACE (VNIC) SOLARIS 10


1.-Verify the interfaces on the server that you need to add the ip in this example 10.1.1.8

# dladm show-phys

LINK        CLASS     MTU     STATE     OVER
bge0        phys      1500    unknown   --
bge1        phys      1500    up        -- 
 

2.-Now you need to create a virtual network interface or VNIC on the server

#ifconfig bge1:1 plumb

#ifconfig -a

3.-Finally you can add the new ip address and add on the server in /etc/hostname.bge1:1 the IP or the name that you defined on the hosts file with that ip

#vi /etc/hostname.bge1:1
10.1.1.8

#ifconfig bge1:1 10.1.1.8 netmask 255.255.255.0 broadcast 10.1.1.254 up

Regards
Roger 


 

Comments