08-23-2011 10:22 AM - edited 03-04-2019 01:22 PM
I have a Cisco 2811 router with C288nm-advsecuruityk9-mz.151-4-4.M.bin IOS version.
The router has two LAN interface FE 0/0 and FE 0/1.
The router have too, two interfaces ADSL ATM0.0.0 and ATM 0.0.1, both are connect to internet
I need the next configuration
I created two DHCP pools in the router, one for the subnet 192.168.180.0 and other for 192.168.181.0, but the devices of FE 0/0 assign IP of 192.168.180.0 or 192.168.181.0, but not only in the 192.168.180.0
I think create a two VLAN in the router, but is not supported.
Best regards
08-23-2011 02:54 PM
Did you include the default router within both DHCP pools?
Can you please post your entire config?
08-24-2011 02:31 AM
Yes, I include default router in DHCP pools.
Sorry, I don´t post running config, because the ruter is not config now.
The problem isn´t access to internet, the device access internet correctly, the problem is the next:
* I have too pools DHCP_1 in the subnet 192.168.180.0 and DHCP_2 in the subnet 192.168.181.0
* I need that the the devide conect in FE 0/0, assign Ip of the pool DHCP_1
* I need that the the devide conect in FE 0/1, assign Ip of the pool DHCP_2
but the device in FE0/0 assign ip of the DCHP_1 and DCHP_2, the same in the FE0/1.
Is is necesary i reconfigure the router and send you the config
Best regards
08-24-2011 04:03 AM
Hi,
sending the config would be great indeed.
Regards.
Alain.
08-24-2011 06:42 AM
I put your scenario in a lab and it worked as designed:
ip dhcp excluded-address 192.168.181.1
ip dhcp excluded-address 192.168.180.1
!
ip dhcp pool NET_180
network 192.168.180.0 255.255.255.0
domain-name cisco.com
dns-server 4.2.2.1
default-router 192.168.180.1
!
ip dhcp pool NET_181
network 192.168.181.0 255.255.255.0
domain-name cisco.com
dns-server 4.2.2.1
default-router 192.168.181.1
I connected a router on an interface with segment .180 and another router on segment .181
Here is the debug once I enable the interfaces: (segment 180)
*Aug 24 09:36:25.967: DHCPD: DHCPDISCOVER received from client 0063.6973.636f.2d63.6130.312e.3162.6538.2e30.3030.382d.4661.302f.30 on interface FastEthernet0/0.
*Aug 24 09:36:25.967: DHCPD: Seeing if there is an internally specified pool class:
*Aug 24 09:36:25.971: DHCPD: htype 1 chaddr ca01.1be8.0008
*Aug 24 09:36:25.971: DHCPD: remote id 020a0000c0a8b40100000000
*Aug 24 09:36:25.971: DHCPD: circuit id 00000000
*Aug 24 09:36:25.971: DHCPD: Allocate an address without class information (192.168.180.0)
*Aug 24 09:36:27.971: DHCPD: Adding binding to radix tree (192.168.180.2)
*Aug 24 09:36:27.971: DHCPD: Adding binding to hash tree
*Aug 24 09:36:27.971: DHCPD: assigned IP address 192.168.180.2 to client 0063.6973.636f.2d63.6130.312e.3162.6538.2e30.3030.382d.4661.302f.30.
segment (181)
*Aug 24 09:38:14.339: DHCPD: Sending notification of DISCOVER:
*Aug 24 09:38:14.343: DHCPD: htype 1 chaddr ca02.1780.0006
*Aug 24 09:38:14.343: DHCPD: remote id 020a0000c0a8b50110000000
*Aug 24 09:38:14.343: DHCPD: circuit id 00000000
*Aug 24 09:38:14.343: DHCPD: DHCPDISCOVER received from client 0063.6973.636f.2d63.6130.322e.3137.3830.2e30.3030.362d.4661.302f.31 on interface FastEthernet1/0.
*Aug 24 09:38:14.343: DHCPD: Seeing if there is an internally specified pool class:
*Aug 24 09:38:14.347: DHCPD: htype 1 chaddr ca02.1780.0006
*Aug 24 09:38:14.347: DHCPD: remote id 020a0000c0a8b50110000000
*Aug 24 09:38:14.347: DHCPD: circuit id 00000000
*Aug 24 09:38:14.347: DHCPD: Allocate an address without class information (192.168.181.0)
*Aug 24 09:38:16.347: DHCPD: Adding binding to radix tree (192.168.181.2)
*Aug 24 09:38:16.347: DHCPD: Adding binding to hash tree
*Aug 24 09:38:16.347: DHCPD: assigned IP address 192.168.181.2 to client 0063.6973.636f.2d63.6130.322e.3137.3830.2e30.3030.362d.4661.302f.31.
DHCP#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type
Hardware address/
User name
192.168.180.2 0063.6973.636f.2d63. Aug 25 2011 09:36 AM Automatic
6130.312e.3162.6538.
2e30.3030.382d.4661.
302f.30
192.168.181.2 0063.6973.636f.2d63. Aug 25 2011 09:38 AM Automatic
6130.322e.3137.3830.
2e30.3030.362d.4661.
302f.31
DHCP#sh ip int bri | ex una
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.180.1 YES manual up up
FastEthernet1/0 192.168.181.1 YES manual up up
08-31-2011 08:35 AM
All ok
Thank you
Best Regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide