04-06-2024 01:03 PM
HostA (eth0.20) ----> (F1/1)[SW1](F1/2) ---> (F1/2)[SW2](F1/1) ---> (eth0.20)HostB
Lets say F1/1 (SW1) is an access port and part of VLAN 20 and I configured a Ubuntu HostA with eth0.20. As per the logic an Access port can only accept packet untagged but part of that same VLAN.
In this case when the HostA sends the packet to HostB, will SW1 Port F1/1 accept the packet? So F1/1 is the access port and part of VLAn 20 and eth0 is also part of VLAN 20 but sending a Taged packet.
I have not mentioned the switch mode of F1/2 as I want someone to suggest the ideal mode.
Unfortunetly I could not try this scenario on the Packet tracer as I can not create eth0.20 nic.
04-06-2024 03:53 PM
"As per the logic an Access port can only accept packet untagged but part of that same VLAN."
I don't believe that's always correct. I.e. some Cisco switches will accept tagged frames on access ports, provided they have a zero VLAN number (used for L2 Cos), use the VLAN number the access port is assigned to, or use the VLAN number for a voice VLAN assigned to the access port.
04-08-2024 12:52 AM
will check it in lab
update you tomorrow
MHM
04-08-2024 03:07 AM
04-08-2024 03:26 AM
"It will also accept frames that are tagged, but only if the tag indicates that the frame belongs to the VLAN of the access point."
Believe you may be overlooking frames with VLAN zero used just for L2 CoS tagging. (Unusual usage, though.)
"However an access port will send only untagged frames."
Except when access port supports a "voice" VLAN (or if it can create VLAN zero tagged frames).
NB: a "voice" VLAN, on an access port, isn't restricted to just VoIP usage although that would almost always be what it's used for.
04-08-2024 04:46 AM
Voice VLAN access ports...
I call them smart ports with the default behaviour of access ports. They behave like access ports only if their smarts cannot figure out what devices are connected to them. There are different types of smart ports.
04-09-2024 11:29 AM
The OP asks "I have not mentioned the switch mode of F1/2 as I want someone to suggest the ideal mode". We do not know enough about this environment to be able to give good advice. So far the only vlan mentioned is vlan 20. Is there anything in the environment/design that calls for other vlans? If there are to be other vlans then configuration of the interface as a trunk may be desirable. If vlan 20 is to be the only active vlan then certainly configuration of F1/2 as an access port would be appropriate.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide