公网网络互通
PE1:
ospf 1 router-id 1.1.1.1
area 0.0.0.0
network 1.1.1.1 0.0.0.0
network 100.1.1.1 0.0.0.0
P:
ospf 1 router-id 2.2.2.2
area 0.0.0.0
network 2.2.2.2 0.0.0.0
network 100.1.1.2 0.0.0.0
network 100.1.2.2 0.0.0.0
PE2:
ospf 1 router-id 3.3.3.3
area 0.0.0.0
network 3.3.3.3 0.0.0.0
network 100.1.2.1 0.0.0.0
PE与CE之间IP配置,创建VPN
PE1:
ip vpn-instance 1
ipv4-family
#
ip vpn-instance 2
ipv4-family
interface GigabitEthernet0/0/0
ip binding vpn-instance 1
ip address 192.168.1.1 255.255.255.0
#
interface GigabitEthernet0/0/1
ip binding vpn-instance 2
ip address 192.168.1.1 255.255.255.0
PE2:
ip vpn-instance 1
ipv4-family
#
ip vp