Discussions

Windows DHCP Server and VLAN

Tags:
+
0 Votes
Locked

Windows DHCP Server and VLAN

whang_wesley
I have a CISCO catalyst 6500 and I'm using Windows Server 2000 SP4.

What I want is per floor I'll assign diffrent VLAN but seems like we are having problem at the start of the implementation.

The DHCP server is in VLAN1 while the client is on VLAN 20

The client can't obtain an IP address from the DHCP Server

Here are the configuration I did:

interface Vlan20
description 2nd Floor VLAN
ip address 10.20.2.1 255.255.255.0
ip helper-address 10.2.0.218
end

interface GigabitEthernet3/47
switchport
switchport access vlan 40
switchport mode access
no ip address
spanning-tree portfast
end
  • +
    0 Votes
    ManiacMan

    Don't forget that DHCP is a broadcast and routers by default will not transmit any broadcast packets across different broadcast domains. I'm not a Cisco expert, as I am an MCSE, but I can tell you for sure that you have a DHCP relaying problem if your DHCP is on one VLAN/subnet and the PCs' are on another and don't see any DHCP traffic. Do a packet trace and I guarantee you'll confirm that that there is no DHCP traffic hitting your VLAN20 subnet from VLAN1. Also, out of curiosity, try to connect a PC to VLAN1 and see if you get a DHCP assigned address. You'll confirm that your DHCP server is working correctly and if it is, you definitely have a relaying issue with DHCP. Hope this help and please let us know if it fixed your issue. Be sure to give me a thumbs up if this corrected your problem.

    Thank you.

    +
    0 Votes
    Roger99a

    I think you need an "ip routing" statement.

    +
    0 Votes
    khansen

    Looks like your int gig 3/47 is in the wrong vlan (you have 40, shoudl be 20). Also, on the routing side of things, you need to have an int VLAN 1 defined so that your DHCP server has something to respond back with the DHCP reservation. Try that.

  • +
    0 Votes
    ManiacMan

    Don't forget that DHCP is a broadcast and routers by default will not transmit any broadcast packets across different broadcast domains. I'm not a Cisco expert, as I am an MCSE, but I can tell you for sure that you have a DHCP relaying problem if your DHCP is on one VLAN/subnet and the PCs' are on another and don't see any DHCP traffic. Do a packet trace and I guarantee you'll confirm that that there is no DHCP traffic hitting your VLAN20 subnet from VLAN1. Also, out of curiosity, try to connect a PC to VLAN1 and see if you get a DHCP assigned address. You'll confirm that your DHCP server is working correctly and if it is, you definitely have a relaying issue with DHCP. Hope this help and please let us know if it fixed your issue. Be sure to give me a thumbs up if this corrected your problem.

    Thank you.

    +
    0 Votes
    Roger99a

    I think you need an "ip routing" statement.

    +
    0 Votes
    khansen

    Looks like your int gig 3/47 is in the wrong vlan (you have 40, shoudl be 20). Also, on the routing side of things, you need to have an int VLAN 1 defined so that your DHCP server has something to respond back with the DHCP reservation. Try that.