Skip to main content

Posts

Showing posts with the label NIC

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    

How to configurate IPMP Solaris

Verify hosts files and if you do not have them #more /etc/hosts Add them in our case we will work with names in the hosts file below #vi /etc/hosts 10.1.1.5   spa01 10.1.1.6   spa01-test1 10.1.1.7    spa01-test2 Verify Network and Netmask #more /etc/netmasks 10.10.10.0   255.255.255.0 Interface Configuration # /sbin/ifconfig bge0 spa01-test1 netmask + broadcast + group ipmp0  deprecated -failover up # /sbin/ifconfig ce0  spa02-test2 netmask + broadcast + group ipmp0 deprecated -failover up \ addif spa01 netmask + broadcast + failover up You can save the configuration on the following files /etc/hostname.bge0 spa01-test1 netmask + broadcast + group ipmp0 deprecated -failover up /etc/hostname.ce0 spa02-test2 netmask + broadcast + group ipmp0 deprecated -failover up \ addif spa01 netmask + broadcast + failover up You can verify the time to detect any NIC failure #more /etc/default/m pathd # #pragma ident    "@(