i have a router 7200 connected(g0/2) with switch 3550(g0/12). I have on my switch 3 vlans. So i did the following:
1. The interface of switch(g0/12) to trunk mode encapsulation dot1q
2. I create 3 subinterfaces (g0/2.1, g0/2.2,g0/2.3)on the router with dot1q encapsulation with different networks.
3. i removed the ip address of the interface(g0/2) of the router and i put ip addresses on subinterfaces.
i do not know what i am doing wrong but i seems it does not work. Did i forget anything? Did i did something wrong?
Meantime the interface of the router(g0/2) (not subinterfaces) i saw that it was encapsulation dot1q vlan id 1 . The others interfaces(g0/1 etc) of the router which i did not create subinterfaces were encapsulation ARPA.
i tried to change that but the int(g0/2) does not accept encapsulation.