-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
WAN DHCP not working with Intel i22x-V 2.5Gb (kernel 5.15 build) #2548
Comments
Did you check configuration in Network->Interfaces ? |
It shows:
Notably, there is no |
I mean check in Network->Interfaces and by editing the interface that everything is ok. |
Thanks for your help, @Ysurac. Everything looks same/OK in the edit UI. No IPv4 assigned. I see DHCP broadcasts every 3 seconds but no responses. I have also tried enabling the advanced setting "Use broadcast flag" but it does not help. See below. Note that if I plug my laptop ethernet into the modem with DHCP, I do get an IP and can access the internet.
|
I will need the result of |
Here you go.
|
Seems to be ok. |
Yeah, the config looks OK but there is no DHCP response so it doesn't come up. Leaving tcpdump to run longer just repeats the same output every three seconds. Here is the additional output you asked for.
|
Try to restart the interface in Network->Interfaces. |
Hi @Ysurac Here is a capture of what it looks like when I leave tcpdump a bit longer. Just repeated DHCP client broadcasts and no responses.
I thought there could maybe be some duplex issue with failed auto-negotiation but it looks like what I would expect.
Would it be helpful for me to test with a different router device and the non 5.15 kernel version to narrow down the problem? I have a Pi4 and a little switch I could test with. |
I tested a 5.15 under virtualbox and I have no issue to get a DHCP address. |
OK. Sorry for the delay @Ysurac. I finally got to this. Thanks again for all your help. Obtaining IP address using DHCP is working when plugging my Pi4 straight into my bridging cable modem. I tossed a couple more options to tcpdump for more info.
|
I am having the same issue on my x86_64 box. Based on the similar MAC address do you have the Intel I225-V? Mine is the supposedly fixed B3 stepping but reading about this NIC it seems to have lots of issues. Following in case there is a fix. Mine is running kernel 5.4.194 root@OpenMPTCProuter:~# uname -a |
@kb1isz Actually, I am running the newer i226-V for which @Ysurac said I should upgrade to the kernel 5.15 testing version of OpenMPTCProuter. Someone else later mentioned something in the issue about OpenWRT needing kernel 5.15 to solve something on an i225-V as well. I don't have any other clues for you I'm afraid. See #2544 To top if off, I'm on a Hitron CODA-45 cable modem which has a problematic Puma chipset or so I have read. I did not experience any problems before this but am replacing it with a TC4400 to see if that makes any difference. I just have to wait for my ISP to swap the modems in my profile. I am not expecting the modem swap to make any difference since multiple systems have no problem obtaining addresses via DHCP on the Hitron, but one can hope. |
Looking through that other issue thread again, I see my note that even when attempting to test the i226-V interfaces with 5.15 behind my previous stock Edgerouter running dhcpd, OpenMPTCProuter was not able to |
My new cable modem came online sometime this morning while hooked up to eth1 of my OpenMPTCProuter box. I was out all day and when I got home, my internet was down. The OpenMPTCProuter box was non-responsive to web or SSH. I physically checked on the box and it was very hot to the touch. Whatever it was looping through while trying to get an IP was making some heat and took itself down. I shut the router down with the power button and unplugged it for a bit to let it cool. I disconnected it from the cable modem and powered it up again. My internet came back via my PPPoE DSL link on eth2 and things were back to where they were. So after that, I set about getting a spare Edgerouter Lite flashed to latest EdgeOS firmware and configured it for DHCP WAN on eth0 and static LAN on eth1 without a firewall. Then I connected Edgerouter eth0 to the cable modem and Edgerouter eth1 to eth1 on the OpenMPTCProuter box. I configured wan1 (eth1) on the OpenMPTCProuter box for static address. Then that MPTCP link came up and everything is working pretty well. The combined speeds are less than the sum of the two connections on their own by more than I expected, but I am able to disconnect one WAN or the other without my connections dropping and I present to the world from a single fixed VPS IP so that's good enough for me for now. I'll be happy to test DHCP with my setup again in the future if you would like me to @Ysurac. Just mention me in here. |
Just more data to troubleshoot. I did the following... OpenMPTCProuter running native - DHCP WAN did not work While not ideal this works for me. Hope this helps someone else. |
Hey @kb1isz could you please confirm which build of openmptcprouter you were/are running with success under ProxMox with linux bridging and virtio? I ask because I just had cause to have to rebuild both ends (vps & my i226-V home gateway box) and decided to give your config a try and see if I could get my workaround Edgerouter out of the picture and get a DHCP address directly. I set up ProxMox 7.3 on my i226-V gateway box, set up two more Linux bridge interfaces (it installed with one for the lan) for a total of three, and then created a VM and wrote |
@ahayes I was running the default version when I had that setup I ended going away from OpenMPTCProuter though so I can't tell you for sure, but at least the kernel is known. |
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 |
@Ysurac This is still an issue and I think more recent Linux kernels have got these interfaces working properly so can this stay open at least until there is a new build with a newer kernel to try? |
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 |
@Ysurac This has been auto-closed but the problem persisted in the past and nothing has changed other than people moving away from running directly on i225-V and i226-V 2.5 GbE network adapters. Any newer versions planned with a newer kernel? |
Huh... I see that a new OpenWRT version with kernel 6.1 was committed to the repo an hour ago. That would be worth a testing for this issue when there is a build available. |
I believe the ultimate cause of this issue is outlined in #3005. I found a fix/work-around for anyone interested in this. This hardware does work properly in OpenWrt 21.02.07 with Linux kernel 5.4.238 and is stable even when using dhcp there. |
I have the same issue on Intel 226 with pfSense 2.7.1 and proxmox 8.1, Kernel 6.5. The DHCP on WAN loses connection and is not able to get reply to DHCP discovery packet, only reset of Proxmox helps. |
Expected Behavior
My hardware is an x86_64 box with 4 physical network interfaces.
Current Behavior
The router is happy with the lan connection on eth0 and the wan2 connection on eth2. I have connectivity and "what is my ip" returns the VPS IP. In the OpenMPTCProuter -> Status tab, the wan1 interface reports:
Specifications
The text was updated successfully, but these errors were encountered: