openmptcprouter icon indicating copy to clipboard operation
openmptcprouter copied to clipboard

MacOS 12 does not pickup DHCP responses

Open fmonnier74 opened this issue 3 years ago • 12 comments

Expected Behavior

When connecting a MacOS 12 device over wifi (MacBook), DHCP from Dnsmasq should provide an IP and let the device accessing internet.

Current Behavior

Currently on Mac Devices, MacOSX 12 clients fails to get DHCP responses over Ethernet or Wifi.

Possible Solution

None so far.

Steps to Reproduce the Problem

  1. Install OpenmpTCProuter and connect MacOSX 12 device to it over ethernet or Wifi.
  2. Use network auto-configuration (DHCP client) in the network settings of the MacOSX settings.
  3. The Apple device never connects (not getting an IP from DHCP server). All other devices are connecting successfully.

Context (Environment)

One x64 box with openmptcprouter last version as of today with single Ethernet interface. One Freebox (French ISP provider) with DHCP disabled and IPv6 disabled. One 5G Router with IPv6 disabled and DHCP disabled. Freebox built-in switch is used.

Specifications

  • OpenMPTCProuter version: v0.58.5-r0+16336-b36068d35d-x86-64
  • OpenMPTCProuter VPS version: v0.58.5
  • OpenMPTCProuter VPS provider: AlpineDC Lausanne, Swizerland (KVM).
  • OpenMPTCProuter platform: x86_64
  • Country: France

fmonnier74 avatar May 21 '22 10:05 fmonnier74

@Safarte-infra i have the same problem did you slove it ?

vinceducat avatar Jun 21 '22 20:06 vinceducat

Hello,

Yes, apparently, the ARP protocol get tricked due to the multiwan way of working on the same broadcast domain. MacOs detects it as IP conflict and it ends the lease. (I saw all this on Wireshark). To work around this issue, I had to physically separate wans with dedicated USB Ethernet adapters to separate broadcast domains. (15 bucks each). After all, this architecture is more efficient and simple since I can keep DHCPv4 and IPv6 enabled on my 2 wan interfaces and routers so it requires less configuration and potentially I can enable IPv6 on MPTCPRouter later.

Hope this can help.

Le mar. 21 juin 2022 à 22:25, vinceducat @.***> a écrit :

@Safarte-infra https://github.com/Safarte-infra i have the same problem did you slove it ?

— Reply to this email directly, view it on GitHub https://github.com/Ysurac/openmptcprouter/issues/2356#issuecomment-1162302414, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABE5QTXVR67FYFEL6ITNYSTVQIQKRANCNFSM5WRTYLOA . You are receiving this because you were mentioned.Message ID: @.***>

fmonnier74 avatar Jun 21 '22 20:06 fmonnier74

@Safarte-infra so do you have 3 ethernet physical card on omr? 1 for l'an and 2 for wan 1 per wan ? @Ysurac any update on the Omr side il multiwan can souvent the pb

vinceducat avatar Jun 21 '22 21:06 vinceducat

Yes, I have 3 physical interfaces, one lan and 2 wan.

Le mar. 21 juin 2022 à 23:41, vinceducat @.***> a écrit :

@Safarte-infra https://github.com/Safarte-infra so do you have 3 ethernet pysical card on omr? 1 for l'an and 2 for wan 1 each? @Ysurac https://github.com/Ysurac any update on the Omr side il multiwan can souvent the pb

— Reply to this email directly, view it on GitHub https://github.com/Ysurac/openmptcprouter/issues/2356#issuecomment-1162395566, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABE5QTTFXTLIYYB2QRBXPQLVQIZJHANCNFSM5WRTYLOA . You are receiving this because you were mentioned.Message ID: @.***>

fmonnier74 avatar Jun 21 '22 21:06 fmonnier74

OK i have the same conf as you. Freebox ang 5g routeur freemobile. What is your hardware conf for OMR?

I have only 2 ethernet card on m'y omr...

vinceducat avatar Jun 21 '22 21:06 vinceducat

OMR is a Celeron x64 small computer with a single 1Gb integrated interface. Added 2 x USB 100 Mbps Ethernet adapter. Then I configured eth1 (wan1) and eth2 (wan2) as PHYSICAL adapter in OMR using DHCP. It works like a charm.

Le mar. 21 juin 2022 à 23:48, vinceducat @.***> a écrit :

OK i have the same conf as you. Freebox ang 5g routeur freemobile. What is your hardware conf for OMR?

— Reply to this email directly, view it on GitHub https://github.com/Ysurac/openmptcprouter/issues/2356#issuecomment-1162399907, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABE5QTXZORXUOEWOKSG5U53VQI2CPANCNFSM5WRTYLOA . You are receiving this because you were mentioned.Message ID: @.***>

fmonnier74 avatar Jun 21 '22 21:06 fmonnier74

i have a small computer with 1 phys card for lan and wan2 (5G) and 1 phys card for freebox V5 ... because Freebox must be on separate card due to the fact on freebox V5 i cant disable ipv6 and V5 dont be able to setup next op in ip v6.

for me usb eth is not a good solution because in this case my speed (maxi 300Mbit/s) would fall down to 100Mbit/s du to speed limitation of usb..

vinceducat avatar Jun 21 '22 22:06 vinceducat

Take a 1GB USB Ethernet adapter, it runs at least at 400Mbps if you have usb2, if usb3 then you will be at 1 GB.

Le mer. 22 juin 2022 à 00:07, vinceducat @.***> a écrit :

i have a small computer with 1 phys card for lan and wan2 (5G) and 1 phys card for freebox V5 ... because Freebox must be on separate card due to the fact on freebox V5 i cant disable ipv6 and V5 dont be able to setup next op in ip v6.

for me usb eth is not a good solution because in this case my speed (maxi 300Mbit/s) would fall down to 100Mbit/s du to speed limitation of usb..

— Reply to this email directly, view it on GitHub https://github.com/Ysurac/openmptcprouter/issues/2356#issuecomment-1162412780, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABE5QTVECIZKO5SO4IKG2KLVQI4I7ANCNFSM5WRTYLOA . You are receiving this because you were mentioned.Message ID: @.***>

fmonnier74 avatar Jun 21 '22 22:06 fmonnier74

ok i will try ;-)

vinceducat avatar Jun 21 '22 22:06 vinceducat

You can disable IPv6 on Freebox, just check openmptcp documentation ;-)

Le mer. 22 juin 2022 à 00:07, vinceducat @.***> a écrit :

i have a small computer with 1 phys card for lan and wan2 (5G) and 1 phys card for freebox V5 ... because Freebox must be on separate card due to the fact on freebox V5 i cant disable ipv6 and V5 dont be able to setup next op in ip v6.

for me usb eth is not a good solution because in this case my speed (maxi 300Mbit/s) would fall down to 100Mbit/s du to speed limitation of usb..

— Reply to this email directly, view it on GitHub https://github.com/Ysurac/openmptcprouter/issues/2356#issuecomment-1162412780, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABE5QTVECIZKO5SO4IKG2KLVQI4I7ANCNFSM5WRTYLOA . You are receiving this because you were mentioned.Message ID: @.***>

fmonnier74 avatar Jun 21 '22 22:06 fmonnier74

will try...

vinceducat avatar Jun 21 '22 23:06 vinceducat

thanks for the solution @Safarte-infra put a usb-eth key and put on it 5G box and its ok ipv6 freebox doc is for FB revolution and over, my FB is v5 so lower

vinceducat avatar Jun 22 '22 10:06 vinceducat

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Sep 20 '22 19:09 github-actions[bot]