欧艺龙 发表于 2013-6-4 13:58:50

急急急!求助聚合端口单臂路由问题

本帖最后由 欧艺龙 于 2013-6-4 14:01 编辑

急求大神!!在线等-lol-



需求:在通过聚合端口实现vlan 10 和 vlan 20 间的互通(即实现单臂路由)并在两交换机间实现快速生成树协议..


经本人排查:
1.vlan 10 子网内可互通
2.vlan 20 子网内可互通
3.PC都配上网关


4.聚合端口(5个接口)上都配上trunk了..
switch4:
Port      Mode         EncapsulationStatus      Native vlan
Po1         on         802.1q         trunking      1
Port      Vlans allowed on trunk
Po1         1-1005
Port      Vlans allowed and active in management domain
Po1         1
Port      Vlans in spanning tree forwarding state and not pruned
Po1         1
switch5:
Port      Mode         EncapsulationStatus      Native vlan
Fa0/24      on         802.1q         trunking      1
Po1         on         802.1q         trunking      1
Port      Vlans allowed on trunk
Fa0/24      1-1005
Po1         1-1005
Port      Vlans allowed and active in management domain
Fa0/24      1
Po1         1
Port      Vlans in spanning tree forwarding state and not pruned
Fa0/24      1
Po1         1

5.在路由器上也配上了子接口


以下配置:
router:
Current configuration : 669 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/0.1
encapsulation dot1Q 10
ip address 192.168.10.254 255.255.255.0
!
interface FastEthernet0/0.2
encapsulation dot1Q 20
ip address 192.168.20.254 255.255.255.0
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
Current configuration : 669 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/0.1
encapsulation dot1Q 10
ip address 192.168.10.254 255.255.255.0
!
interface FastEthernet0/0.2
encapsulation dot1Q 20
ip address 192.168.20.254 255.255.255.0
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
Current configuration : 669 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/0.1
encapsulation dot1Q 10
ip address 192.168.10.254 255.255.255.0
!
interface FastEthernet0/0.2
encapsulation dot1Q 20
ip address 192.168.20.254 255.255.255.0
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!Current configuration : 669 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/0.1
encapsulation dot1Q 10
ip address 192.168.10.254 255.255.255.0
!
interface FastEthernet0/0.2
encapsulation dot1Q 20
ip address 192.168.20.254 255.255.255.0
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
switch4:
Current configuration : 1155 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
spanning-tree mode rapid-pvst
spanning-tree vlan 1 priority 0
!
interface FastEthernet0/1
channel-group 1 mode on
switchport mode trunk
!
interface FastEthernet0/2
channel-group 1 mode on
switchport mode trunk
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface Port-channel 1
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end

switch5:
Current configuration : 1155 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
spanning-tree mode rapid-pvst
spanning-tree vlan 1 priority 0
!
interface FastEthernet0/1
channel-group 1 mode on
switchport mode trunk
!
interface FastEthernet0/2
channel-group 1 mode on
switchport mode trunk
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface Port-channel 1
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
补充:后续补上了吧两switch上的4个端口都划上了vlan10 和 vlan20 但是一划上什么都不通了。。求解。。

tea 发表于 2013-6-4 14:10:19

哎……
我一秒钟就看到了错误所在:

interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!

要仔细啊。

看一下我讲课的视频吧,关于单臂路由:http://v.youku.com/v_show/id_XNTYyNTU5MzYw.html

欧艺龙 发表于 2013-6-4 14:33:51

tea 发表于 2013-6-4 14:10
哎……
我一秒钟就看到了错误所在:



我又错了。。-71--71--71-朱SIR永远的一秒钟..让我情何以堪...-71--71-有点不好意思了..

欧艺龙 发表于 2013-6-4 17:07:27

tea 发表于 2013-6-4 14:10
哎……
我一秒钟就看到了错误所在:



no shutdown 也不行啊。。-71-

欧艺龙 发表于 2013-6-4 17:14:09

欧艺龙 发表于 2013-6-4 14:33
我又错了。。朱SIR永远的一秒钟..让我情何以堪...有点不好意思了..

我还是看视频先把。。不好意思

欧艺龙 发表于 2013-6-4 21:48:52

tea 发表于 2013-6-4 14:10
哎……
我一秒钟就看到了错误所在:



懂了懂了。应该心不够静。。呵-lol-谢了

页: [1]
查看完整版本: 急急急!求助聚合端口单臂路由问题