今天做的实验给各位分享。
案例研究(实验):远程拨号连接
说明: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 ----------回环地址可以不设
!
interface Ethe.net0
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路由协议也可以不设
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