Imagine I want to let my 3750 do ip routing:
RouterB[g0/0:192.168.10.1]----[fa0/10:no switchport CAT3750 fa0/11:no switchport]----[fa0/0:192.168.20.1 RouterC]
Then on my CAT3750, I configure:
ip add 192.168.10.2 255.255.255.0
int vlan 2
ip add 192.168.20.2 255.255.255.0
My observation is, if I did "no switchport" on the port fa0/12 and fa/011 in the switch how should I approach the respective fa0/12 and fa0/12 in order to specify to which vlan the respective ports are associated with?
I am sorry for this question, but I came across this concept which I forgot and I don't have a switch handy to test it out right now.
When using "no switchport" the port is converted into a layer 3 interface, which needs an IP address, and can't be assigned to a certain VLAN, as its now a routed port not a switched port, further more it can communicate with VLAN1 and VLAN2 through the SVI interfaces of the VLANs (int vlan1 and int vlan2).
HTH, please do rate all helpful relies,