R1
的配置
Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host R1
R1(config)#int bri0
R1(config-if)#ip add 172.16.1.1 255.255.255.0
R1(config-if)#no shut
%LINK-3-UPDOWN: Interface Bri0, changed state to up
R1(config-if)#end
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#isdn switch-type basic-net3
R1(config)#int bri0
R1(config-if)#isdn spid1 32177820010100
R1(config-if)#dialer string 7782001
R1(config-if)#dialer-group 1
R1(config-if)#exit
R1(config)#dialer-list 1 protocol ip permit
R1(config)#end
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int e0
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#ip route 192.168.2.0 255.255.255.0 172.16.1.2
R1(config)#end
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host R2
R2(config)#int bri0
R2(config-if)#ip add 172.16.1.2 255.255.255.0
R2(config-if)#no shut
%LINK-3-UPDOWN: Interface Bri0, changed state to up
R2(config-if)#end
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#isdn switch-type basic-net3
R2(config)#int bri0
R2(config-if)#isdn spid1 32177820020100
R2(config-if)#dialer string 7782002
R2(config-if)#dialer-group 1
R2(config-if)#exit
R2(config)#dialer-list 1 protocol ip permit
R2(config)#end
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int e0
R2(config-if)#ip add 192.168.2.1 255.255.255.0
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#ip route 192.168.1.0 255.255.255.0 172.16.1.1
R2(config)#end