User Tools

Site Tools


docker:network:macvlan

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker:network:macvlan [2025/11/24 18:59] jonathandocker:network:macvlan [2025/11/24 19:20] (current) jonathan
Line 63: Line 63:
 </code> </code>
  
-<alert warning>IP assignment doesn't work with docker run</alert>+ 
 + 
 +<note warning>IP assignment doesn't work with docker run</note>
  
  
Line 71: Line 73:
   --cap-add=NET_ADMIN \   --cap-add=NET_ADMIN \
   --network vlan100-ipv4 --ip 192.168.222.200 \   --network vlan100-ipv4 --ip 192.168.222.200 \
-  --network vlan100-ipv6 --ip6 2001:470:1d:2ec::200 \+  --network vlan100-ipv6 --ip6 2001:db8:1d:2ec::200 \
   alpine \   alpine \
   sh -c "ip route replace default via 192.168.222.1 dev eth1 && sh"   sh -c "ip route replace default via 192.168.222.1 dev eth1 && sh"
docker/network/macvlan.1764010753.txt.gz · Last modified: by jonathan