cisco 7200 - setting up dhcp server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2004 11:48 AM - edited 03-05-2019 11:20 AM
Hi,
I have following network configuration:
Cisco7206(dhcp_server)-----Catalyst2950-----my_PC
I need static MAC-IPaddress binding, so I set followiing commands on my 7206:
no ip dhcp conflict logging
ip dhcp pool MY_POOL
host IPADDRESS MASK
client-identifier 01MY_MAC_ADDRESS
default-router xxx.xxx.xxx.xxx
dns-server MY_DNS_IP_ADDRESS
ip dhcp-server xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is ip address of subinterface, my PC IP address set in pool/host is on the same subnet as xxx.xxx.xxx.xxx;
I have configured vlans on my Catalyst, and set there following commands:
ip dhcp-server xxx.xxx.xxx.xxx
and on my native vlan interface:
ip helper address xxx.xxx.xxx.xxx
but I cant obtain IP address from DHCP server;
I can obtain it while plugging into router without switch;
also, when I set up static IP address, it's working through the switch;
Help me, please
Regards
brothaluca
- Labels:
-
LAN Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2004 08:02 PM
If you are trying to pull an address from the 7206 you shouldn't have to do anything on the 2950 itself . On the subnet that the 2950 is on , on the 7206 you will need a helper address on the interface if the dhcp server is on a different subnet than the 2950 . Also on the 2950 make sure you apply the "switchport host " command to all user ports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 01:25 AM
Hi,
I did everything according your advices. It doesnt working still. I debug (debug dhcp details, debug ip dhcp....) on 7206 and 2950 and can see, that there are no dhcp messages on 2950 (there are some on 7206, when I connect PC directly to 7206 there is normal DHCP client-server comunication); Is lack of dhcp messages in 2950 debug means, that there are no dhcp communication? I have set some ACL on 7206 subinterface/vlan my PC is connected - might it be a problem? Help me, please.
ps - Sorry for my English
brothaluca
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 01:46 AM
Hi,
I did everything according your advices. It doesnt working still. I debug (debug dhcp details, debug ip dhcp....) on 7206 and 2950 and can see, that there are no dhcp messages on 2950 (there are some on 7206, when I connect PC directly to 7206 there is normal DHCP client-server comunication); Is lack of dhcp messages in 2950 debug means, that there are no dhcp communication? I have set some ACL on 7206 subinterface/vlan my PC is connected - might it be a problem? Help me, please.
ps - Sorry for my English
brothaluca
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 02:04 AM
Hi,
I did everything according your advices. It doesnt working still. I debug (debug dhcp details, debug ip dhcp....) on 7206 and 2950 and can see, that there are no dhcp messages on 2950 (there are some on 7206, when I connect PC directly to 7206 there is normal DHCP client-server comunication); Is lack of dhcp messages in 2950 debug means, that there are no dhcp communication? I have set some ACL on 7206 subinterface/vlan my PC is connected - might it be a problem? Help me, please.
ps - Sorry for my English
brothaluca
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 02:13 AM
Hi,
I did everything according your advices. It doesnt working still. I debug (debug dhcp details, debug ip dhcp....) on 7206 and 2950 and can see, that there are no dhcp messages on 2950 (there are some on 7206, when I connect PC directly to 7206 there is normal DHCP client-server comunication); Is lack of dhcp messages in 2950 debug means, that there are no dhcp communication? I have set some ACL on 7206 subinterface/vlan my PC is connected - might it be a problem? Help me, please.
ps - Sorry for my English
brothaluca
