You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey i am using dnsmasq as a DHCP server in WSL2 via mirrored mode. TLDR using dhclient to send DHCPDISCOVER messages over eth7 (interface dnsmasq is bond to) but not recieving these messages on dnsmasq logs.
I am using tcpdump (also inside Ubuntu WSL) and can see DHCP DISCOVER messages with the correct attributes. On the DNSMASQ logs im not seeing anything. It will be bound to the correct interface (eth7) and starts without error. but im not seeing any DHCP payloads, interestingly enough (in a new tcp query) ill see a randon DNS payload which is leading me to believe DNS payloads are being passed from windows to the ubuntu subsystem, but i dont see why this is not working for DHCP. some caveats when checking to see which interfaces are listening, the mirrored interface IP is listening on port 53 for dns which is not specified in my dnsmasq.conf but its listening on ALL interfaces for port 67. eth7 is up and has the correct IP attributes. any guidance would be appreciated.
I have look at various topics and not found any that match my specific use-case though i did attempt to use their learning where applicable.
This has been validated by the following all run for the Ubuntu WSL Daemon:
starting dnsmasq bound to eth7 which has the mirrored config of Windows host.
run dhclient targeting eth7 for DHCPDISCOVER messages
starting tcpdump specific eth7 ports 67 or 68 - verified DHCPDISCOVER Messages
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey i am using dnsmasq as a DHCP server in WSL2 via mirrored mode. TLDR using dhclient to send DHCPDISCOVER messages over eth7 (interface dnsmasq is bond to) but not recieving these messages on dnsmasq logs.
I am using tcpdump (also inside Ubuntu WSL) and can see DHCP DISCOVER messages with the correct attributes. On the DNSMASQ logs im not seeing anything. It will be bound to the correct interface (eth7) and starts without error. but im not seeing any DHCP payloads, interestingly enough (in a new tcp query) ill see a randon DNS payload which is leading me to believe DNS payloads are being passed from windows to the ubuntu subsystem, but i dont see why this is not working for DHCP. some caveats when checking to see which interfaces are listening, the mirrored interface IP is listening on port 53 for dns which is not specified in my dnsmasq.conf but its listening on ALL interfaces for port 67. eth7 is up and has the correct IP attributes. any guidance would be appreciated.
I have look at various topics and not found any that match my specific use-case though i did attempt to use their learning where applicable.
This has been validated by the following all run for the Ubuntu WSL Daemon:
Beta Was this translation helpful? Give feedback.
All reactions