10.1.1.2/32 Direct 0 0 D 127.0.0.1 InLoopBack0
10.2.1.0/24 IBGP 255 0 RD 3.3.3.3
GigabitEthernet2/0/0
10.2.1.1/32 IBGP 255 0 RD 3.3.3.3
GigabitEthernet2/0/0
10.2.1.2/32 IBGP 255 0 RD 3.3.3.3
GigabitEthernet2/0/0
100.3.1.1/32 EBGP 255 0 D 10.1.1.1
GigabitEthernet1/0/0
Run the
display ip routing-table
command on PE1 to display that the route to the proxy server
exists in the public network routing table, and the IP address of next hop is 10.1.1.1.
[PE1]
display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 10 Routes : 10
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
2.2.2.2/32 OSPF 10 2 D 100.1.1.2
GigabitEthernet2/0/0
3.3.3.3/32 OSPF 10 3 D 100.1.1.2
GigabitEthernet2/0/0
100.1.1.0/24 Direct 0 0 D 100.1.1.1
GigabitEthernet2/0/0
100.1.1.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
100.1.1.2/32 Direct 0 0 D 100.1.1.2
GigabitEthernet2/0/0
100.2.1.0/24 OSPF 10 2 D 100.1.1.2
GigabitEthernet2/0/0
100.3.1.0/24 Static 60 0 D 10.1.1.1
GigabitEthernet1/0/0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
P can ping through the proxy server.
[P]
ping 100.3.1.1
PING 100.3.1.1: 56 data bytes, press CTRL_C to break
Reply from 100.3.1.1: bytes=56 Sequence=1 ttl=254 time=62 ms
Reply from 100.3.1.1: bytes=56 Sequence=2 ttl=254 time=62 ms
Reply from 100.3.1.1: bytes=56 Sequence=3 ttl=254 time=62 ms
Reply from 100.3.1.1: bytes=56 Sequence=4 ttl=254 time=62 ms
Reply from 100.3.1.1: bytes=56 Sequence=5 ttl=254 time=62 ms
--- 100.3.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 62/62/62 ms
Also, the proxy server can access P.
----End
Configuration Files
l
Configuration file of CE1
#
sysname CE1
#
interface GigabitEthernet1/0/0
ip address 10.1.1.1 255.255.255.0
#
interface GigabitEthernet2/0/0
ip address 100.3.1.1 255.255.255.0
#
bgp 65410
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2012-04-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
229