int f0/1 switchport access vlan 100 switchport mode access
Swithc will untagg all vlan 100 traffic as it goes out that inerface "UNTAGGED" traffic.
on router 2 ,you have your IP address on VLAN 100. Which means that if you want to access that IP address, the packets should enter the router as TAGGED VLAN100 traffic. which will not work because your switch UNTAGs them as it leavs the port.
When you configure your router with the NATIVE VLAN 100 command, we basically instruct the router to consider the UNTAGGED traffic comming in from that port as VLAN 100 traffic". Think of this as if the router is accutally tagging incoming UNTAGGED traffic as TAGGED VLAN 100 traffic as it enters this interface.. so this is why it works when you have the switch port access command on the switch
I'm working on a project that includes basic router configurations. I configurated everything including: line console 0, line vty 0 15 and secret passwords. There are 3 routers in the network and every LAN is going t...
Desire to create Terminal Server ("TS" in this document) out of 2811 Cisco Router with HWIC-16A card (with Octal cables)
Desire to use SSH over Telnet
TS is ip'ed, SSH access configured (to the TS)
Python based Script to BULK Import/Delete devices using Cisco Prime API
Check my Repo on GitHub for all the details ( see below link )