R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide
265
Figure 80 Network diagram
Device Interface IP address Device Interface IP address
Router A GE2/1
/
1 1.0.0.0/8
Router D
S2/2
/
0 195.1.1.1/24
S2/2
/
0 192.1.1.1/24
S2/2
/
1 194.1.1.1/24
S2/2/1 193.1.1.1/24 Router C S2/2/0 195.1.1.2/24
Router B S2/2
/
0 192.1.1.2/24
S2/2
/
1 193.1.1.2/24
S2/2
/
1 194.1.1.2/24
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure OSPF on routers B, C, and D:
# Configure Router B.
<RouterB> system-view
[RouterB] ospf
[RouterB-ospf] area 0
[RouterB-ospf-1-area-0.0.0.0] network 192.1.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] network 194.1.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] quit
[RouterB-ospf-1] quit
# Configure Router C.
<RouterC> system-view
[RouterC] ospf
[RouterC-ospf] area 0
[RouterC-ospf-1-area-0.0.0.0] network 193.1.1.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.0] network 195.1.1.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.0] quit
[RouterC-ospf-1] quit
# Configure Router D.
<RouterD> system-view
[RouterD] ospf
[RouterD-ospf] area 0
[RouterD-ospf-1-area-0.0.0.0] network 194.1.1.0 0.0.0.255
[RouterD-ospf-1-area-0.0.0.0] network 195.1.1.0 0.0.0.255
[RouterD-ospf-1-area-0.0.0.0] quit
[RouterD-ospf-1] quit
3. Configure BGP connections:
Router A
AS 100
GE2/1/1
S2/2/0
Router C
AS 200
S2/2/1
S2/2/0
S2/2/0
S2/2/1
S2/2/1
Router B
Router D
S2/2/0
S2/2/1