|

- 社区积分
- 122
- 技术积分
- 1816
- 阅读权限
- 40
- 注册时间
- 2007-7-18
论坛徽章 1 |
楼主
发表于 2007-8-21 15:19
| 只看该作者
1760的DSL上网问题!
没有培植ADSL模块,IOS支持虚拟拨号
我在PC上一直可以ping 通拨号出来的IP但是不能ping外网的IP和网址
而我在路由器内部可以ping 到外网的IP
大家遇到过这样的情况吗?稍后我把培植附上!
希望高手解答
Current configuration : 1217 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
ip subnet-zero
!
!
!
ip cef
ip audit notify log
ip audit po max-events 100
p audit po max-events 100
ip ssh break-string
vpdn enable
!
vpdn-group ppoe
request-dialin
protocol pppoe
!
no ftp-server write-enable
!
!
!
!
!
!
!
interface Ethernet0/0
no ip address
ip nat outside
half-duplex
pppoe enable
pppoe-client dial-pool-number 1
!
interface FastEthernet0/0
--More--
ip address 10.0.0.248 255.255.255.0
ip access-group 1 out
ip nat inside
ip tcp adjust-mss 1452
speed auto
half-duplex
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat inside
encapsulation ppp
no ip mroute-cache
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication pap callin
ppp pap sent-username nbdl1002695 password 0 nbdl1002695
!
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
no cdp enable
ppp authentication pap callin
ppp pap sent-username nbdl1002695 password 0 nbdl1002695
!
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
no ip http secure-server
!
!
access-list 1 permit any
dialer-list 1 protocol ip permit
!
!
line con 0
line aux 0
line vty 0 4
!
no scheduler allocate
!
end
下面是我的配置方法,谁帮我纠正一下错误!
E0/0是外网口F0/0是内网口
server timestamps debug uptime
config t
server timestamps log uptime
memory-size iomen 10
ip subnet-zero
vpdn enable
vpdn-group pppoe
request-dialin
protocol pppoe
interface f0/0
ip address 10.0.0.248 255.255.255.0
ip access-group 1 out
ip nat inside
ip tcp adjust-mss 1452
half-duplex
no shut
interface e0/0
no ip address
half-deplex
pppoe enable
pppoe-clinet dial-pool-number 1
no shut
interface dialer 1
ip address negotiated
ip mtu 1490
ip nat outside
encapsulation ppp
no ip moroute-cache
dialer pool 1
dialer-group 1
no cdp enable
ppp authencation pap callin
ppp pap sent-username ****** password 0 ******
end
config t
ip nat inside source list 1 interface dialer1 permanent
no ip http server
ip pim bidir-enable
access-list 1 permit any
dialer-list 1 protocol ip permit
网友:
错误应该出在这里:
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat inside删掉这一句。
encapsulation ppp
no ip mroute-cache
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication pap callin
ppp pap sent-username nbdl1002695 password 0 nbdl1002695 |
|