Virtual Network Bridging

From Linux on Power wiki

Jump to: navigation, search

Steps

  • HMC: Create a "trunk" virtual ethernet adapter on a VIO LPAR
  • HMC: Create a virtual ethernet adapter on a client LPAR, use same VLAN
  • VIO: setup bridge on a VIO server using real and virtual ethernet adapter
  • VIO: configure bridge (br0), assign the IP address

Bridging commands

  • Install bridge-utils
 yast -i bridge-utils
  • Load modules for virtual scsi and bridging
 modprobe ibmveth
 modprobe bridge
# Configure the bridge device (eth1 is virtual)
 ifconfig eth0 0.0.0.0
 brctl addbr br0
 brctl addif br0 eth0
 brctl addif br0 eth1
 ifconfig br0 192.168.1.151 netmask 255.255.255.0 up
 ifconfig eth0 up
 ifconfig eth1 up
 route add default gw 192.168.1.254

See also SUSE Vio and Debian Vio

Personal tools