meta data for this page
  •  

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
linux:docker [2019/03/28 09:19] – [Linux Kernel drivers] niziaklinux:docker [2019/03/28 12:30] – [Linux Kernel drivers] niziak
Line 146: Line 146:
       * Shared MAC address can affect DHCP operations. If your VMs or containers use DHCP to acquire network settings, make sure they use unique ClientID in the DHCP request and ensure your DHCP server assigns IP addresses based on ClientID, not client’s MAC address.       * Shared MAC address can affect DHCP operations. If your VMs or containers use DHCP to acquire network settings, make sure they use unique ClientID in the DHCP request and ensure your DHCP server assigns IP addresses based on ClientID, not client’s MAC address.
       * Autoconfigured EUI-64 IPv6 addresses are based on MAC address. All VMs or containers sharing the same parent interface will auto-generate the same IPv6 address. Ensure that your VMs or containers use static IPv6 addresses or IPv6 privacy addresses and disable SLAAC.       * Autoconfigured EUI-64 IPv6 addresses are based on MAC address. All VMs or containers sharing the same parent interface will auto-generate the same IPv6 address. Ensure that your VMs or containers use static IPv6 addresses or IPv6 privacy addresses and disable SLAAC.
 +
 +==== macvlan details ====
 +
 +[[https://hicu.be/bridge-vs-macvlan]]
 +Macvlan modes:
 +    * private - frames are sent into cable. But even if exernal switch forwards packets back according to mac address, packet will be dropped.
 +    * VEPA - alla frames are sent int cable. External switch has to forward it back to provide communication between maclvan interfaces. 
 +          * IEEE 802.1Qbg aka Virtual Ethernet Port Aggregator physical switch
 +    * Bridge - all macvlan interfaces bridged internally. Traffic between macvlans are forwarded locally. Broadcast packets are formwared locally and into the cable. But if external switch reflects packets, packets are filtered to prevent duplicates.
 +    * **passtrhru** - assign real physical interface for single VM (and gives full controll to interface)
 +