-
UID:348
-
- 注册时间2008-03-02
- 最后登录2025-07-13
- 在线时间1518小时
-
- 发帖6734
- 搜Ta的帖子
- 精华9
- 金钱54611
- 贡献值193
- 交易币209
- 好评度1569
-
访问TA的空间加好友用道具
- 发帖
- 6734
- 金钱
- 54611
- 贡献值
- 193
- 交易币
- 209
- 好评度
- 1569
- 家乡
- 广东省河源市
- 性别
- 男
|
! BYS lKTh interface Dialer1 BYS lKTh ip address negotiated BYS lKTh ip nat outside BYS lKTh ip mtu 1492 BYS lKTh encapsulation ppp BYS lKTh no ip mroute-cache BYS lKTh dialer pool 1 BYS lKTh dialer-group 1 BYS lKTh ppp authentication pap BYS lKTh ppp pap sent-username dg48907653@163.gd password xxxxxxxx BYS lKTh ! BYS lKTh ip classless BYS lKTh no ip http server BYS lKTh ! BYS lKTh dialer-list 1 protocol ip permit BYS lKTh ip nat inside source list 1 interface Dialer1 overload BYS lKTh ip route 0.0.0.0 0.0.0.0 dialer1 BYS lKTh access-list 1 permit 192.168.0.0 0.0.0.255 BYS lKTh ! BYS lKTh line con 0 BYS lKTh exec-timeout 0 0 BYS lKTh transport input none BYS lKTh line vty 0 4 BYS lKTh login BYS lKTh ! BYS lKTh end BYS lKTh
BYS lKTh
Cisco路由器连接ADSL WIC卡之PPPoE配置: BYS lKTh
vpdn-group pppoe BYS lKTh request-dialin BYS lKTh BYS lKTh !--- we are the PPPoE client requesting to establish BYS lKTh !--- a session with the aggregation unit (6400 NRP). BYS lKTh BYS lKTh protocol pppoe BYS lKTh ! BYS lKTh BYS lKTh BYS lKTh !--- internal Ethernet network. BYS lKTh BYS lKTh ! BYS lKTh interface FastEthernet0 BYS lKTh ip address 10.92.1.182 255.255.255.0 (r.{v@h,dV ip nat inside (r.{v@h,dV (r.{v@h,dV (r.{v@h,dV !--- DSL interface. (r.{v@h,dV (r.{v@h,dV ! (r.{v@h,dV interface ATM0 (r.{v@h,dV no ip address (r.{v@h,dV no atm ilmi-keepalive (r.{v@h,dV bundle-enable (r.{v@h,dV dsl operating-mode auto (r.{v@h,dV hold-queue 224 in (r.{v@h,dV (r.{v@h,dV !--- All defaults. (r.{v@h,dV (r.{v@h,dV (r.{v@h,dV (r.{v@h,dV (r.{v@h,dV !--- PPPoE runs on top of AAL5SNAP, but the (r.{v@h,dV !--- encap aal5snap command is not used. (r.{v@h,dV (r.{v@h,dV ! (r.{v@h,dV interface ATM0.1 point-to-point (r.{v@h,dV pvc 1/1 (r.{v@h,dV pppoe-client dial-pool-number 1 (r.{v@h,dV (r.{v@h,dV !--- pvc 1/1 is an example value that must be changed (r.{v@h,dV !--- to match the value used by the ISP. (r.{v@h,dV (r.{v@h,dV ! (r.{v@h,dV (r.{v@h,dV (r.{v@h,dV (r.{v@h,dV !--- The PPPoE client code ties into a dialer interface upon (r.{v@h,dV !--- which a virtual-access interface is cloned. (r.{v@h,dV (r.{v@h,dV ! (r.{v@h,dV interface Dialer1 (r.{v@h,dV ip address negotiated (r.{v@h,dV ip mtu 1492 (r.{v@h,dV (r.{v@h,dV !--- Ethernet MTU default = 1500 (1492 + PPPoE headers = 1500) (r.{v@h,dV (r.{v@h,dV ip nat outside (r.{v@h,dV encapsulation ppp (r.{v@h,dV dialer pool 1 (r.{v@h,dV (r.{v@h,dV !--- Ties to atm interface. (r.{v@h,dV (r.{v@h,dV ppp authentication chap callin (r.{v@h,dV ppp chap hostname <username> (r.{v@h,dV ppp chap password <password> (r.{v@h,dV ! (r.{v@h,dV (r.{v@h,dV !--- The ISP will instruct you regarding (r.{v@h,dV !--- the type of authentication to use. (r.{v@h,dV !--- To change from PPP CHAP to PPP PAP, (r.{v@h,dV !--- replace the following three lines: (r.{v@h,dV !--- ppp authentication chap callin (r.{v@h,dV !--- ppp chap hostname <username> (r.{v@h,dV !--- ppp chap password <password> (r.{v@h,dV !--- with the following two lines: (r.{v@h,dV !--- ppp authentication pap callin (r.{v@h,dV !--- ppp pap sent-username <username> password <password> (r.{v@h,dV (r.{v@h,dV (r.{v@h,dV !--- For NAT we are going to overload on the Dialer1 (r.{v@h,dV !--- interface and add a default route out (r.{v@h,dV !--- since dialer ip address can change. (r.{v@h,dV (r.{v@h,dV ip nat inside source list 1 interface Dialer1 overload (r.{v@h,dV ip classless (r.{v@h,dV ip route 0.0.0.0 0.0.0.0 dialer1 (r.{v@h,dV no ip http server (r.{v@h,dV (r.{v@h,dV
|