Skip to main content

macvlan

    networks:
      macvlan_net:
        ipv4_address: 192.168.178.$
networks:
  macvlan_net:
    external: true
    driver: macvlan
    driver_opts:
      parent: eno1 # Ensure this is the correct interface
    ipam:
      config:
        - subnet: 192.168.178.0/24
          gateway: 192.168.178.1