DHCP non funzionante,dovesbaglio?
Inviato: gio 09 dic , 2010 8:14 pm
Salve a tutti ho ancora un quesito da porvi:
ho un router 877 collegato ad uno switch.Questa di seguito è la mia configurazione, mi sapete dire come mai non funziona il dhcp ma devo impostare sui dispositivi manualmente l'indirizzo ip?se non lo metto esce un'indirizzo 169.x.x.x generico dato da windows.Non funziona nemmeno attaccando il dispositivo o pc che sia direttamente al router
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Bellino
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
!
!
dot11 syslog
ip source-route
!
!
ip dhcp excluded-address 172.16.0.1
ip dhcp excluded-address 172.16.1.1
ip dhcp excluded-address 172.16.2.1
ip dhcp excluded-address 172.16.3.1
!
ip dhcp pool Vlan1
network 172.16.0.0 255.255.255.0
default-router 172.16.0.1
domain-name bellino.com
dns-server 8.8.8.8 8.8.4.4
lease infinite
!
!
ip cef
ip ddns update method ddns
HTTP
add http://user:[email protected]/nic ... h>&myip=<a>
remove http://user:[email protected]/nic ... h>&myip=<a>
interval maximum 28 0 0 0
!
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
username $$$$ privilege 15 password 0 $$$$
!
!
!
archive
log config
hidekeys
!
!
!
!
!
interface ATM0
no ip address
ip nat inside
ip virtual-reassembly
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode adsl2+
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
description HostPC
ip address 172.16.0.1 255.255.255.0
ip access-group 111 in
ip nat inside
ip virtual-reassembly
!
interface Dialer0
description Alice 20Mega
ip address negotiated
ip mtu 1492
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
ppp chap hostname aliceadsl
ppp chap password 0 aliceadsl
ppp pap sent-username aiceadsl password 0 aliceadsl
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
no ip http server
no ip http secure-server
!
!
ip nat inside source list 1 interface Dialer0 overload
ip nat inside source list 2 interface Dialer0 overload
!
access-list 1 permit 172.16.0.0 0.0.0.255
access-list 111 permit ip 172.16.0.0 0.0.0.255 any
!
!
!
!
!
control-plane
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
privilege level 15
login local
transport input telnet ssh
!
scheduler max-task-time 5000
end
Grazie anticipatamente saluti.
ho un router 877 collegato ad uno switch.Questa di seguito è la mia configurazione, mi sapete dire come mai non funziona il dhcp ma devo impostare sui dispositivi manualmente l'indirizzo ip?se non lo metto esce un'indirizzo 169.x.x.x generico dato da windows.Non funziona nemmeno attaccando il dispositivo o pc che sia direttamente al router
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Bellino
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
!
!
dot11 syslog
ip source-route
!
!
ip dhcp excluded-address 172.16.0.1
ip dhcp excluded-address 172.16.1.1
ip dhcp excluded-address 172.16.2.1
ip dhcp excluded-address 172.16.3.1
!
ip dhcp pool Vlan1
network 172.16.0.0 255.255.255.0
default-router 172.16.0.1
domain-name bellino.com
dns-server 8.8.8.8 8.8.4.4
lease infinite
!
!
ip cef
ip ddns update method ddns
HTTP
add http://user:[email protected]/nic ... h>&myip=<a>
remove http://user:[email protected]/nic ... h>&myip=<a>
interval maximum 28 0 0 0
!
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
username $$$$ privilege 15 password 0 $$$$
!
!
!
archive
log config
hidekeys
!
!
!
!
!
interface ATM0
no ip address
ip nat inside
ip virtual-reassembly
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode adsl2+
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
description HostPC
ip address 172.16.0.1 255.255.255.0
ip access-group 111 in
ip nat inside
ip virtual-reassembly
!
interface Dialer0
description Alice 20Mega
ip address negotiated
ip mtu 1492
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
ppp chap hostname aliceadsl
ppp chap password 0 aliceadsl
ppp pap sent-username aiceadsl password 0 aliceadsl
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
no ip http server
no ip http secure-server
!
!
ip nat inside source list 1 interface Dialer0 overload
ip nat inside source list 2 interface Dialer0 overload
!
access-list 1 permit 172.16.0.0 0.0.0.255
access-list 111 permit ip 172.16.0.0 0.0.0.255 any
!
!
!
!
!
control-plane
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
privilege level 15
login local
transport input telnet ssh
!
scheduler max-task-time 5000
end
Grazie anticipatamente saluti.