import socket


def send_eth(ethernet_header, payload, server_ip, interface):
    """Send raw Ethernet packet on interface."""
    s = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.ntohs(0x0003))
    s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
    s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1)
    s.bind((interface, 0))
    s.send(ethernet_header + payload)
    return s.close()