VMware Cloud Community
ethanix
Contributor
Contributor
Jump to solution

Problem with DHCP broadcast between VLAN

Hello,

I'm trying to troubleshoot the lab I have configured, I have some issue with broadcast between VLAN with my DHCP. I have looked around the vmware community to find my answer but I didn't that's why i'm posting here ! Smiley Happy

So here's my situation :

  • ESX with 2 VM running :
    • One Windows 2012 R2 running a DHCP with one scope configured
      • This VM is assigned to the vmnic4 with port group VLAN 100
    • One Windows 7 i'm using as a client
      • This VM is assigned to the vmnic4 with port group VLAN 110
  • Cisco Switch with a simple configuration :

interface FastEthernet0/1

description LINK TO ESX

switchport mode trunk

switchport nonegotiate

interface FastEthernet0/24

description LINK TO ROUTER

switchport mode trunk

  • Cisco "router on the stick" configuration :

interface FastEthernet0/0.100

encapsulation dot1q 100

ip address 10.1.1.254 255.255.255.0

interface FastEthernet0/0.110

encapsulation dot1q 110

ip address 10.1.2.254 255.255.255.0

ip helper address 10.1.1.0


The troubleshooting I've made :

  • Setting the client IP address to static and both of the VM can ping each other
  • Moving the client to the same VLAN as the DHCP server, and the DHCP server is giving an IP to the client.
  • Sniffing the packet :
    • I can see the DHCPDiscover from the client
    • I can see from the router with the command "debug ip dhcp server packet" the packet being transmitted to the 10.1.1.0.
    • I'm not able to see the packets comming from the router to the DHCP perspective

That's why i'm assuming I'm missing something from the ESX configuration.

Thanks in advance for reading this post ! Smiley Happy


PS: I linked a screenshot of the vswitch configuration

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
rcporto
Leadership
Leadership
Jump to solution

I think you configured a incorrect IP helper address, take a look at the following line:

ip helper address 10.1.1.0


Your DCHP server is really 10.1.1.0 ? I don't think so, since 10.1.1.0 is the network ID for the network 10.1.1.0/24.

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto

View solution in original post

0 Kudos
2 Replies
rcporto
Leadership
Leadership
Jump to solution

I think you configured a incorrect IP helper address, take a look at the following line:

ip helper address 10.1.1.0


Your DCHP server is really 10.1.1.0 ? I don't think so, since 10.1.1.0 is the network ID for the network 10.1.1.0/24.

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
0 Kudos
ethanix
Contributor
Contributor
Jump to solution

Well, thank you.

I was persuaded that i could use "10.1.1.0" for all the DHCP in that network, and I was sure I have already configured in that way before.

Thank you alot :smileygrin:

0 Kudos