1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Sharing internet connection with WRT54GL

Discussion in 'HyperWRT Firmware' started by santiber, Jul 31, 2006.

  1. santiber

    santiber Network Guru Member

    Hi

    I've got a Linksys WRT54GL router...

    I want to know if it is possible to use it as a client of another wifi router (WRT54G), and to connect wifi clients to it

    I have a wifi lan connected to internet (WRT54G)... I need to "extend" this wifi to another floor in my building, and so be thinking of using my new WRT54GL... I know I can connect my WRT54GL to the internet through the other router(WRT54G) via wifi connection ... and I'm able to share it with wired clients... what I need is to share it with wifi clients
    do you understand my situation ? is this possible ? please help me if you can

    thanks a lot
     
  2. RonWessels

    RonWessels Network Guru Member

    Have a look at this thread to get an idea of what is available with HyperWRT.

    You can also check out the section in Thibor's web site www.thibor.co.uk for a similar explanation specific to his HyperWRT firmware. In there, STA refers to client mode, WET refers to bridge mode, and WDS refers to WDS mode.
     
  3. santiber

    santiber Network Guru Member

    Thank you very much Ron

    I'll try to configure it

    thanks !
     
  4. RonWessels

    RonWessels Network Guru Member

    When you play with it, it'll be best if the two routers are in the same room so there's no issue with wireless range. As well, you'll probably want to play first with wireless security disabled, since not all security modes work with WDS and/or WET. Get it working, then try adding the security that you want.
     
  5. santiber

    santiber Network Guru Member

    Hi
    Yesterday I´ve configured the two routers as you suggested. Now I can share internet via the second router with wifi clients...

    Still, I have a question though: my wifi clients, near the second router, get an IP address from the first router, and get listed as DHCP clients of the first router... I want them to be clients and get an IP of the second router, and so, the first router shouldn´t knos about the wifi clients of the second one... is this possible ???

    thanks a lot !!!!
     
  6. Thibor

    Thibor Super Moderator Staff Member Member

    why would you want that kind of setup? it just adds complications.
     
  7. santiber

    santiber Network Guru Member

    First of all, I'd like to thank both Ron and Thibor for their attention to my problem.

    Well... I'll try to explain to you a bit more.

    I've got what I'll call R1 (router "1" - WRT54G - with internet access and wired and wifi clients) at my managers office, and I have R2 (router "2" - WRT54GL - without internet access, and I want to have wired and wifi clients). The R2 router is at my office, and I don't want the managers to know what PCs are connected to the internet (by browsing the R1 DHCP Client Tables).

    In fact, what I would like most is to have R1 and R2 in different LANs... and only to connect R2 via wifi to R1 to get internet access. I'd prefer R1 to not know what clients are connected to R2. And I would love to have R2 providing via DHCP private addresses for "his" clients.

    Is it clear ? I hope this is doable...

    thanks a lot !!!
     
  8. natrium

    natrium LI Guru Member

    If I understand you correctly, you want to take a router which is currently connected directly to the Internet (or connected to a router which is connected to the internet) and extend the LAN wirelessly. This is fairly simple to do using DD-WRT and two WRT54GL (or WRT54G pre version 5) routers. All you do is use WDS.
     
  9. santiber

    santiber Network Guru Member

    Thanks NATRIUM... I'm already doing that... what I would really like is to have both routers on different LANs, one connected to the internet, and the other connected to the first one... making internet available to its clients
     
  10. Thibor

    Thibor Super Moderator Staff Member Member

    unless you connect the 2 routers with a cable, this type of double nat setup is not possible without a 3rd router to act as the gateway for your 2nd router. it's not possible for it to act as both a client and an ap at the same time.
     
  11. santiber

    santiber Network Guru Member

    OK, but I'm using Firmware Version: v4.71.1, Hyperwrt 2.1b1 + Thibor15c
    and in the WIRELESS - BASIC WIRELESS SETTINGS it has a combo for selecting the WIRELESS MODE

    There I have an option to set it up as "ACCESS POINT + WDS" (I also have "AP", and "WDS" alone)
    Isn't that suppossed to work as I want it ?? as an AP but also using WDS ? or am I wrong....

    anyway, wouldn't it be nice if this setup could be done ?

    thanks a lot !!!
     
  12. Thibor

    Thibor Super Moderator Staff Member Member

    no, because of the setup you are describing. that would require 2 radios' as they are incapable of operating in both Access Point and Client Mode simultaneously.
    i agree, this would be good if it was possible. don't you think i would've already done this before now if it could have been?
    the setup you described is for the 2nd router to NAT the connection so that the first router will not see any wireless clients, that is not WDS, it's "Client Mode" in which the Wireless interface becomes the WAN route.
     
  13. santiber

    santiber Network Guru Member

    OK, yes you´re right. I think that if it would be possible, you´ve already done it... but please consider that I´m a bit new in working with this routers, so I ask you for help, and in no way I mean to offend you. I really appreciate your answers and help.

    I´ve been testing some things to reach a closer configuration to what I want.

    I´ve set the SSID of my R2 as a different one of the SSID of R1... and it worked.... now, from my WIFI clients, I can see "both networks", and connect to the one I want... obviously, what I cannot do is to set different types of security (auth.), but I think I'm a bit closer to what I wanted in the first place.

    One thing I've noticed is that if I set the MAC FILTER as ENABLED, and load a list of MAC addresses I want to be able to connect to R2, then after I save the settings, and come back to the config gui, this setting is back to DISABLED... I think this might be a bug, or is it that MAC FILTER is not "available" when using "AP + WDS" mode ???

    thanks a lot !
     
  14. Thibor

    Thibor Super Moderator Staff Member Member

    iirc, when i last tested mac filtering, it was working without issue. make sure you save settings in both the popup window and the mac filtering page and not just one of them(which is what i suspect occurred).
    you didn't offend me either, i'm just naturally arsey :)
     
  15. HennieM

    HennieM Network Guru Member

    Dunno about the WRTs as clients/APs etc. and how that works.
    If it's just about DHCP though, you could get another PC, connected to R2, to serve DHCP. You might have to sub the subnet, or do some other fancy tricks to prevent double addresses. Your DHCP servers might be set up to "check" (usually by ping) addresses first, but they might also not. So, you might get SOME PCs connected to R2 with an address served by the DHCP server connected to R2, and SOME PCs with addresses served by R1. Similarly, some PCs on R1 may get addresses from the DHCP server on R2.
    The theory/hope here is that the DHCP server on R2 serves the address faster than does R1 for clients connected to R2.

    If my explanation above sounds confusing, that's just what you may get - You could screw up the entire network....

    Hennie
     

Share This Page