VIOS SEA Network bridge without HMC
Two ways to make the VIOS's network to work:
SEA (shared ethernet Adapter)
HSE (hosted Ethernet Adapter)
In this SEA example, we need to create a bridge to make it work. We need to create a share adapter to pass the network traffic from internal to external.
$ lsdev -type adapter
name status description
ent0 Available 10 Gb Ethernet PCI Express Dual Port Adapter (7710008077108001)
ent1 Available 10 Gb Ethernet PCI Express Dual Port Adapter (7710008077108001)
ent2 Available 2-Port Integrated Gigabit Ethernet PCI-Express Adapter (e4143a161410ed03)
ent3 Available 2-Port Integrated Gigabit Ethernet PCI-Express Adapter (e4143a161410ed03)
ent4 Available Virtual I/O Ethernet Adapter (l-lan)
ent5 Available Virtual I/O Ethernet Adapter (l-lan)
ent6 Available Virtual I/O Ethernet Adapter (l-lan)
ent7 Available Virtual I/O Ethernet Adapter (l-lan)
fcs0 Available 10Gb FCoE PCIe Blade Expansion Card (7710018077107f01)
fcs1 Available 10Gb FCoE PCIe Blade Expansion Card (7710018077107f01)
fcs2 Available 8Gb PCIe FC Blade Expansion Card (7710322577107601)
fcs3 Available 8Gb PCIe FC Blade Expansion Card (7710322577107601)
ibmvmc0 Available Virtual Management Channel
sissas0 Available PCI Express x8 Planar 3Gb SAS Adapter
usbhc0 Available USB Host Controller (33103500)
usbhc1 Available USB Host Controller (33103500)
usbhc2 Available USB Enhanced Host Controller (3310e000)
vhost0 Available Virtual SCSI Server Adapter
vsa0 Available LPAR Virtual Serial Adapter
vts0 Available Virtual TTY Server Adapter
$ mkvdev -sea ent2 -vadapter ent7 -default ent7 -defaultid 1 -migrate
main: 86 Recived SEA events bytes 164
ent8 Available
(Please make a note, we need to find a existed and available Virtual I/O in here which I picked ent7. This command will create a new shared Ethernet adapter. Please see the example below)
$ lsdev -type adapter
name status description
ent0 Available 10 Gb Ethernet PCI Express Dual Port Adapter (7710008077108001)
ent1 Available 10 Gb Ethernet PCI Express Dual Port Adapter (7710008077108001)
ent2 Available 2-Port Integrated Gigabit Ethernet PCI-Express Adapter (e4143a161410ed03)
ent3 Available 2-Port Integrated Gigabit Ethernet PCI-Express Adapter (e4143a161410ed03)
ent4 Available Virtual I/O Ethernet Adapter (l-lan)
ent5 Available Virtual I/O Ethernet Adapter (l-lan)
ent6 Available Virtual I/O Ethernet Adapter (l-lan)
ent7 Available Virtual I/O Ethernet Adapter (l-lan)
ent8 Available Shared Ethernet Adapter
fcs0 Available 10Gb FCoE PCIe Blade Expansion Card (7710018077107f01)
fcs1 Available 10Gb FCoE PCIe Blade Expansion Card (7710018077107f01)
fcs2 Available 8Gb PCIe FC Blade Expansion Card (7710322577107601)
fcs3 Available 8Gb PCIe FC Blade Expansion Card (7710322577107601)
ibmvmc0 Available Virtual Management Channel
sissas0 Available PCI Express x8 Planar 3Gb SAS Adapter
usbhc0 Available USB Host Controller (33103500)
usbhc1 Available USB Host Controller (33103500)
usbhc2 Available USB Enhanced Host Controller (3310e000)
vhost0 Available Virtual SCSI Server Adapter
vsa0 Available LPAR Virtual Serial Adapter
vts0 Available Virtual TTY Server Adapter
I did wrong one. I should not assign a IP address on a Ethernet adapter. I should assign a IP address on the share network adapter. To detach it:
$ chdev -dev en2 -attr state=detach
en2 changed
$ mktcpip -hostname <HOSTNAME> -inetaddr xxx.xxx.xxx.xxx -interface en8 -netmask 255.255.255.0 -gateway xxx.xxx.xxx.xxx -nsrvaddr xxx.xxx.xxx.xxx -nsrvdomain <DOMAINNAME>
SEA (shared ethernet Adapter)
HSE (hosted Ethernet Adapter)
In this SEA example, we need to create a bridge to make it work. We need to create a share adapter to pass the network traffic from internal to external.
$ lsdev -type adapter
name status description
ent0 Available 10 Gb Ethernet PCI Express Dual Port Adapter (7710008077108001)
ent1 Available 10 Gb Ethernet PCI Express Dual Port Adapter (7710008077108001)
ent2 Available 2-Port Integrated Gigabit Ethernet PCI-Express Adapter (e4143a161410ed03)
ent3 Available 2-Port Integrated Gigabit Ethernet PCI-Express Adapter (e4143a161410ed03)
ent4 Available Virtual I/O Ethernet Adapter (l-lan)
ent5 Available Virtual I/O Ethernet Adapter (l-lan)
ent6 Available Virtual I/O Ethernet Adapter (l-lan)
ent7 Available Virtual I/O Ethernet Adapter (l-lan)
fcs0 Available 10Gb FCoE PCIe Blade Expansion Card (7710018077107f01)
fcs1 Available 10Gb FCoE PCIe Blade Expansion Card (7710018077107f01)
fcs2 Available 8Gb PCIe FC Blade Expansion Card (7710322577107601)
fcs3 Available 8Gb PCIe FC Blade Expansion Card (7710322577107601)
ibmvmc0 Available Virtual Management Channel
sissas0 Available PCI Express x8 Planar 3Gb SAS Adapter
usbhc0 Available USB Host Controller (33103500)
usbhc1 Available USB Host Controller (33103500)
usbhc2 Available USB Enhanced Host Controller (3310e000)
vhost0 Available Virtual SCSI Server Adapter
vsa0 Available LPAR Virtual Serial Adapter
vts0 Available Virtual TTY Server Adapter
$ mkvdev -sea ent2 -vadapter ent7 -default ent7 -defaultid 1 -migrate
main: 86 Recived SEA events bytes 164
ent8 Available
(Please make a note, we need to find a existed and available Virtual I/O in here which I picked ent7. This command will create a new shared Ethernet adapter. Please see the example below)
$ lsdev -type adapter
name status description
ent0 Available 10 Gb Ethernet PCI Express Dual Port Adapter (7710008077108001)
ent1 Available 10 Gb Ethernet PCI Express Dual Port Adapter (7710008077108001)
ent2 Available 2-Port Integrated Gigabit Ethernet PCI-Express Adapter (e4143a161410ed03)
ent3 Available 2-Port Integrated Gigabit Ethernet PCI-Express Adapter (e4143a161410ed03)
ent4 Available Virtual I/O Ethernet Adapter (l-lan)
ent5 Available Virtual I/O Ethernet Adapter (l-lan)
ent6 Available Virtual I/O Ethernet Adapter (l-lan)
ent7 Available Virtual I/O Ethernet Adapter (l-lan)
ent8 Available Shared Ethernet Adapter
fcs0 Available 10Gb FCoE PCIe Blade Expansion Card (7710018077107f01)
fcs1 Available 10Gb FCoE PCIe Blade Expansion Card (7710018077107f01)
fcs2 Available 8Gb PCIe FC Blade Expansion Card (7710322577107601)
fcs3 Available 8Gb PCIe FC Blade Expansion Card (7710322577107601)
ibmvmc0 Available Virtual Management Channel
sissas0 Available PCI Express x8 Planar 3Gb SAS Adapter
usbhc0 Available USB Host Controller (33103500)
usbhc1 Available USB Host Controller (33103500)
usbhc2 Available USB Enhanced Host Controller (3310e000)
vhost0 Available Virtual SCSI Server Adapter
vsa0 Available LPAR Virtual Serial Adapter
vts0 Available Virtual TTY Server Adapter
I did wrong one. I should not assign a IP address on a Ethernet adapter. I should assign a IP address on the share network adapter. To detach it:
$ chdev -dev en2 -attr state=detach
en2 changed
$ mktcpip -hostname <HOSTNAME> -inetaddr xxx.xxx.xxx.xxx -interface en8 -netmask 255.255.255.0 -gateway xxx.xxx.xxx.xxx -nsrvaddr xxx.xxx.xxx.xxx -nsrvdomain <DOMAINNAME>
Comments