问题现象:客户机都够正常上网,但是不能够访问其他网段的客户机,
ping测试结果:客户机ping自己的网关可以通信,ping 对方的网关地址也可以通信
故障:接入层PC之间不能相互访问
配置:
核心(三层转发):
dhcp enable
dhcp server forbidden-ip 10.1.1.1 10.1.1.110
dhcp server forbidden-ip 10.1.21.1 10.1.21.110
dhcp server forbidden-ip 10.1.41.1 10.1.41.110
#
dhcp server ip-pool vlan101
gateway-list 10.1.1.254
network 10.1.1.0 mask 255.255.255.0
dns-list 222.74.1.200 114.114.114.114
#
dhcp server ip-pool vlan121
gateway-list 10.1.21.254
network 10.1.21.0 mask 255.255.255.0
dns-list 222.74.1.200 114.114.114.114
#
dhcp server ip-pool vlan141
gateway-list 10.1.41.254
network 10.1.41.0 mask 255.255.255.0
dns-list 222.74.1.200 114.114.114.114
#
interface Bridge-Aggregation1
#(聚合接口地址)
interface Route-Aggregation1
ip address 192.168.10.254 255.255.255.0
#
interface Vlan-interface101
ip address 10.1.1.254 255.255.255.0
#
interface Vlan-interface121
ip address 10.1.21.254 255.255.255.0
#
interface Vlan-interface141
ip address 10.1.41.254 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-mode bridge
description TO-1-SW1
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/2
port link-mode bridge
description TO-1-SW2
port link-type trunk
port trunk permit vlan all
port trunk pvid vlan 888
#
interface GigabitEthernet1/0/3
port link-mode bridge
description TO-1-SW3
port link-type trunk
port trunk permit vlan all
#
ip route-static 0.0.0.0 0 192.168.10.1
汇聚:
#
vlan batch 101 to 119 121 888
#
vlan 888
description guanli
#
interface Vlanif888
ip address 10.10.10.11 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface Ethernet0/0/1
port link-type access
port default vlan 101
#
ip route-static 0.0.0.0 0.0.0.0 10.10.10.254
#
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论