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

Odd issue with WDS and wireless printer

Discussion in 'Tomato Firmware' started by Jedis, Jun 4, 2012.

  1. Jedis

    Jedis LI Guru Member

    I have my main router setup as an Access Point with WDS with IP 192.168.2.1, with DHCP assigning addresses in the 192.168.2.100-110 range.

    My second router is setup as an Access Point with WDS with IP 192.168.2.2, with DHCP assigning addresses in the 192.168.2.200-210 range.

    Both routers are configured identically and WDS has been working fine. However, the wireless printer will not function. It shows it is on the network, but I cannot ping it from the second router itself nor any computers connected to the second router.

    The first router can ping the IP of the printer 192.168.2.20 (with static reservation), but devices connected to the main router cannot ping it nor print to it.

    I've tried deleting the static DHCP entry on the main router, and even adding it to both routers. I can see it has connected from the Status page, but printing does not work.

    Any suggestions to get this working? For now, I've just turned on the wireless filter and blocked the MAC of the printer on the second router, forcing it to always connect to the main router. This works, but isn't ideal.
     
  2. Jedis

    Jedis LI Guru Member

    Still having issues with this. Any suggestions, please?
     
  3. pharma

    pharma Network Guru Member

    Try getting the printer to work with just one router without WDS (disable or unplug other router). If it works then setup the other router in WDS. If it doesn't work with just one router then your issue is not with WDS.
     
  4. Jedis

    Jedis LI Guru Member

    The printer worked with just one router for over a year. It's only since I started using WDS that I have been experiencing issues. The WDS link works fine. I am connected via ethernet to Router #2 with my computer via WDS and it works fine. The printer does not work though and fails to associate with either router when WDS is active.

    If I block the printer's MAC in router #2, the printer will connect to router #1 and work for a few days. Randomly it will stop working.
     
  5. Mercjoe

    Mercjoe Network Guru Member

    Is there any reason you have a DHCP server running on BOTH routers??

    With a WDS, the main router will assign IP's on the whole network. I would turn OFF the DHCP server on the 2nd router and have the main router will do all the IP assigning for you.

    I'll wager that the printer is trying connect to BOTH routers and they are both trying assign it an address and the poor printer is confused.
     
  6. Jedis

    Jedis LI Guru Member

    It's actually turned off now. That was one of the things that I tried when troubleshooting.

    I wanted DHCP on so I could tell easily what router a computer was connected to.
     
  7. Mercjoe

    Mercjoe Network Guru Member

    So does it work with only one router providing the DCHP service?

    Adding the second router as a WDS/AP should not have effected the operation of the wireless printer. If there are still problems, then turn off the other router and see if things clear up. Do not change any of the settings on the main router, just kill the remote endpoint.

    Right now it is a process of elimination. Lets remove all the vairables that do not allow it to function and try to drill down to the root cause.
     
  8. Jedis

    Jedis LI Guru Member

    No, it doesn't work with just one router doing DHCP.

    As soon as I unplugged router #2, it got an IP address and was immediately pingable.

    Not sure what else to try now? I had the MAC blocked on router #2 when it was a DHCP server. I can try unblocking it, but that's what had seemed to fix it temporarily before. I need it to be a static IP since it's a printer.
     
  9. Mercjoe

    Mercjoe Network Guru Member

    How very strange. But it tells me that there is some strange interaction going on when you have the second router in the network. The fact that it is unpingable is also useful.

    You have the printer defined as a static IP address. Mmmm.....I thought it was dynamically assigned. That is what I get for assuming.

    It is set up as a static IP on BOTH routers??

    A little more on the topography of your network; Are you statically defining all the IP address's or only some of them?
     
  10. Jedis

    Jedis LI Guru Member

    No, I only have it setup as a static IP on router 1. Since DHCP is turned off on router #2 now, it should be able to reconnect to router #2 and then pull its DHCP lease from router #1, thus getting the static IP, correct?

    Some computers have static IPs, along with the printer. Some do not. Printer MAC is set to get 192.168.2.20 on router #1.

    Router 1:

    LAN (Click here to hide)
    Router MAC Address XXXXXX
    Router IP Addresses 192.168.2.1/24 on LAN (br0)
    DHCP 192.168.2.100 - 192.168.2.110 on LAN (br0)
    Wireless (2.4 GHz / eth1) (Click here to hide)
    MAC Address XXXXXX
    Wireless Mode Access Point + WDS
    Wireless Network Mode G Only
    Interface Status Up (LAN)
    Radio Enabled
    SSID mySSID
    Broadcast Disabled
    Security WPA2 Personal (PSK) + AES
    Channel 11 - 2.462 GHz
    Rate 54 Mbps




    Router #2:

    LAN (Click here to hide)
    Router MAC Address XXXXXX
    Router IP Addresses 192.168.2.2/24 on LAN (br0)
    Gateway 192.168.2.1
    DNS 192.168.2.1:53
    DHCP Disabled on LAN (br0)
    Wireless (2.4 GHz / eth1) (Click here to hide)
    MAC Address XXXXXXX
    Wireless Mode Access Point + WDS
    Wireless Network Mode G Only
    Interface Status Up (LAN)
    Radio Enabled
    SSID mySSID
    Broadcast Disabled
    Security WPA2 Personal (PSK) + AES
    Channel 11 - 2.462 GHz
    Rate 36 Mbps
     
  11. Mercjoe

    Mercjoe Network Guru Member

    Correct, with the remote router DHCP set to off, all network IP functions are pulled from the main router. Any static IP address's listed in the main router are communicated via the remote routers.

    I compared it to my setup and it looks good. I pretty much have the same setup network wise. I too have a mix of static and dynamic IP's. The only difference is my printers are wired into the network via ethernet cables. One on each router. One is a multifunction fax/scanner/inkjet printer and the other is a laser printer. Both have static IP's defined.

    Okay. I am stumped now. The only thing I can think of is the printer is seeing BOTH wireless radios and it is confused since it is seeing the same SSID.

    Can the printer be configured to connect to only one wireless reciever via MAC address? If not, set the remote router to WDS only. No AP. See if the remote router can exist on the the network and allows the printer to be used/pinged. By going WDS only it will be on the network, it will just be a remote switch with no real wireless functions, the radio will be for the link only and not seen as a access point.

    BTW: nIce to see someone else who gets off the standard 192.168.1.# bandwagon. I thought I was the only one why did not use it as as defacto standard.
     
  12. tvlz

    tvlz Addicted to LI Member

    Can't remember where I saw this but i was having DHCP problems with wds too
    Try setting on router #2
    dnsmasq custom configuration (advanced->dhcp/dns) with
    dhcp-option=3,192.168.X.X where 192.168.X.X is the gateway (router #1) address
     

Share This Page