9/28/2016

Wifi Network Planning : Part 1 - Access Point Capacities

So you've been asked to be a project manager to implement wireless network in your office?
Don't worry, I'm here to help you.



First thing first, you will need to know the requirement of your office needs.
Do you plan to let anyone use wifi or some will use cable?
How many users will need to connect to it?
How's the nature of the users that will connect to it? (Roam across APs or just stay)

Because we need to decide how many AP will be used, we have to know first the estimation number of how many users will be connect to it.

Wifi has a shared radio frequency (RF) medium. So when someone's using the medium, the other person must wait to get their turn and so on so forth for the next user.
The througput of wifi will be lower than using cables due to Wifi overhead packets to around 80-90%. So expect to have slightly lower internet speed than when you're using cable.
The througput will also drop for each user connected to an Access Point.
Here are the things you might need to consider when implement a wireless network.

1. How many clients will be served?
As I mentioned earlier, Wifi is a shared medium. The radio frequency will, in turn, serve every client with air-time for the internet connection.
So this one will be crucial to decide how much access point will you need to provide every user simultaneuously.
2. Access Point Capacity
Every access point has limitting the maximum number of clients which will be connected to it. So you'd better find an access point which suits your need.
An access point with 4:4 MIMO will be able to serve more clients and have more throughput than the one with 1:1 clients. So be careful when decides of what to use.
3. The nature of the clients (2.4 GHz or 5 GHz)
We need to know which one our users will be using first. In my country, Indonesia, most laptops are equipped with 2.4 GHz only Wifi adapter, then you will need access point which able to support 2.4 and 5 GHz band at the same time because some user will have the 5GHz band wifi support.
It is well known as dual-band access point. 

Okay so, erm, how many access points do I need for my office then?

Let's get into the calculation.

Assuming I connected my laptop to the access point, which have this specification, 3x3:3 laptop MIMO, it will have the 40-60% TCP/IP througput than the actual bandwith.
Let's say I have actual througput of 450 Mbps for the Wifi adapter, I will have like around 225 Mbps actual througput for the TCP/IP connection.

That's when my laptop is connected while the other device isn't.
So what will happen when I connect another laptop which has the same spec?
The access point will share the air time to both devices, so the actual throughput will be like 50% of my actual throughput which is around 112 Mbps (225 Mbps divided by 2 devices).
The same thing will keep happen as I connect more device, like I have 3 laptops with the same specification connected to the AP, it will share the air time equally like 33% for each device then my actual throughput will be like 75 Mbps (225 Mbps divided by 3 devices).

Case 1:
So let's say, we will need to have our access points to serve 100 laptops which having raw throughput of 300 Mbps for normally web browsing and have the minimum of 2 Mbps speed of each for better user experience.
How many access point do we need to use?

Total laptop : 100
Laptop Raw Throughput: 300 Mbps
Actual Throughput: 150 Mbps
Minimum Bandwidth : 2 Mbps

2 / 150 = 1.3% to desired throughput
100 * 1.3% = 130% --> Rounded up it will be 200%, we will need to have at least two AP to be able to provide the requirement

Case 2:
There we have another situation which require us to serve different kind of devices.
45 Laptops with 300 Mbps raw throughput, 40 smartphones with 60 Mbps raw throughput, minimum bandwidth for each device of 4 Mbps.

Total Laptop : 45
Laptop Raw Throughput : 300 Mbps
Actual Throughput : 150 Mbps
Total Smartphone : 40
Smartphone Raw Throughput : 60 Mbps
Actual Throughput : 30 Mbps
Minimum Bandwidth for Application of 4 Mbps

For Laptop:
4/150 = 2.7%
45 * 2.7%= 121.5%
For Smartphone:
4/30 = 13.33%
40 * 13.33% = 533.3%
Total Laptop + Smartphone = 121.5% + 533.3% = 654.8% --> So we will need to have at least 7 APs to provide good connection (4 Mbps) for each user device

And that's it for part one.
You should be able to decide of how many access points will you need for your office by now.
Will share you another thing about Wifi designing later on.

Thanks for reading this.

APZ

1/26/2016

Configuring Inter-PBX Connection Between Grandstream UCM 6104 Using IAX Trunks

As the title said,

Right now I'm going to show you how to create inter PABX connection.
As for now, we have two HQ offices using UCM6104 right now, one in Jakarta and the other in Bangkok.
While we're miles by distance, we still have VPN connection.

And here's how to do it.

Firstly,
Let's assume we have two PABX with these IP Address as this is my configuration at office:
JKT Office : 192.168.53.10
BKK Office : 192.168.10.113

Both are using the same GXP6104 model. And here we're going to make the IAX trunk for both of them.

Step 1 : Making IAX Trunk in Both, JKT and BKK PBX
For those who doesn't know where VoIP Trunk, it is located under PBX > Basic / Call Routes > VoIP Trunks Sub Menu here, I started with the one in BKK first. Click on the Create New IAX Trunk and proceed as below.
- Provider Name : This is just a name, I name it ConnectJKT
- Host Name : Add the other side's PBX IP Address, this one I put the JKT IP Address, 192.168.53.10


And the next will be configuring the other side as well, the one in JKT
- Provider Name : Same as above, I name it ConnectBKK
- Host Name : IP of BKK PBX, 192.168.10.113


If you can ping the one in JKT from BKK and vice-versa, then it's already connected.
We just need to put an outbound and inbound rules for the call to be able to call each other.

Step 2 : Making an Inbound and Outbound Call
This menu also located in PBX > Basic/Call Routes > Inbound Rules and PBX > Basic/Call Routes > Outbound Rules.
Now I'm setting the Inbound Rules first in BKK. Select the Trunks on Dropdown menu first, then click on Create New Inbound Rules and proceed as below.
- Trunks : IAX Trunks, the one you've recently created.
- DID Patterns : Here is what we have to input on the IP Phone before making a call, I made it 61xxx. So when users call with 61 followed by extension number, let's say 116, so it will make it 61116, it will be forwarded through this trunks (IAX Trunks - ConnectJKT).
- Privilege Level : Internal (Used for Inter PBX Connection)
- Default Destination : As we want it to call another Extension using pattern, we set it DID
- Strip : We want to delete the 61 prefix so the call could make it to the next destination so we strip 2 numbers before the extension. We fill it with "2".
- Prepend : None
- Prepend Trunk Name : None
- Dial Trunk : Unchecked
- DID Destination : Extension

And we continue in configuring the outbound rules of the JKT side now.
- Calling Rule Name : It can be anything, possibly use the nearest to what it should do, I name it ConnectBKK
- Pattern : Again, this one should be similar to the one which has been set in the BKK side. I set it to 61xxx
- Password : I don't set any password for it.
- Call Duration Limit : I don't set any too here.
- Privilege Level : Internal (Default for inter PBX Connection)
- Enable Filter on Source Caller ID : None
- Use Trunk : Use the IAX Trunk that has been created before

And you're done. 
You will be able to call to BKK extension using 61 as prefix first followed by the extension number.
For example, I want to call someone with extension 105 in BKK, I should input 61105 on my IP Phone.
And you must set the outbound route for BKK and inbound route for JKT if you want to be able to call from Bangkok to Jakarta.

Thank you for reading this

APZ