Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I get mac address? #296

Open
SpicyChicken1010 opened this issue Aug 4, 2022 · 2 comments
Open

How can I get mac address? #296

SpicyChicken1010 opened this issue Aug 4, 2022 · 2 comments

Comments

@SpicyChicken1010
Copy link

if I don't know the mac address,how can i encapsulate packet.
Arp request is designed for getting dst mac address,sending arp request is the network interface's responsibility,how can i make network interface to do this work for me?

@su-404
Copy link

su-404 commented Aug 7, 2022

You can obtain the MAC address of the gateway to facilitate contracting.

@gaoxingliang
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants