路由器Router1和Router2的S0口均封裝PPP協(xié)議,采用CHAP做認(rèn)證,在Router1中應(yīng)建立一個用戶,以對端路由器主機(jī)名作為用戶名,即用戶名應(yīng)為router2。同時在Router2中應(yīng)建立一個用戶,以對端路由器主機(jī)名作為用戶名,即用戶名應(yīng)為router1。所建的這兩用戶的passWord必須相同。

設(shè)置如下:
Router1:
hostnamerouter1
usernamerouter2passwordxxx
interfaceSerial0
ipaddress192.200.10.1255.255.255.0
clockrate1000000
pppauthenticationchap
Router2:
hostnamerouter2
usernamerouter1passwordxxx
interfaceSerial0
ipaddress192.200.10.2255.255.255.0
pppauthenticationchap
新聞熱點(diǎn)
疑難解答
圖片精選