Networking Forums

Networking Forums > Wireless Networking > Wireless Internet > Can AP client mode forward DHCP packets?

Reply
Thread Tools Display Modes

Can AP client mode forward DHCP packets?

 
 
Sven
Guest
Posts: n/a

 
      11-22-2004, 03:12 PM
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.
 
Reply With Quote
 
 
 
 
Lars M. Hansen
Guest
Posts: n/a

 
      11-22-2004, 03:40 PM
On 22 Nov 2004 08:12:56 -0800, Sven spoketh

>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?


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.

>
>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.


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...

>
>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.


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...

>
>Will it work by default? Anybody ever succeeded in building such a
>setup?
>
>
>Thanks,
>Sven.



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?"
 
Reply With Quote
 
John
Guest
Posts: n/a

 
      11-22-2004, 08:20 PM
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.
"Sven" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> 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.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to forward packets on two NICs Julien Simbola Linux Networking 3 11-04-2008 08:47 AM
Newbie wants to look at other people's packets (promiscuous mode fails to capture packets) George D. Wireless Internet 1 07-14-2007 07:09 AM
2 WAP54g, one in client-mode connected to another in AP-mode? Leonardo Carvalho Wireless Internet 0 02-22-2005 04:55 PM
Forward packets from one system to another andy Linux Networking 1 11-24-2004 07:16 AM
DNAT packets not getting to FORWARD chain Gavin Linux Networking 0 06-27-2004 02:32 AM



1 2 3 4 5 6 7 8 9 10 11