Step by Step VIF Configuration :
VIF CONFIGURATION:
Down the network interface cards using ifconfig <interfacename> down.
vif create single|Multi <vifname> <interfaces>
vif create single vif1 ns0 ns1
vif status
Now, set the ipaddress for the new vif.
ifconfig vif1 <ipaddress>
ifconfig -a .
Now, the interfaces are trunked.
If you check, the ns0 interface is active and ns1 interface is in passive mode.
If ns0 network interface will down, then ns1 will be changed to active.
VIF CONFIGURATION:
Virtual Interface now it is called as Interface group.(OnTap 8.x onwards)
VIF allow trunking of one or more Ethernet interfaces.
There are two types of VIF:
- Single Mode (Active – Passive Fail Over)
- Only one interface is active.
- Other interfaces are in standby.
- Fault Tolerance
- Multi Mode ( Active – Active Load Balancing)
- All interfaces are active.
- Shares the same MAC address.
- Fault Tolerance
- Higher Throughput
Load balancing is supported for Multi mode VIF only.
IP based
MAC Based
Round Robin
For VIF configuration, you have to down the interfaces.
FASSENTHIL> ifconfig e0a down
FASSENTHIL> ifconfig e0b down
FASSENTHIL> vif create vifname <interfaces>
FASSENTHIL>vif create vif1 e0a e0b
FASSENTHIL>vif status
FASSENTHIL>ifconfig vif1 10.0.0.121
FASSENTHIL>vif status
Screen shots:
Using ifconfig command, check the network interfaces.
Down the network interface cards using ifconfig <interfacename> down.
vif create single|Multi <vifname> <interfaces>
vif create single vif1 ns0 ns1
vif status
Now, set the ipaddress for the new vif.
ifconfig vif1 <ipaddress>
ifconfig -a .
Now, the interfaces are trunked.
If you check, the ns0 interface is active and ns1 interface is in passive mode.
If ns0 network interface will down, then ns1 will be changed to active.
Nice blog, Sanman!
ReplyDelete