按照如下配置,在核心CORE交换机配置PC_21h和PC_22的网关,vlan10与vlan20能否互通?是否需要配置静态路由?
PC_21配置:
IP:192.168.10.1/24
网关:192.168.10.254
PC_22配置:
IP:192.168.20.1/24
网关:192.168.20.254
SW-1配置:
# vlan 1
# vlan 10
# stp global enable
# interface GigabitEthernet1/0/1
port link-mode bridge
port access vlan 10
combo enable fiber
# interface GigabitEthernet1/0/2
port link-mode bridge
port link-type trunk
port trunk permit vlan all
combo enable fiber
#
SW-2配置:
# vlan 1
# vlan 20
# stp global enable
# interface GigabitEthernet1/0/1
port link-mode bridge
port access vlan 20
combo enable fiber
# interface GigabitEthernet1/0/2
port link-mode bridge
port link-type trunk
port trunk permit vlan all
combo enable fiber
#
CORE配置:
# vlan 1
# vlan 10
# vlan 20
# stp global enable
# interface Vlan-interface10
ip address 192.168.10.254 255.255.255.0
# interface Vlan-interface20
ip address 192.168.20.254 255.255.255.0
# interface GigabitEthernet1/0/1
port link-mode bridge
port link-type trunk
port trunk permit vlan all
combo enable fiber
# interface GigabitEthernet1/0/2
port link-mode bridge
port link-type trunk
port trunk permit vlan all
combo enable fiber
#
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论