Popular Posts

Oct 4, 2016

Solaris 11 Configuring IP / IPMP / Aggregation

Solaris 11 configuring IP / IPMP / Aggreation

List physical interfaces
judi-test-01# dladm show-phys
LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE
net4              Ethernet             up         10000  full      ixgbe0
net10             Ethernet             up         10000  full      ixgbe6
net12             Ethernet             up         10     full      usbecm2
net6              Ethernet             up         1000   full      igb0
net3              Ethernet             up         1000   full      ixgbe5
net7              Ethernet             up         1000   full      igb1
net8              Ethernet             up         1000   full      igb2
net11             Ethernet             up         10000  full      ixgbe7
net9              Ethernet             down       0      unknown   igb3
net5              Ethernet             up         10000  full      ixgbe1
net0              Ethernet             down       0      unknown   ixgbe2
net2              Ethernet             up         1000   full      ixgbe4
net1              Ethernet             up         1000   full      ixgbe3
judi-test-01# 

Configure an Active-Standby IPMP Group
1. Create an IPMP interface
              ipadm create-ip net1
              ipadm create-ip net2
              ipadm create-ipmp ipmp0

2. Add the physical interfaces net1 and net2 to the ipmp group.
              ipadm add-ipmp -i net1 -i net2 ipmp0

3. Assign the test IP address for the interface for probe-based failure detection
              ipadm create-addr -T static -a 192.168.1.10/24 net1
              ipadm create-addr -T static -a 192.168.1.11/24 net2

4. Assign IP address to ipmp interface
              ipadm create-addr -T static -a 192.168.1.9/24 ipmp0

5. Configure one of the physical interface as standby interface (here net2)
              ipadm set-ifprob -p standby=on -m ip net2

6. Check the staus of the IPMP interfaces:
              ipmpstat -a
              ipmpstat -g
              ipmpstat -t
Create an aggregation and assign IP address
1. create a aggregated network port using two physical interface
              dladm create-aggr -l net1 -l net2 aggr0

2. View the aggreation details
              dladm show-aggr

3. View the aggreation link
              dladm show-link

4. Create/plumb the aggr interface
              ipadm create-ip aggr0

5. Create a IP address in the aggreated link
              ipadm create-addr -T static -a 192.168.1.9/24 aggr0/v4

6. View the IP details
              ipadm show-addr

7. Print information about the interfaces that are attached to the system.
              ipadm show-if

judi-test-01# dladm show-link
LINK                CLASS     MTU    STATE    OVER
net4                phys      1500   up       --
net10               phys      1500   up       --
net12               phys      1500   up       --
net6                phys      1500   up       --
net3                phys      1500   up       --
net7                phys      1500   up       --
net8                phys      1500   up       --
net11               phys      1500   up       --
net9                phys      1500   down     --
net5                phys      1500   up       --
net0                phys      1500   down     --
net2                phys      1500   up       --
net1                phys      1500   up       --
aggr0               aggr      1500   up       net1 net2
judi-test-01#


judi-test-01# ipadm show-addr
ADDROBJ           TYPE     STATE        ADDR
lo0/v4            static   ok           127.0.0.1/8
aggr0/v4          static   ok           192.168.1.9/24
net12/v4          static   ok           169.254.182.77/24
lo0/v6            static   ok           ::1/128
judi-test-01#

Active-Standby IPMP Group in Solairs 10
1. Plumb the Physical testa interface
              ifconfig e1000g0 plumb

2. Assign the testa IP address to the testa interface
              ifconfig e1000g0 192.168.2.10 netmask 255.255.255.0 broadcast + up   (OR)
              ifconfig e1000g0 192.168.2.10/24 broadcast + up

3. Create a IPMP group named failover with testa interface               ifconfig e1000g0 group failover

4. Add the testa interface to IPMP group named failover                                             ifconfig e1000g0 addif 192.168.2.9 netmask 255.255.255.0 broadcast 192.168.2.255 -failover deprecated up

5. Add the testb interface to IMPMP group named failover as standby
                            ifconfig nxge0 plumb 192.168.2.11 netmask 255.255.255.0 broadcast 192.168.2.255 group failover deprecated -failover standby up


6. Add the below configuraiont in the mentioned files
                /etc/hostname.e1000g0                                 Judi-dev-001-testa/24 broadcast + group failover -failover deprecated up addif Judi-dev-001/24 broadcast + up
                /etc/hostname.nxge0                                 Judi-dev-001-testb/24 broadcast + group failover -failover deprecated up standby


Network driver version
Verify the Driver Version (Oracle Solaris 11)
              strings /kernel/drv/<arch>/igb | grep igb 
              where arch is amd64 for 64-bit Intel systems or sparcv9 for Oracle SPARC systems.

              strings /kernel/drv/sparcv9/ixgbe  | grep ixgbe
                            ixgbe 1.1.59
                                          If the version number is not at least 1.1.9, you must install the latest driver, 


              strings /kernel/drv/sparcv9/igb  | grep igb
                            igb 2.3.19
                                          If the version number is not 2.2.2 or later, you must install the latest driver,

~
How to configure IPMP in solaris 11
How to configure aggregation in solaris 11
How to configure IP address in solaris 11
~


No comments:

Post a Comment

Popular Posts