def METHOD_NAME(self, configuration):
    """
    The underlying network for the tunnel consists of the Ethernet
    devices on the matched hosts.
    """
    host1, host2 = self.matched.host1, self.matched.host2
    ipv4_addr = interface_addresses(self.params.net_ipv4)
    for device in [host1.eth0, host2.eth0]:
        device.ip_add(next(ipv4_addr))
        device.up()
        configuration.test_wide_devices.append(device)
    self.wait_tentative_ips(configuration.test_wide_devices)
    configuration.tunnel_endpoints = (host1.eth0, host2.eth0)