cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3816
Views
0
Helpful
5
Replies

cisco 7200 - setting up dhcp server

brothaluca
Level 1
Level 1

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

5 Replies 5

glen.grant
VIP Alumni
VIP Alumni

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.

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

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

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

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