366
Configuration procedure
In this example, because the network providers have configured load sharing on the packet switch,
you only need to configure X.25 switching.
Two lines have been connected to the same peer on Router C, so you must configure a virtual IP
address and two static routes on interface Serial 2/1 to "cheat" the router. In this way, Router C will
deem that two routes to network segment 10.1.1.0 exist to implement load sharing.
1. Configure Router A:
# Configure interface Ethernet 1/1.
<RouterA> system-view
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ip address 10.1.1.1 255.255.255.0
[RouterA-Ethernet1/1] quit
# Configure interface Serial 2/0.
[RouterA] interface serial 2/0
[RouterA-Serial2/0] link-protocol x25 dte
[RouterA-Serial2/0] x25 x121-address 1111
[RouterA-Serial2/0] ip address 1.1.1.1 255.255.255.0
[RouterA-Serial2/0] x25 map ip 1.1.1.3 x121-address 3333
[RouterA-Serial2/0] x25 vc-per-map 2
# Configure a static route to Router C.
[RouterA] ip route-static 10.3.1.0 24 1.1.1.3
2. Configure Router B:
# Configure interface Ethernet 1/1.
<RouterB> system-view
[RouterB] interface ethernet 1/1
[RouterB-Ethernet1/1] ip address 10.2.1.1 255.255.255.0
[RouterB-Ethernet1/1] quit
# Configure interface Serial 2/0.
[RouterB] interface serial 2/0
[RouterB-Serial2/0] link-protocol x25 dte
[RouterB-Serial2/0] x25 x121-address 2222
[RouterB-Serial2/0] ip address 1.1.1.2 255.255.255.0
[RouterB-Serial2/0] x25 map ip 1.1.1.3 x121-address 3333
[RouterB-Serial2/0] x25 vc-per-map 2
# Configure a static route to Router C.
[RouterB] ip route-static 10.3.1.0 24 1.1.1.3
3. Configure Router C:
# Configure interface Ethernet 1/1.
<RouterC> system-view
[RouterC] interface ethernet 1/1
[RouterC-Ethernet1/1] ip address 10.3.1.1 255.255.255.0
[RouterC-Ethernet1/1] quit
# Configure interface Serial 2/0.
[RouterC] interface serial 2/0
[RouterC-Serial2/0] link-protocol x25 dte
[RouterC-Serial2/0] x25 x121-address 3333
[RouterC-Serial2/0] ip address 1.1.1.3 255.255.255.0