学员提问:
cisco 1760 带ADSL模块 flash:C1700-SY7-MZ.122-11.T.BIN
DHCP不会设置 ,PC网卡得不到有效IP
DHCP不会设置 ,PC网卡得不到有效IP
Router#sh run
Building configuration...
Current configuration : 1529 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
enable secret 5 $1$P9Fa$N0fbzc2NQOSsvyFhpOeTo.
!
ip subnet-zero
!
!
ip dhcp excluded-address 192.168.200.1 192.168.200.149
ip dhcp relay information option
!
ip dhcp pool ABC
network 192.168.200.0 255.255.255.0
default-router 192.168.200.1
dns-server 202.96.209.5 202.96.199.133
lease 30
!
vpdn enable
!
vpdn-group pppoe
request-dialin
protocol pppoe
!
!
!
!
!
interface ATM0/0
bandwidth 512
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
hold-queue 224 in
!
interface ATM0/0.1 point-to-point
pvc 8/35
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0/0
ip address 192.168.200.1 255.255.255.0
ip accounting output-packets
ip nat inside
ip tcp adjust-mss 1450
shutdown
speed auto
half-duplex
hold-queue 32 in
!
interface Dialer1
bandwidth 512
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
dialer pool 1
dialer remote-name redback
dialer-group 1
ppp authentication pap callin
ppp pap sent-username xxxx password 0 xxxxx
!
ip nat inside source list 1 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1 permanent
ip route 192.168.200.0 255.255.255.0 FastEthernet0/0
no ip http server
!
!
no logging trap
access-list 1 permit 192.168.200.0 0.0.0.255
dialer-list 1 protocol ip permit
!
!
line con 0
speed 115200
line aux 0
line vty 0 4
login
!
no scheduler allocate
end
Building configuration...
Current configuration : 1529 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
enable secret 5 $1$P9Fa$N0fbzc2NQOSsvyFhpOeTo.
!
ip subnet-zero
!
!
ip dhcp excluded-address 192.168.200.1 192.168.200.149
ip dhcp relay information option
!
ip dhcp pool ABC
network 192.168.200.0 255.255.255.0
default-router 192.168.200.1
dns-server 202.96.209.5 202.96.199.133
lease 30
!
vpdn enable
!
vpdn-group pppoe
request-dialin
protocol pppoe
!
!
!
!
!
interface ATM0/0
bandwidth 512
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
hold-queue 224 in
!
interface ATM0/0.1 point-to-point
pvc 8/35
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0/0
ip address 192.168.200.1 255.255.255.0
ip accounting output-packets
ip nat inside
ip tcp adjust-mss 1450
shutdown
speed auto
half-duplex
hold-queue 32 in
!
interface Dialer1
bandwidth 512
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
dialer pool 1
dialer remote-name redback
dialer-group 1
ppp authentication pap callin
ppp pap sent-username xxxx password 0 xxxxx
!
ip nat inside source list 1 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1 permanent
ip route 192.168.200.0 255.255.255.0 FastEthernet0/0
no ip http server
!
!
no logging trap
access-list 1 permit 192.168.200.0 0.0.0.255
dialer-list 1 protocol ip permit
!
!
line con 0
speed 115200
line aux 0
line vty 0 4
login
!
no scheduler allocate
end
捷盈讲师及学员解答:
你的这个配置DHCP应该是没什么问题的,估计是你的PC端没有设置好。

