[PLDWWW] page changed: docs:lxc

Mateusz Korniak (matkor) matkor at pld-linux.org
Mon Jul 7 10:12:37 CEST 2014


[network using macvlan in bridge mode] 

--- https://www.pld-linux.org/docs/lxc?rev=1404639900
+++ https://www.pld-linux.org/docs/lxc?rev=1404720757
@@ -136,10 +136,10 @@
    - traffic from host to guest (and vice-versa) is NOT passed. external trafic works
    - guest interface is NOT visible on host 
    - you can't filter guest straffic  from host's firewall
    - host can use seme default interface with and without guests running.
-   - you HAVE to set mac. If not - on every container start you'll have different one (your router will not pass the traffic).
-   - iptables is initialized from lxc.hook.pre-mount hook (ran in the container's namespace and having macvlan interface visible)
+   - one have better to set static MAC address. If not - on every container start you'll have different MAC generated and your router may have problems with passing  traffic.
+   - iptables is initialized from lxc.hook.pre-mount hook (ran in the container's namespace and having guest macvlan interface visible)
  
  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: 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:


Diff URL:
  https://www.pld-linux.org/docs/lxc?do=diff&r1=1404639900&r2=1404720757
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list