Can't get DHCP server to give out correct subnet IP's.

Hi all,
I recently added a VLAN to my SG500X switch.  I have the devices communicating between the VLAN’s (using static IP’s).
I setup the new DHCP subnet on my Windows 2003 server but I can’t seem to get the DHCP server to hand out IP’s from the new subnet.
From what I understand, the Windows DHCP server is supposed to detect which VLAN the request is coming from and hand out the correct one.  If I plug a laptop into one of the untagged switch ports for the new VLAN I get an IP address...but it's from the original/primary subnet.
Do I need to configure anything else on the switch?  It seems to be handing out IP’s on the primary subnet/VLAN just fine.  I just need it to hand the correct one.
Any suggestions are appreciated.
Thanks,
Dan

Everyone has provided you good info on what to look into so I will just try to give you some background info as this topic threw me for a loop back in the day when I was studying for my CCNA.  It never was really explained how the dhcp server knew which scope to assign from.  It works like this assuming the dhcp server is not inside the broadcast domain of the client.
1.Client with sends a DHCP request broadcast message
2.Access switch receives untagged frame from client with destination mac of FF:FF:FF:FF:FF:FF
3.Access switch encapsulates the packet into a frame that includes the vlan ID that was configured on the access port the client was connected to. Lets say vlan 10
4.Frame is forwarded out all interfaces in the same vlan or trunk interfaces except where it was received from
5.Your router receives the frame from the trunk port.  You either have an SVI or subinterface configured on the L3switch/router that is listening for traffic from that vlan.  That SVI/subinterface will have an IP address on it.  lets say 10.0.0.1/24.
SVI
int vlan 10
ip address 10.0.0.1 255.255.255.0
ip helper-address 192.168.1.50
Router
int f0/0.10
encapsulation dot1q 10
ip address 10.0.0.1 255.255.255.0
ip helper-address 192.168.1.50
6.Here is were the ip helper comes into play.  The router inserts the source IP of the SVI/subinterface for that vlan into the packet and sends it to the dhcp server. So 10.0.0.1 ->192.168.1.50
7.DHCP server receives and chooses the scope based on the source IP in the packet.  so in my example the dhcp server will look through it's configured scope and would find one for the 10.0.0.0/24 network.
8. DHCP server sends the dhcp offer to the IP of the SVI/subinterface which then forwards it on to the client.

Similar Messages

  • Can't get Lion Server to work

    Hi
    As written above. I can't get Lion server to work.
    I have succesfully installed the program, and turn on some of the services. Then I have bought a domain, to connect to my server. But if I try to connect to my IP, from another computer, it doesn't connect. I have tried to "port forwarding" port 80 on my router, and given my Mac a static IP. I have checked with a "Check port opener" if the port 80 was in reach, it was.
    So my question is, what is the next I can do to make it work. First with the IP and then with my domain?

    Yes, SMTP used to work but stopped after new cert applied. IMAP works fine. Removed SSL and still doesn't work (although should it be restarted or is save for changes okay).
    Log:
    Nov 10 12:30:39 colquhoun postfix/postscreen[29668]: CONNECT from [168.144.32.45]:54598
    Nov 10 12:30:39 colquhoun postfix/postscreen[29668]: PREGREET 29 after 0.07 from [168.144.32.45]:54598: HELO www.unlocktheinbox.com\r\n
    Nov 10 12:30:39 colquhoun postfix/smtpd[29669]: connect from unlocktheinbox.com[168.144.32.45]
    Nov 10 12:30:42 colquhoun postfix/smtpd[29669]: lost connection after HELO from unlocktheinbox.com[168.144.32.45]
    Nov 10 12:30:42 colquhoun postfix/smtpd[29669]: disconnect from unlocktheinbox.com[168.144.32.45]

  • Where can I get Messaging Server 3.5 with 128-bit encryption?

    Where can I get Messaging Server 3.5 with 128-bit encryption?
    <P>
    Messaging Server 3.5 is available for export (40-bit encryption)
    and domestic (128-bit encryption). The domestic version includes
    support for Fortezza.

    It can be updated from any computer with an Internet connection but is best done from the computer which it normally syncs with. The update itself is free; if you have someone do it for you, you may be charged.
    Click here for installation instructions.
    (88299)

  • I have a iphone 4s and i can't get the charger to come out of the phone its stuck on one side and will not come out

    I Have a iphone 4s and can't get the charger to come out...it was hard to get out the time before but i thought it was just me so then i charged it last night tryed taking it out and it is stuck on one side and will not come out...any suggestions on how to get it out?

    You will just have to carefully pull harder. Push the other side back in so it is aligned, then pull it straight out.

  • How can we get the prompt to enter IP Address, Subnet Mask , gateway and DNS Server during Task Sequence?

    How can we get the prompt to enter IP Address, Subnet Mask , gateway and DNS Server during Task Sequence?

    This is for 2007 but may still be relevant for 2012
    http://hexdump.net/?p=391
    Cheers
    Paul | sccmentor.wordpress.com

  • Can't get email server problem 4/12/13

    Can't get email server problem 4/12/13

    The problem, whatever it was, cleared up for me after I reported it through icloud.cm but before I initiated a support call.
    You might want to try your email again. If you are still having problems and want help from the user community here, let us know exactly what problem indication you are getting.

  • How can I get my ES2 loops to play correctly? I keep getting the message that the audio is not found when I drag the loops from my audio browser even though they play fine in the preview.

    How can I get my ES2 loops to play correctly? I keep getting the message that the audio is not found when I drag the loops from my audio browser even though they play fine in the preview.

    It's exactly as I stated. Whenever I try to drag these kinds of loops (ESX24 / software instrument loops? the ones marked in green with the white music note next to them) from the loop browser into the timeline a message comes up saying Audio Not Found for that loop.  And a new track is created automatically when loops are dragged into the timeline, so I'm not creating some other random / synth instrument track so I'm not sure  what the deal is... But perhaps I'll try creating a software instrument track first and then drag the loop into that track and see what happens - maybe there's something with the default settings that automatically creates audio tracks whenever loops are imported?

  • How can I get VoiceOver to read two languages correctly?

    How can I get VoiceOver to read two languages correctly? in a dual-language book (English and Spanish)? I've used the <lang> tag, but VoiceOver doesn't switch from reading in English to Spanish. Both languages are selected in Settings. Does VoiceOver have this capability?

    How can I get VoiceOver to read two languages correctly? in a dual-language book (English and Spanish)? I've used the <lang> tag, but VoiceOver doesn't switch from reading in English to Spanish. Both languages are selected in Settings. Does VoiceOver have this capability?

  • In e mail can not connect to server i fill out the info and get this

    when i try to get e mail i get "you can configure e mail in just a few steps" when i follow the directions i get"can not connect to server"? thanks

    On another note Im just checking the external and internal web server names on my server just to be sure that its not an internal server issue - here is the weblink I have been going through - I will test and let you know .
    Mac Mail is set to auto discover the settings http://premnair.wordpress.com/2010/07/03/configure-ews-autodiscover-owa-oab-ecp- on-exchange-server-2010/

  • DHCP Server not giving out IP Address to APPLE iPhone

    Hi, First off, I hope this is the correct forum....
    A little background, I have a very nice 16GB 3G iPhone (from Apple of course). It has no problem connecting to my wireless access point (cisco 1240). I have an old windows server that I can turn on as a dhcp server and it gets an address back right away, however my mac server (10.5) will no give it an address and I do not understand why. Here is the log.....
    Mar 16 19:06:37 macserver bootpd[37021]: server starting
    Mar 16 19:06:37 macserver bootpd[37021]: server name macserver.schmittg.com
    Mar 16 19:06:37 macserver bootpd[37021]: interface en0: ip 192.168.1.75 mask 255.255.255.0
    Mar 16 19:06:37 macserver bootpd[37021]: interface en2: ip 10.211.55.2 mask 255.255.255.0
    Mar 16 19:06:37 macserver bootpd[37021]: interface en3: ip 10.37.129.2 mask 255.255.255.0
    Mar 16 19:06:49 macserver bootpd[37021]: DHCP DISCOVER [en0]: 1,0:21:e9:5:d3:de <iPhone-5>
    Mar 16 19:06:49 macserver bootpd[37021]: service time 0.008083 seconds
    Mar 16 19:08:11 macserver bootpd[37021]: DHCP DISCOVER [en0]: 1,0:21:e9:5:d3:de <iPhone-5>
    Mar 16 19:08:11 macserver bootpd[37021]: service time 0.003807 seconds
    Mar 16 19:08:12 macserver bootpd[37021]: DHCP DISCOVER [en0]: 1,0:21:e9:5:d3:de <iPhone-5>
    Mar 16 19:08:12 macserver bootpd[37021]: service time 0.000683 seconds
    Mar 16 19:08:13 macserver bootpd[37021]: DHCP REQUEST [en0]: 1,0:21:e9:5:d3:de <iPhone-5>
    Mar 16 19:08:13 macserver bootpd[37021]: service time 0.001844 seconds
    Mar 16 19:08:24 macserver bootpd[37021]: DHCP DISCOVER [en0]: 1,0:21:e9:5:d3:de <iPhone-5>
    Mar 16 19:08:24 macserver bootpd[37021]: service time 0.000587 seconds
    Mar 16 19:08:25 macserver bootpd[37021]: DHCP REQUEST [en0]: 1,0:21:e9:5:d3:de <iPhone-5>
    Mar 16 19:08:25 macserver bootpd[37021]: service time 0.000409 seconds
    Mar 16 19:08:27 macserver bootpd[37021]: DHCP DECLINE [en0]: 1,0:21:e9:5:d3:de
    Mar 16 19:08:27 macserver bootpd[37021]: dhcpd: host 1,0:21:e9:5:d3:de declines IP 192.168.1.227 from server 192.168.1.1
    Mar 16 19:08:27 macserver bootpd[37021]: service time 0.001994 seconds
    What is wrong?
    Thanks!

    I am having a similar problem:
    ---------------- Client Request --------------------
    op = BOOTREQUEST
    htype = 1
    flags = 0
    hlen = 6
    hops = 0
    xid = 20714
    secs = 27
    ciaddr = 0.0.0.0
    yiaddr = 0.0.0.0
    siaddr = 0.0.0.0
    giaddr = 0.0.0.0
    chaddr = 0:4:13:2a:2f:ed
    sname =
    file =
    options:
    Options count is 9
    dhcpmessagetype (uint8): REQUEST 0x3
    maxdhcp_messagesize (uint16): 0x224
    requestedipaddress (ip): 192.168.1.66
    server_identifier (ip): 192.168.1.200
    host_name (string): m3-0004132A2FED
    parameterrequestlist (uint8_mult): {0x1, 0x3, 0x6, 0xf, 0x21, 0x42, 0xa0}
    vendorclassidentifier (string): snom-m3-SIP/01.25//10-Mar-09 16:36
    client_identifier (uint8_mult): {0x1, 0x0, 0x4, 0x13, 0x2a, 0x2f, 0xed}
    end (none):
    bootpd[3138]: DHCP REQUEST [en1]: 1,0:4:13:2a:2f:ed <m3-0004132A2FED>
    SELECT
    state=SELECT
    Sending: DHCP ACK (size 300)
    bootpd[3138]: replying to 192.168.1.66
    =================== Server Reply =====================
    op = BOOTREPLY
    htype = 1
    flags = 0
    hlen = 6
    hops = 0
    xid = 20714
    secs = 0
    ciaddr = 0.0.0.0
    yiaddr = 192.168.1.66
    siaddr = 192.168.1.200
    giaddr = 0.0.0.0
    chaddr = 0:4:13:2a:2f:ed
    sname = ryan-perrys-computer.local
    file =
    options:
    Options count is 8
    dhcpmessagetype (uint8): ACK 0x5
    server_identifier (ip): 192.168.1.200
    lease_time (uint32): 0xdec
    subnet_mask (ip): 255.255.255.0
    router (ip_mult): {192.168.1.1}
    domainnameserver (ip_mult): {208.67.222.222, 208.67.220.220}
    domain_name (string): wha
    end (none):
    bootpd[3138]: ACK sent <no hostname> 192.168.1.66 pktsize 300
    bootpd[3138]: service time 0.001879 seconds
    destination address 255.255.255.255
    ---------------- Client Request --------------------
    op = BOOTREQUEST
    htype = 1
    flags = 0
    hlen = 6
    hops = 0
    xid = 11587
    secs = 27
    ciaddr = 0.0.0.0
    yiaddr = 0.0.0.0
    siaddr = 0.0.0.0
    giaddr = 0.0.0.0
    chaddr = 0:4:13:2a:2f:ed
    sname =
    file =
    options:
    Options count is 4
    dhcpmessagetype (uint8): DECLINE 0x4
    server_identifier (ip): 192.168.1.200
    requestedipaddress (ip): 192.168.1.66
    end (none):
    bootpd[3138]: DHCP DECLINE [en1]: 1,0:4:13:2a:2f:ed
    bootpd[3138]: dhcpd: IP 192.168.1.66 declined by 1,0:4:13:2a:2f:ed
    marking host 192.168.1.66 as declined
    state=<none>
    bootpd[3138]: service time 0.001143 seconds
    destination address 255.255.255.255

  • I can't get my printer to print out the claim code. HP7520-e All in one

    Whenever I press the web icon on my printer, it gives me the printers email address, but there is no place to press to get it to print out a claim code.

    I can't get my HP Photosmart 7520 e-All-in-One to print out the claim code, either.  I have had problems ever since they switched from ePrintCenter to HP Connected.
    This is my second HP Photosmart 7520 e-All-in-One, the first one quit printing and they said I would have to buy a new Printhead Assembly ($73.30), and throw away my partially used ink cartridges and buy new ones ($104 to replace my 5 HP 564XL High Yield Original Ink Cartridges!) It made more sense to buy whole a new printer for $200!
    A. I found it at <http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&dlc=en&docname=c03379963&lc=en&product=5199463&tmp... under FAQs !!! 
    Truncated piece: product=5199463&tmp_track_link=ot_search#N632>
    See below:
    =======================================================================================
    What if I lose my printer code before registering?
    If you lose your printer code before registering your printer, you can print a new information page to secure a new printer code. Use the following steps to disable and re-enable Web Services to print a new information page.
    On the printer control panel, touch the Web Services icon (). The Web Services window opens.
    Touch Settings, touch Remove Web Services, and then touch Yes.
    Touch the Web Services icon () again. The Web Services window opens.
    Touch Settings, and then touch Enable Web Services.
    Touch Yes to accept the terms of use. The printer prints an information page.
    If the printer does not print an information page, touch Print Report.
    NOTE:The information page contains the printer claim code that you use to register your printer.
    =======================================================================================
    It printed out a page titled: Make the Most of Your Printer
    The printer's claim code is in item number 3.

  • Can't get dhcp address.. even if I do a -dhcp in my settings.txt

    Ok odd problem. I have already tried the Jan 2010 update to see if it
    fixes, no go.
    I'm imaging an HP Elitebook 8530w.. I've already done these without issue.
    I select maintenance mode imaging and I get the Linux splash screen and
    it sits there. If I hit escape to see the console it's got
    Sending DHCP Request to eth0...
    ctrl-alt-f3 shows scrolling errors of
    err, eth0: ARPOP_REPLY received from 192.168.11.98 (mac address here)
    In my settings.txt I made the following change
    netsetup=-dhcp,now,all
    Then I gave it a static ip with the hostip, netmask and gateway commands.
    Not my preferred route but I'm on a deadline.
    No effect. It's still sending dhcp server requests. I stopped and
    started the imaging server as well.
    Why is it still trying to do a dhcp request when I have -dhcp in there?

    Originally Posted by grimlock
    On 2/2/2010 12:45 PM, Patrick Farrell wrote:
    > Ok odd problem. I have already tried the Jan 2010 update to see if it
    > fixes, no go.
    >
    > I'm imaging an HP Elitebook 8530w.. I've already done these without issue.
    >
    > I select maintenance mode imaging and I get the Linux splash screen and
    > it sits there. If I hit escape to see the console it's got
    >
    > Sending DHCP Request to eth0...
    >
    > ctrl-alt-f3 shows scrolling errors of
    >
    > err, eth0: ARPOP_REPLY received from 192.168.11.98 (mac address here)
    >
    > In my settings.txt I made the following change
    >
    > netsetup=-dhcp,now,all
    >
    > Then I gave it a static ip with the hostip, netmask and gateway commands.
    >
    > Not my preferred route but I'm on a deadline.
    >
    > No effect. It's still sending dhcp server requests. I stopped and
    > started the imaging server as well.
    >
    > Why is it still trying to do a dhcp request when I have -dhcp in there?
    FYI I just ran into this again, and I remembered I had posted about it
    earlier. Sweet I thought I will just look up the solution. Well there
    was none posted. As I've grown older and wiser since I originally
    posted this I figured out what it was.
    It's an IP Address conflict. Whatever device is the culprit this time
    isn't pingable, but the mac address listed on the error line is not the
    mac address of the machine you are imaging but rather of the offender.
    I didn't pick up on that last time around. For whatever reason it
    didn't have anything in dhcp console for this address so it kept giving
    it out again. As a temp workaround I assigned a manual bogus mac to
    that IP address it was receiving to prevent any devices from being
    assigned to it (because it's already in use). After a few days when
    leases expire, I'll delete that entry. It's possible that some brain
    child manually assigned an IP to their machine. I'll have to track it
    down later.
    I have the same problem, and your solution worked perfectly. Thanks for this as you have saved me a lot of time in troubleshooting!

  • How can i get new apple id with out using credit card or visa card

    how can i get a new apple id with out using credit card or visa card?

    Hi xianlycier06,
    If you are looking to create an Apple ID without using a credit card, you may find the following article helpful:
    Apple Support: Creating an iTunes Store, App Store, iBooks Store, and Mac App Store account without a credit card
    http://support.apple.com/kb/HT2534
    Regards,
    - Brenden

  • I have the b200 error and can't get the cartirdges to move out so I can change it.

    I have a MX850 cannon. I have the b200 error and can see that the middle cartridge is empty but I can't get the ink cartridge holder tomove out. I have tried with power off but the ink cartridge holder won't move out.

    Hi ernja.
    The B200 error is a generic internal error code and could mean one of many things.  Based on this, your PIXMA MX850 would require service.  It is recommended that you contact live technical support . There is NO charge for this call.
    Please dial 1-866-261-9362, Monday - Friday 10:00 a.m. - 10:00 p.m. ET (excluding holidays).
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • I have windows 7 and can't get my bookmark to come out of the bookmark folder and onto a toolbar that I CAN ACCESS WITHOUT GOING INTO THE BOOKMARK FOLDER

    I tried dragging from the site onto the toolbar, and even though that works on my Mac, doesn't on Win. 7. I saved Facebook to my bookmark toolbar in the bookmarks folder, but can't get it out of the folder.

    My iphone 4s just developed a similar problem.  Ultimately, after a visit to the Genius Bar at which I was offered a replacement phone for $149, I took the phone to a non-Apple repair shop which diagnosed the problem as tarnished pins in the docking connector and replaced the connector for $49.
    The symptoms I experienced were that the phone would not pull a charge.  I tried different cables, wall outlet versus computer USB connection, etc.  The screen stayed black until I depressed the sleep button, at which time the red battery / lightening bolt symbol would flash three times and then the screen would go black. 
    If your battery is dead, that icon will not show up at all.  If you get the icon, it means your battery is run down and needs to recharge, but the defective docking connector is preventing the battery from taking the charge.

Maybe you are looking for