Can AP client mode forward DHCP packets?

Discussion in 'Wireless Internet' started by Sven, Nov 22, 2004.

  1. Sven

    Sven Guest

    Hi,

    I'm currently using the following wired setup:

    DSLModem---Hub-------Router--IPPhone
    | |
    PC PC

    Now, the line between the hub and the router goes through my whole
    house and I wanted to get rid of it so I bought a Linksys WRT54G and a
    WAP54G.
    My reasoning was the following:


    DSLRouter---WRT54-)) ((--WAP54G--Hub--Router--IPPhone
    |
    ((-PC PC

    The WAP54G is running in Client mode. The reason for this is that I
    want to be able to connect my laptop wirelessly to the WRT54G.

    Now comes the tricky part. The ISP is handing out the IP's via DHCP
    and I'm wondering if it's possible for all devices (except the
    IPPhone) to get an IP address from this DHCP pool?

    How do I get the DHCP traffic over the wireless connection? Or in more
    details, the DHCP-Discover and DHCP-Request packets from the Router &
    PC on the right would need to be forwarded from the WAP54G to the
    DSLRouter and the DHCP-Offer and DHCP-ACk packets would need to be
    forwarded from the WRT54G to the Router.

    I know the WRT54G also has a buildin DHCP server, so if all the
    devices (except the IPPhone) can get an IP from this one, that would
    be fine also (as the WRT54G has routing capabilities). In that case
    it's just the WAP54G that would need to pass over the DHCP traffic.

    Will it work by default? Anybody ever succeeded in building such a
    setup?


    Thanks,
    Sven.
     
    Sven, Nov 22, 2004
    #1
    1. Advertisements

  2. On 22 Nov 2004 08:12:56 -0800, Sven spoketh
    Your WRT router won't pass the DHCP traffic from your ISP. Instead,
    it'll hand out IP addresses in the private range to all your LAN
    equipment (including your IP phone). You may need for forward some ports
    to your IP Phone in order for that to work behind the router.
    DHCP requests goes over the wireless network just as well as it does
    over wired, so this should not be an issue. Your problem would be with
    the router...
    The WAP doesn't care what the traffic is. If it's an ethernet frame that
    it needs to forward to the other side of the bridge, it'll do it,
    regardless of content, protocol or anything else...

    And, your IP phone will need an IP address that is on the same network
    as the rest of your equipment...

    Lars M. Hansen
    www.hansenonline.net
    Remove "bad" from my e-mail address to contact me.
    "If you try to fail, and succeed, which have you done?"
     
    Lars M. Hansen, Nov 22, 2004
    #2
    1. Advertisements

  3. Sven

    John Guest

    Why do you need an ISP provided IP to anything but the router?. Your router,
    WRT54, will supply your computers with local IP's. Your router will get its
    IP from your ISP.
     
    John, Nov 22, 2004
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.