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