Skip to content

Reconfigure Micropythons LWIP to leave off ethernet headers #179

Open

Description

@Courtney3141

Currently Micropythons LWIP is configured to maintain its own ARP tables and send ARP requests for IP addresses when the MAC address is not known. It seems that it is possible to configure LWIP not to do this, and to instead leave the Ethernet header off outgoing packets leaving this to the surrounding system.

Since we have our own ARP table and ARP requester component, ideally the webserver would leave the Ethernet header to us, and packets would be routed from the webserver to the routing component where the header can be updated as is done for external traffic flowing through the system.

Unfortunately we have not yet found a way to make this work, although LWIP does support a PPP configuration which should give us what we want.

In the future we hope that this would be how any packets generated from within the firewall should be handled.

Activity

  1. added
    firewallIssues relating to the Firewall example
    major improvementImplementation could be improved with a notable amount of changes
    on Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    firewallIssues relating to the Firewall examplemajor improvementImplementation could be improved with a notable amount of changes

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions