模拟器HCL
SW1,2,5跑ospf,将环回口和互联网段宣告进ospf
SW5创建VPN实例FAC,lo0,g1/0/1,g1/0/2,ospf均在VPN示例下
SW5全局创建vlan 10,int vlan10地址10.10.10.250/24
SW3创建vlan 10,int vlan10地址10.10.10.254/24
目的:SW1的环回口1.1.1.1能与SW3的int vlan10网段互通
问题:配了下列配置,但无法ping通。想问一下配置哪里出了问题?
主要配置:
------------------------------SW1-------------------------------
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
interface GigabitEthernet1/0/1
port link-mode route
combo enable fiber
ip address 15.15.15.1 255.255.255.0
ospf 100
preference 110
preference ase 110
area 0.0.0.0
network 1.1.1.1 0.0.0.0
network 15.15.15.0 0.0.0.255
------------------------------SW2-------------------------------
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
interface GigabitEthernet1/0/1
port link-mode route
combo enable fiber
ip address 25.25.25.2 255.255.255.0
ospf 100
preference 110
preference ase 110
area 0.0.0.0
network 2.2.2.2 0.0.0.0
network 25.25.25.0 0.0.0.255
------------------------------SW3-------------------------------
vlan 10
interface Vlan-interface10
ip address 10.10.10.254 255.255.255.0
ip route-static 0.0.0.0 0 10.10.10.250
------------------------------SW5-------------------------------
ip vpn-instance FAC
route-distinguisher 10:1
vpn-target 10:1 import-extcommunity
vpn-target 10:1 export-extcommunity
ospf 100 router-id 5.5.5.5 vpn-instance FAC
import-route static
preference 110
preference ase 110
area 0.0.0.0
network 5.5.5.5 0.0.0.0
network 15.15.15.0 0.0.0.255
network 25.25.25.0 0.0.0.255
interface LoopBack0
ip binding vpn-instance FAC
ip address 5.5.5.5 255.255.255.255
vlan 10
interface Vlan-interface10
ip address 10.10.10.250 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-mode route
combo enable fiber
ip binding vpn-instance FAC
ip address 15.15.15.5 255.255.255.0
#
interface GigabitEthernet1/0/2
port link-mode route
combo enable fiber
ip binding vpn-instance FAC
ip address 25.25.25.5 255.255.255.0
#
interface GigabitEthernet1/0/3
port link-mode bridge
port access vlan 10
combo enable fiber
#
interface GigabitEthernet1/0/4
port link-mode bridge
port access vlan 10
combo enable fiber
#
ip route-static 1.1.1.1 32 vpn-instance FAC 15.15.15.1
ip route-static vpn-instance FAC 10.10.10.0 24 Vlan-interface10 10.10.10.254
路由表:
SW5
SW1
SW3
(0)
接口vlan对应vlan都放通了吗
(0)
放了,SW3的g1/0/1 interface GigabitEthernet1/0/1 port link-mode bridge port access vlan 10 combo enable fiber
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
放了,SW3的g1/0/1 interface GigabitEthernet1/0/1 port link-mode bridge port access vlan 10 combo enable fiber