Port trunk VLAN issue #1142
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
So dhcp succeeds on the vlan without pvid, but all other traffic fails? You get timeout issues on boot attempts as well? Hopefully the ipxe.org you see in the message should provide some guidence, but that might only be if dhcp fails. What is the output of ifstat after any type of communication failure? (Looking for which driver is used as well as TX, RX, TXE, RXE) If you have any management on this NIC the firmware might do weird things. |
Beta Was this translation helpful? Give feedback.
-
If the workstation is connected to an access port, then the workstation should not be configured to set up any VLAN. The whole point of an access port is that it looks like a normal port with no VLAN tags: the tags are added (and removed) invisibly by the switch when packets are forwarded between that access port and any trunk ports with the same VLAN tag enabled. |
Beta Was this translation helpful? Give feedback.
-
You are using words in a very confusing way: "server" would normally mean the thing serving up DHCP / DNS / TFTP / HTTP / etc. Having re-read what you wrote, you are attempting to boot your "server" from your "workstation" (which is actually acting as the boot server). 🙃 With that clarified: your problem turns out to be visible in the first screenshot, which shows:
i.e. you are attempting to use the same IPv4 subnet on both the default (untagged) VLAN and on VLAN 660. This is not a valid configuration, since they are logically separate networks. When you attempt to ping the address 200.1.66.10, it is undefined whether that address is in You need to use a different IPv4 subnet on your VLAN 660. |
Beta Was this translation helpful? Give feedback.
-
Yes, efi_cachedhcp prints debug output only if an error occurs. The debug output:
shows that the DHCP packet obtained by the UEFI PXE stack is being incorrectly associated with net0 (the trunk interface) instead of being saved for later association with VLAN 660. The VLAN is identified via the loaded image's device path. Could you please try building with |
Beta Was this translation helpful? Give feedback.
Thank you. The device path is missing the VLAN component: i.e. your UEFI BIOS is incorrectly providing the device path for the trunk device rather than for VLAN 660. This is a bug in your UEFI BIOS.
You can work around this UEFI BIOS bug by explicitly clearing the IPv4 address on
net0
:That should delete the IPv4 routing through
net0
, which you can check using theroute
command.