User Tools

Site Tools


docs:lxc

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
docs:lxc [2013-11-19 23:36]
glen dmesg solution, thx draenog
docs:lxc [2013-11-19 23:52]
glen [config for network] use xensource mac prefix 00:16:3e
Line 90: Line 90:
 first boot with ''​hwaddr''​ line disabled, look what the random address was assigned, set it in config. first boot with ''​hwaddr''​ line disabled, look what the random address was assigned, set it in config.
  
-also you may use some generation techniques like these (assuming the ip is ''​192.168.2.160''​): +also you may use some generation techniques like these: using last three ip numbers and [[http://​xenbits.xen.org/​docs/​4.3-testing/​misc/​xl-network-configuration.html|Xen'​s OUI (00:​16:​3e)]] address space. If IP is ''​192.168.2.160''​, then:
 <code bash> <code bash>
-$ printf "02:00:%x:​%x:​%x:​%x" ​192 168 2 160 +$ printf "00:16:3e:​%x:​%x:​%x"​ 168 2 160 
-02:00:c0:a8:2:a0+00:16:3e:a8:2:a0
 </​code>​ </​code>​
  
docs/lxc.txt · Last modified: 2016-08-21 00:36 by glen