案例研究(實驗):遠程撥號連接 說明:Router2503通過AUX外接ModemA來接入撥號,ModemB是撥號主機的MODEM,撥號主機通過路由器接受ip地址。拓撲圖是最典型的電話遠程撥號連接。 用戶名:hutnis,密碼:cisco ModemA的電話:3355, ModemB的電話:3322 HostA的IP:192.168.10.100/24 Router2503的E0:192.168.10.1/24 Router2503分配地址池192.168.100.25給HostB 連接的默認速度:9600bps -------------------------------------------- 2503#sh run Building configuration...
Current configuration: ! version 11.0 service udp-small-servers service tcp-small-servers ! hostname Router ! ! username hutnis passWord 7 060506324F41 ! interface Loopback1 ip address 192.168.100.1 255.255.255.0 ----------回環(huán)地址可以不設 ! interface Ethernet0 ip address 192.168.10.1 255.255.255.0 ! interface Serial0 ip address 194.168.10.200 255.255.255.0 no fair-queue ! interface Serial1 no ip address shutdown ! interface BRI0 no ip address shutdown ! interface Async1 ip unnumbered Ethernet0 encapsulation ppp keepalive 10 async default routing ----------異步缺省路由功能可以不設 async mode interactive ----------異步模式必須設置為interactive peer default ip address pool default no cdp enable ppp authentication chap pap ! router eigrp 100 ----------EGIRP路由協(xié)議也可以不設 network 192.168.10.0 network 192.168.100.0 ! ip local pool default 192.168.100.25 ! ! line con 0 line aux 0 autoselect ppp modem DialIn ----------把dialin改為inout也可以 transport input all stopbits 1 flowcontrol hardware line vty 0 4 login ! end