03-12-2007 03:30 PM - edited 03-05-2019 02:51 PM
Have a Cisco 3750 with a bunch of VLAN's configured for our vmware esx environment. If I plug in a client (esx ot windows) and make a DHCP request, the client never get a address. Have put a sniffer between host and swicth and reguests is seen but when sniffer is between the switch and the next one no dhcp request is seen.
It works fine when in switchport access mode but never in switchport trunk mode.
Is there anything to configure on the 3750 to allow dhcp requests to pass through? Thanks alot. Marten
03-12-2007 03:36 PM
Is the dhcp server on the same vlan as the client requesting address? If not you have to add ip helper-address
03-12-2007 03:37 PM
Hi,
You need to configure IP Helper address on every VLAN interface you have.
For example if your DHCP server (with ip add 192.168.1.10) has a scope configured for Vlan 1, Vlan 5, Vlan 15, Vlan 20 etc
then on
Inteface Vlan 1
Ip address 172.30.20.4 255.255.255.0
IP helper-address 192.168.1.10
Inteface Vlan 5
Ip address 172.30.30.4 255.255.255.0
IP helper-address 192.168.1.10
and so on
This should resolve your problem provided All scopes are configured correctly on the DHCP server and ensure DHCP server is able to PING ALL VLAN interfaces to prove the connectivity.
Hopr This Helps
SHAHEEN
03-12-2007 03:55 PM
We have set IP helper-address
Client -> Switch1 -> Switch2 -> ....
Thanks for your help. Marten
03-12-2007 04:01 PM
Are you saying the dhcp server is off switch 2 and there is a trunk between switches? Are you routing between these vlans?
03-12-2007 04:15 PM
DHCP Server is connected to Switch2 but the sniffer never even see the request from Switch1. If I connect an ESX Server with a defined vSwitch with VLAN ID yyy and connect a VM to that vSwitch it all works fine. But when I'm not connected to a vSwitch with a VLAN ID, instead physically to the port I don't get through the switch. It's like the native VLAN never get access through the switch...or something. I'm not to good at communications configurations myself. That why I really appreciate your help. Marten
03-12-2007 04:32 PM
If the 2nd switch is trunked to the first they should be able to pull an address as long as ip routing is turned on the 1st switch and you have ip helper addreses on the layer 3 SVI for those vlans . Also make sure you have portfast turned on your client access ports . You have to make sure the trunk is also setup and working correctly. You also have to make sure the dhcp server function is turned on the 1st 3750 .
03-12-2007 04:59 PM
Thanks a lot guys for your help. Just a quick one, what is this "dhcp server function" and how do I turn it on? Could you also confirm what command turns on IP routing? Cheers Marten
03-12-2007 05:01 PM
The switch itself can be a dhcp server. If you weren't using another machine. And ip routing command is "ip routing", haha.
03-12-2007 05:43 PM
If I already have a DHCP Server on Switch2 as shown below
Client -> Switch1 -> Switch2 -> DHCP Server
do I still need to configure "dhcp server function"
Also, Glen, regarding "You have to make sure the trunk is also setup and working correctly"
Can I get a hint of how a working configuration looks, or would look? Thanks once again for all your help. Marten
03-12-2007 07:30 PM
do I still need to configure "dhcp server function"
No, you do not.
03-13-2007 12:25 AM
Just want to add on.
1. Make sure there is no pruning and filtering on trunk link.
2. I believe you have already enable ip helper address. Can other PC from different VLAN receive the IP address?
The best is post your 2 switches config without any sensitive info. I am sure netpro can help you better by that way.
HTH.
Cheers!
Kyaw
06-29-2018 08:37 AM
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: