ip subnet-zero
no ip domain-lookup
!
vpdn enable
!
vpdn-group 1
request-dialin
protocol pppoe
!
!
!
!
interface FastEthernet0/0
ip address 192.168.0.3 255.255.255.0
ip nat inside
no ip mroute-cache
duplex auto
speed auto
!
interface Serial0/0
no ip address
no ip mroute-cache
shutdown
no fair-queue
!
interface Ethernet1/0
no ip address
half-duplex
pppoe enable
pppoe-client dial-pool-number 1
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
no ip route-cache
no ip mroute-cache
dialer pool 1
dialer-group 1
ppp authentication pap
ppp pap sent-username cisco password 0 cisco
!
ip nat inside source list 1 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
ip pim bidir-enable
!
!
access-list 1 permit 192.168.0.0 0.0.0.255
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 0 0
transport output none
line aux 0
line vty 0 4
password cisco
login
!
!
end
現在上不了網,請教高手,現在的配置還有哪裡不對 現在上不了網,請教高手,現在的配置還有哪裡不對
看一下有沒有nat的轉換,測試一下dns
在E0/0端口上加上
在E0/0端口上加上」
是什麼意思呢?跟ip mtu有什麼區別呢?
分別用如下調試命令看下:
debug vpdn pppoe-events 檢查PPPoE連接建立過程
show vpdn 檢查建立的PPPoE連接
debug ppp negotiation 檢查PPP參數協商情況
debug ppp authentication 檢查PPP用戶認證情況
在配置中添加:ip name-server *.*.*.* (當地ISP的DNS服務器IP)
出現下面的提示:
AAA: Warning, authentication list "default" is not defined for PPP.
這個提示是什麼意思,應該怎麼解決
Virtual-Access1 is down, line protocol is down
Hardware is Virtual Access interface
MTU 1500 bytes, BW 100000 Kbit, DLY 100000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set
LCP Closed
Closed: BRIDGECP, IPCP, CCP, CDPCP, LLC2, IPXCP, NBFCP, ATCP
Last input never, output never, output hang never
Last clearing of "show interface" counters 00:00:49
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transition
Virtual-Access1 is down, line protocol is down,是因為那裡配置錯了嗎
debug vpdn pppoe-events只顯示了一句
PPPoE protocol events debugging is on
show vpdn
%No active L2TP tunnels
%No active L2F tunnels
%No active PPTP tunnels
PPPoE Tunnel and Session Information Total tunnels 1 sessions 1
PPPoE Tunnel Information
VPDN group: pppoe
Session count: 1
PPPoE Session Information
SID RemMAC LocMAC Intf VASt OIntf VLAN/
VP/VC
59491 0002.3b00.e86f 0002.fda7.ba50 Vi1 DOWN Et1/0
debug ppp negotiation
PPP protocol negotiation debugging is on
debug ppp authentication
PPP authentication debugging is on
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname cisco
!
enable secret 5 $1$Glxd$q6h0bKfDLJqpmQlpl8wG31
!
ip subnet-zero
!
vpdn enable
!
vpdn-group PPPoE
request-dialin
protocol pppoe
!
interface Ethernet0/0
ip address 192.168.0.100 255.255.255.0
ip nat inside
ip tcp adjust-mss 1452
half-duplex
!
interface Ethernet0/1
no ip address
half-duplex
pppoe enable
pppoe-client dial-pool-number 1
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
encapsulation ppp
no ip mroute-cache
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication pap callin
ppp pap sent-username adxxxxxxx password 7 141E110F5823137811
ip nat inside source list 1 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1 permanent
no ip http server
ip pim bidir-enable
!
access-list 1 permit any
dialer-list 1 protocol ip permit
!
line con 0
speed 115200
line aux 0
line vty 0 4
password xxxxxxx
login
!
no scheduler allocate
!
end
%AMDP2_FE-5-LATECOLL: Ethernet1/0 transmit error
是什麼意思
mtu 1492
是什麼意思
最大傳輸單元
不行就降
有的用chap
如果把最大傳輸單元改為1492byte,通常情況下是沒有問題的。但有時候web server會傳輸超過1492byte的包,這樣就會造成"waiting for reply..." 所以,最大的傳輸單元應該比1492byte小,所以是1452!
[ 關閉窗口 ]
