Router(config-if)#do show ip inter brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES manual up down
FastEthernet0/1.1 192.168.1.1 YES manual up down
FastEthernet0/1.2 192.168.2.1 YES manual up down
Vlan1 unassigned YES unset administratively down down
对端口交换机的f0/1
Switch(config-if)#do show run
version 12.1
hostname Switch
no ip domain-lookup
interface FastEthernet0/1
switchport mode trunk
由于有字数限制,路由器的配置run我贴在上面了
很明显,F0/1起trunk是错误的,只需no shut即可。 还有,子接口下做了encapsulation(封装)没?