Download SuMegha Cloud Lab Kit
Transcript
physical systems in the network. To do this, we install the package bridge-utils and configure a bridge. yum install bridge-utils Create the file /etc/sysconfig/network-scripts/ifcfg-br0 Please use the IPADDR, PREFIX, GATEWAY, DNS1 and DNS2 values from the file: /etc/sysconfig/network-scripts/ifcfg-eth0file; Also, ensure you use TYPE=Bridge, not TYPE=Ethernet vi /etc/sysconfig/network-scripts/ifcfg-br0 DEVICE="br0" NM_CONTROLLED="yes" ONBOOT=yes TYPE=Bridge BOOTPROTO=none IPADDR=192.168.0.100 PREFIX=24 GATEWAY=192.168.0.1 DNS1=8.8.8.8 DNS2=8.8.4.4 DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no Modify /etc/sysconfig/network-scripts/ifcfg-eth0 as follows (Comment BOOTPROTO, IPADDR, PREFIX, GATEWAY, DNS1, and DNS2 and add BRIDGE=br0) vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE="eth0" NM_CONTROLLED="yes" 17