Typical X.25 Configuration Example 225
e Specify address mapping to the peer
[Router-Serial0]x25 map ip 202.38.160.2 x121-address 20112452
f As this is a direct connection, the flow control parameters can be increased
slightly
[Router-Serial0]x25 packet-size 1024 1024
[Router-Serial0]x25 window-size
2 Configure Router B:
a Select interface
[Router]interface serial 1
b Specify IP address for this interface
[Router-Serial1]ip address 202.38.160.2 255.255.255.0
c Configure the link layer protocol of the interface to X.25 and specify its
working mode as DCE
[Router-Serial1]link-protocol x25 dce
d Specify X.121 address of this interface
[Router-Serial1]x25 x121-address 20112452
e Specify address mapping to the peer
[Router-Serial1]x25 map ip 202.38.160.1 x121-address 20112451
f As this is a direct connection, the flow control parameters can be increased
slightly
[Router-Serial1]x25 packet-size 1024 1024
[Router-Serial1]x25 window-size 5 5
Connect the Router to
X.25 Public Packet
Network
I. Networking Requirement
As shown in the diagram below, three routers A, B and C are connected to the
same X.25 network for mutual communication. The requirements are:
■ IP addresses of the interfaces Serial0 of three routers are 168.173.24.1,
168.173.24.2 and 168.173.24.3 respectively.
■ X.121 addresses assigned to the three routers by the network are 30561001,
30561002 and 30561003 respectively.
■ Standard window size supported by the packet network: both receiving
window and sending window are 5.
■ Standard maximum packet length: both maximum receiving packet length and
maximum sending packet length are 512.
■ Channel range: permanent virtual circuit section, incoming-only channel
section and outgoing-only channel section are disabled, two-way channel
section is [1, 31].