def METHOD_NAME(self, configuration):
    """
    The underlying network for the tunnel consists of two MACVLAN
    devices configured on top of the Ethernet devices on the matched hosts.
    """
    host1, host2 = self.matched.host1, self.matched.host2
    host1.macvlan10 = MacvlanDevice(realdev=host1.eth0, hwaddr="0A:00:00:00:00:01")
    host2.macvlan10 = MacvlanDevice(realdev=host2.eth0, hwaddr="0A:00:00:00:00:02")
    ipv4_addr = interface_addresses(self.params.net_ipv4)
    for device in [host1.macvlan10, host2.macvlan10]:
        device.ip_add(next(ipv4_addr))
        configuration.test_wide_devices.append(device)
    for dev in [
        host1.eth0,
        host1.macvlan10,
        host2.eth0,
        host2.macvlan10,
    ]:
        dev.up()
    configuration.tunnel_endpoints = (host1.macvlan10, host2.macvlan10)