Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#348597 - 29/10/2011 15:07 running a home network with dual APs
DWallach
carpal tunnel

Registered: 30/04/2000
Posts: 3810
I figured this was worth forking a new thread rather than dragging out an old one.

I've now got two 802.11n (2.4GHz) APs: one upstairs in the wiring closet and one downstairs in the home theater rack. I've got them current set to automatically select their frequencies, and they seem to be consistently selecting the same frequency as each other. At different times that I check, that frequency will move around, but nonetheless it doesn't seem like the optimal answer.

The immediate neighborhood isn't what you'd call a congested WiFi environment. I can pick up maybe three or four other APs, but they're all -80dB or lower.

I suppose I could just tell my APs to occupy two specific (and different) frequencies and not worry about my neighbors. Or, is the "auto" frequency support genuinely doing the right thing and I should leave well-enough alone?

Top
#348598 - 29/10/2011 15:38 Re: running a home network with dual APs [Re: DWallach]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12318
Loc: Sterling, VA
I'd specify the channels.

Are you seeing performance issues when the routers both pick the same channel?
_________________________
Matt

Top
#348599 - 29/10/2011 15:44 Re: running a home network with dual APs [Re: Dignan]
BartDG
carpal tunnel

Registered: 20/05/2001
Posts: 2616
Loc: Bruges, Belgium
Agreed. Choose channel 1 for the first AP and 6 (or 11) for the second. Your problem will most likely be solved.

Do not use a 40Mhz channel, because that uses channel overlapping and isn't "neighbour friendly" at all. 40Mhz is also less stable and even if it provides you extra speed (which is not guaranteed) in 99% of the cases you won't need it. (if all you're using your wifi for is internet surfing, like most people. smile )
_________________________
Riocar 80gig S/N : 010101580 red
Riocar 80gig (010102106) - backup

Top
#348600 - 29/10/2011 15:47 Re: running a home network with dual APs [Re: DWallach]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Everything I've read says that you should have the separate APs on different channels.
_________________________
Bitt Faulk

Top
#348601 - 29/10/2011 16:38 Re: running a home network with dual APs [Re: BartDG]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
Originally Posted By: Archeon
Agreed. Choose channel 1 for the first AP and 6 (or 11) for the second. Your problem will most likely be solved.

A recent article I read expanded a bit on this common channel layout. The specific part is on the second part of page 3 here:
http://arstechnica.com/gadgets/news/2011...ilt-wi-fi.ars/3
(I'd recommend the whole article if you are interested in the origins of WiFi and how each revision is different)
Quote:
So if you have four Wi-Fi base stations, it's probably better to use channels 1-4-8-11 in North America rather than have two base stations sit on the same channel in the 1-6-11 configuration. In Europe and many other parts of the world 1-5-9-13 is possible, which provides the 20MHz separation needed for 802.11g and 802.11n
...

In some cases, the best choice is to select the same channel your neighbors are using. That way, your network and theirs will politely take turns transmitting. Waiting for your neighbor's transmissions will reduce your maximum throughput, but they also wait for you, so you get to transmit at maximum speed when it's your turn. Alternatively, if you choose a channel that heavily overlaps with a neighbor's network that is both strong and active, the two networks won't "see" each other and rather than take turns, generate interference when they both transmit at the same time, reducing the usable transmission rates.

Top
#348602 - 29/10/2011 17:22 Re: running a home network with dual APs [Re: drakino]
DWallach
carpal tunnel

Registered: 30/04/2000
Posts: 3810
I'm not seeing any interference issues, but that's because we tend to be either upstairs or downstairs, not both at once. This whole "take you turn" thing, if it really works, is probably is why it's working for us.

My router offers "up to 270Mbits/sec" or "up to 130Mbits/sec". Can I assume those map to 40 and 20MHz, respectively? I certainly don't want to be gratuitously unfriendly to my neighbors, but it's not like any of them are complaining.

Top
#348603 - 29/10/2011 20:45 Re: running a home network with dual APs [Re: DWallach]
BartDG
carpal tunnel

Registered: 20/05/2001
Posts: 2616
Loc: Bruges, Belgium
Yes, with 20 Mhz, 130Mbits/s is the max speed you'll be able to achieve, higher is 40 Mhz.
_________________________
Riocar 80gig S/N : 010101580 red
Riocar 80gig (010102106) - backup

Top
#348605 - 30/10/2011 01:25 Re: running a home network with dual APs [Re: DWallach]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
Yep. 130 is 2x2 MIMO with 20MHz channels. Unlike past WiFi specs, it looks like the formal spec this time was a bit more forward thinking, avoiding the mess of "Super G" and other vendor proprietary speed extensions. N should be able to grow up to about 600MBit officially. The current generation Macs and Airport Extremes sit in the 450MBit range.
Quote:
The third mechanism to increase speed is an option to use "wide channels." 40MHz rather than 20MHz channels allow for 108 subcarriers, which brings the bitrate to 270Mbps with 2x2 MIMO (two antennas used by the sender and and two antennas used by the receiver). Optionally, the guard interval can be reduced from 800 to 400 nanoseconds, adding another 10 percent speed increase, bringing the total bitrate to 300Mbps for 2x2 MIMO, 450Mbps for 3x3 MIMO, and 600Mbps for 4x4 MIMO. However, as the 2.4GHz band is already very crowded, some vendors only implement wide channels in the 5GHz band.

Top
#348606 - 30/10/2011 02:57 Re: running a home network with dual APs [Re: drakino]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
This thread inspired me to take another whack at setting up a second router as an AP at the far end of the house.

Cabler modem > wire > DIR-655 > wire > DIR-825.

The 825 was nutered by disabling its dhcp, upnp, and setting a static ip. That last is what stumped me before. In this mode of operation the 825 cannot pull an ip via dhcp from the 655.

I noticed while digging around in the 655's configuration, there was a setting "Local Domain Name" setting.

The help says:

Local Domain Name
This entry is optional. Enter a domain name for the local network. The router's DHCP server will give this domain name to the computers on the wireless LAN. So, for example, if you enter mynetwork.net here, and you have a wireless laptop with a name of chris, that laptop will be known as chris.mynetwork.net. Note, however, if the AP's settings specify "DHCP (Dynamic)" Address, and the router's DHCP server assigns a domain name to the AP, that domain name will override any name you enter here.

Is there a benefit I'm forgoing by omitting this?
_________________________
Glenn

Top
#348607 - 30/10/2011 05:09 Re: running a home network with dual APs [Re: gbeer]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
Originally Posted By: gbeer
This entry is optional. Enter a domain name for the local network. The router's DHCP server will give this domain name to the computers on the wireless LAN. So, for example, if you enter mynetwork.net here, and you have a wireless laptop with a name of chris, that laptop will be known as chris.mynetwork.net. Note, however, if the AP's settings specify "DHCP (Dynamic)" Address, and the router's DHCP server assigns a domain name to the AP, that domain name will override any name you enter here.

Is there a benefit I'm forgoing by omitting this?

Really depends on how you use your network. If all your machines already see each other, and you connect by name, this setting won't add much beyond complexity. However, if you ever find yourself trying to get to another machine by IP address, this can help move you to using names.

My personal preference is to connect to anything by name, and my network does this via Bonjour. This setting in the router is another way, where everything on the network can have a name like "laptop.gbeer.net". Then, the router can also hand out DNS search domains, allowing you to connect to the system just by typing the name "laptop" instead of "laptop.gbeer.net".

Top
#348610 - 30/10/2011 15:49 Re: running a home network with dual APs [Re: gbeer]
BartDG
carpal tunnel

Registered: 20/05/2001
Posts: 2616
Loc: Bruges, Belgium
Originally Posted By: gbeer

The 825 was nutered by disabling its dhcp, upnp, and setting a static ip. That last is what stumped me before. In this mode of operation the 825 cannot pull an ip via dhcp from the 655.

All you've done is correct, it should work like that. Also make sure you give your 825 a different IP address than the 655. The 655 is standard 192.168.0.1 (I have the same router. smile ). So I would suggest 192.168.0.2 for your 825.
Also, make sure you connect your ethernet cable to a LAN port of your 825 and not the WAN port!
_________________________
Riocar 80gig S/N : 010101580 red
Riocar 80gig (010102106) - backup

Top
#348611 - 30/10/2011 18:07 Re: running a home network with dual APs [Re: BartDG]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
Originally Posted By: Archeon
So I would suggest 192.168.0.2 for your 825.
Also, make sure you connect your ethernet cable to a LAN port of your 825 and not the WAN port!


Just so.
_________________________
Glenn

Top
#348612 - 30/10/2011 18:11 Re: running a home network with dual APs [Re: drakino]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
Originally Posted By: drakino

Really depends on how you use your network. If all your machines already see each other, and you connect by name, this setting won't add much beyond complexity. However, if you ever find yourself trying to get to another machine by IP address, this can help move you to using names.

My personal preference is to connect to anything by name, and my network does this via Bonjour. This setting in the router is another way, where everything on the network can have a name like "laptop.gbeer.net". Then, the router can also hand out DNS search domains, allowing you to connect to the system just by typing the name "laptop" instead of "laptop.gbeer.net".


Going to have to try that. smile The connect by number is what I've been doing, and it's getting old.

Will it help the windows machines to discover each other? That's been a problem too.
_________________________
Glenn

Top
#348632 - 31/10/2011 03:09 Re: running a home network with dual APs [Re: gbeer]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
I can't say for certain how it will help Windows, but it can't hurt. The key way to test this would be to turn this on, enter a fake domain, and try it out. I checked the defaults on Windows 7, and it should work assuming the router hands it out as "Connection-specific DNS Suffix" as reported by "ipconfig /all" run in a command window.

If you want to adhere to the specs for the fake domain, use something that ends in .local instead of .com/.net. For example, gbeer.local.

The only concern I have now reading back is this part:
Quote:
Note, however, if the AP's settings specify "DHCP (Dynamic)" Address, and the router's DHCP server assigns a domain name to the AP, that domain name will override any name you enter here.

That may mean the router will not hand out your fake domain if your ISP hands out a real one. Mine for example sets the Connection-specific DNS Suffix to "oc.cox.net".

Top
#349110 - 14/11/2011 23:59 Re: running a home network with dual APs [Re: drakino]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
Yay! I think I've got it correct now.

Both routers are squaking the same SSID, operating on separated channels, and the Tx power was lowered on both.

My iPad now seems able to move from one end of the house to the other, enjoying full bars, without needing to force it to switch between the routers.
_________________________
Glenn

Top