Options

Can someone help me with my DHCP?

DANMOH009DANMOH009 Member Posts: 241
For some reason, i keep getting a error message, ive got a feeling its something obvious but i just cant find it.


I get the following errors message.

887VA_TestLab#
Feb 6 10:24:42.667: DHCPD: Sending notification of DISCOVER:
Feb 6 10:24:42.667: DHCPD: htype 1 chaddr 0021.706e.cc26
Feb 6 10:24:42.667: DHCPD: remote id 020a00000000000003000001
Feb 6 10:24:42.667: DHCPD: circuit id 00000000
Feb 6 10:24:42.667: DHCPD: Seeing if there is an internally specified pool class:
Feb 6 10:24:42.667: DHCPD: htype 1 chaddr 0021.706e.cc26
Feb 6 10:24:42.667: DHCPD: remote id 020a00000000000003000001
Feb 6 10:24:42.667: DHCPD: circuit id 00000000
Feb 6 10:24:42.667: DHCPD: there is no address pool for 0.0.0.0.
887VA_TestLab#
Feb 6 10:25:08.895: DHCPD: checking for expired leases.
887VA_TestLab#
Feb 6 10:25:14.943: DHCPD: Sending notification of DISCOVER:
Feb 6 10:25:14.943: DHCPD: htype 1 chaddr 0021.706e.cc26
Feb 6 10:25:14.943: DHCPD: remote id 020a00000000000003000001
Feb 6 10:25:14.943: DHCPD: circuit id 00000000
Feb 6 10:25:14.943: DHCPD: Seeing if there is an internally specified pool class:
Feb 6 10:25:14.943: DHCPD: htype 1 chaddr 0021.706e.cc26
Feb 6 10:25:14.943: DHCPD: remote id 020a00000000000003000001
Feb 6 10:25:14.943: DHCPD: circuit id 00000000
Feb 6 10:25:14.943: DHCPD: there is no address pool for 0.0.0.0.
887VA_TestLab#
Feb 6 10:25:17.243: DHCPD: IP address change on interface Vlan1
Feb 6 10:25:17.243: DHCPD: IP address change on interface Vlan1
Feb 6 10:25:17.243: DHCPD: IP address change on interface Vlan1


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> And Heres my running config

hostname 887VA_TestLab
!
boot-start-marker
boot-end-marker

!
no aaa new-model
memory-size iomem 10
crypto pki token default removal timeout 0
!
ip source-route
!
!
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.1.255
!
ip dhcp pool DHCP1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1 255.255.255.0
dns-server 212.23.3.100 212.23.6.100
lease infinite
!
ip cef
no ipv6 cef
!
!
controller VDSL 0
!
!
interface Ethernet0
no ip address
shutdown
no fair-queue
!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 0/38
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface Vlan1
ip address dhcp hostname DHCP1
ip nat inside
ip virtual-reassembly in
!
interface Dialer0
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
ppp chap hostname **********
ppp chap password 0 ********
ppp pap sent-username ********* password 0 ********
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip nat inside source list 10 interface Dialer0 overload
ip route 0.0.0.0 0.0.0.0 Dialer0
!
access-list 10 permit 192.168.1.0 0.0.0.255

!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
login
transport input all
!
end

Comments

  • Options
    networker050184networker050184 Mod Posts: 11,962 Mod
    What exactly are you trying to accomplish here? You have a DHCP pool configured and you also have an inside interface trying to get an IP via DHCP.
    An expert is a man who has made all the mistakes which can be made.
  • Options
    jdballingerjdballinger Member Posts: 252
    So it took me a minute to figure out you were trying this on an ISR with a built in switch module.

    In applying your same DHCP setup commands to a 2620xm I have next to me, I can get a laptop to successfully pull an address with those settings. What I'm failing to understand in your setup above, is why you are trying to have your management interface (Vlan 1) pull a dynamic address. Try statically assigning the int Vlan 1 address, then as long as the switch interface is tagged for Vlan 1, try plugging a laptop of something in and see if you can get an address.

    I'm assuming this is your end goal. If not, and I'm way off base, I'd be glad to help after some clarification.
  • Options
    DANMOH009DANMOH009 Member Posts: 241
    Ye that is my end goal, I will try it again. My first approach was assigning 192.168.1.1 to int vlan1 this did not work either, Am i missing a key element in the configuration, i mean im confused in how i am to get my DHCP to know to assin adress to anything that connects to VLAN 1

    and yes sorry about the confusion, its like the first router im having to configure in work, i so used to the 3600 in GNS3, which doesnt help when i need to configure a DSL circuit.
  • Options
    networker050184networker050184 Mod Posts: 11,962 Mod
    You need to assign the gateway address to an interface, then place your clients that will pull addresses off of that interface.

    If you want to use VLAN1 then that's where you do it. I'm assume you are aware of the security considerations with using VLAN1.
    An expert is a man who has made all the mistakes which can be made.
  • Options
    Node ManNode Man Member Posts: 668 ■■■□□□□□□□
    What model of device are you using?
  • Options
    phoeneousphoeneous Member Posts: 2,333 ■■■■■■■□□□
    Yeah, if you're going to say this:

    default-router 192.168.1.1 255.255.255.0

    then that IP needs to exist on an interface.

    And like networker said, dont use vlan1.
  • Options
    DANMOH009DANMOH009 Member Posts: 241
    Its a 887VA, Its in a test lab enviroment, so i didnt bother with creating another vlan, I can do though no problems.

    SO technically the default-router 192.168.1.1 255.255.255.0 will fix it,

    I did originally try adding an IP to the interface, but came a cross a message saying that i cant add a IP address to a L2 port.
  • Options
    networker050184networker050184 Mod Posts: 11,962 Mod
    You need to add the IP to the L3 interface that will serve as the clients default gateway. A L2 port can not be a gateway.
    An expert is a man who has made all the mistakes which can be made.
  • Options
    DANMOH009DANMOH009 Member Posts: 241
    So on this page there is an image of the back of the router:

    Cisco 860 Series, Cisco 880 Series, and Cisco 890 Series Integrated Services Routers Hardware Installation Guide - Product Overview  [Cisco 800 Series Routers] - Cisco Systems

    1. Primary WAN port—10/100 >>> Not in use
    3, 4-port 10/100 Ethernet switch >>> L2 ports (so no IPs)
    4, Serial port—console or auxiliary

    so when you say.

    add the IP to the L3 interface that will serve as the clients default gateway.

    The only interface i can think of is the vlan? So i assigned the ip address 192.168.1.1 to the vlan, But the DHCP wouldn't work, I think the problem is the DHCP, how to i make sure devices in the vlan get an address from my pool? are there commands missing?


    Thanks for all your help in advance guys. Appreciate i still feel new to this.
  • Options
    networker050184networker050184 Mod Posts: 11,962 Mod
    Yes, you need to add the gateway address to the VLAN interface. Your default-router command simply needs to be the gateway IP, do not add the mask there.

    Once you do that ensure the switchport is in the correct VLAN and attempt to gain an IP address again. Remember you may need to release/renew on the host.
    An expert is a man who has made all the mistakes which can be made.
  • Options
    DANMOH009DANMOH009 Member Posts: 241
    Thanks Networker, I'll try this tomorrow and let you know what happens.

    Cheers again.
  • Options
    emmak4444emmak4444 Registered Users Posts: 1 ■□□□□□□□□□
    try to check CPU utilization for the router ,mine was 99%,
    I had this problem , what i did was to disconnect the LAN interface and replace with my PC
    I got the IP,

    Somehow the router DHCP service wont work if the cpu is exhausted,But It make sense to be that way
Sign In or Register to comment.