/[sysadmin-cookbook]/recepies/lxc/create-bridge.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /recepies/lxc/create-bridge.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 61 - (hide annotations)
Tue May 12 23:13:01 2009 UTC (14 years, 10 months ago) by dpavlin
Original Path: recepies/lxc/2.network-bridge
File size: 254 byte(s)
add eth0 to bridge

1 dpavlin 58 root@klin:/srv/sysadmin-cookbook/recepies/lxc# brctl addbr br0
2     root@klin:/srv/sysadmin-cookbook/recepies/lxc# brctl setfd br0 0
3    
4     root@klin:~# ifconfig br0 172.20.0.1 netmask 255.255.255.0
5    
6 dpavlin 61 root@klin:~# brctl addif br0 eth0
7    
8     root@klin:~# brctl show br0
9    
10    

  ViewVC Help
Powered by ViewVC 1.1.26