User Tools

Site Tools


linux:network_vibr0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:network_vibr0 [2021/05/20 16:07]
manu created
linux:network_vibr0 [2021/05/20 16:09] (current)
manu
Line 58: Line 58:
 # ifconfig virbr0 # ifconfig virbr0
 virbr0: error fetching interface information:​ Device not found virbr0: error fetching interface information:​ Device not found
 +</​cli>​
  
 +===== Removing lxcbr0 interface =====
 +
 +lxcbr0 is a virtual bridge created when you install and configure lxc container with package lxc. To remove the lxcbr0 interface follow the steps given below.
 +
 +change the below line in /​etc/​sysconfig/​lxc. This will be effective after reboot.
 +change the line from
 +<cli prompt='#'>​
 +USE_LXC_BRIDGE="​true"​
 +</​cli>​
 +to
 +<cli prompt='#'>​
 +USE_LXC_BRIDGE="​false"​
 +</​cli>​
 +
 +you may remove the lxcbr0 bridge interface for the running system. But this will not be effective after reboot. hence need to perform above step first. Lets first list the bridge interfaces.
 +<cli prompt='#'>​
 +# brctl show
 +</​cli>​
 +
 +Make the bridge interface down before removal
 +<cli prompt='#'>​
 +# ip link set lxcbr0 down
 +</​cli>​
 +
 +Now, remove the bridge using the ‘brctl delbr’ command.
 +<cli prompt='#'>​
 +# brctl delbr lxcbr0
 +</​cli>​
 +
 +check if the bridge is removed.
 +<cli prompt='#'>​
 +# brctl show
 +</​cli>​
  
linux/network_vibr0.1621519637.txt.gz · Last modified: 2021/05/20 16:07 by manu