RB and PC setup Guide
Here is a rough guide how to setup yor RB and PC for new 172.20 IP's on ptawug. An additional guide is also given if your RB is plugged into an ADSL or similar router. It is assumed that Windows XP is used as Operating System and that you have a MikroTik RouterBoard(RB). It is also assumed that you have your PC connected directly to your RB via a lan cable or switch at this stage of setup.
Users who wish to NAT or use both their internet and WUG connections from one PC is advised to seek help on #ptawugged. Do not ask the person who helped you to get an IP to help you by means of a Private Message on the IRC. The admin person is only expected to help you get an IP range, configure the HighSite for your range and get your first Windows XP PC connected directly to the WUG. Users with non standard hardware or operating systems should seek help on the general IRC channels or do the necessary research themselves.
Should you need help or experience problems. Make use of the resources on the general IRC channels!
Setup of RB with direct connection to your PC
An admin person may (preferred, to keep the IP's in order) do this for you. Feel free to PM an "IP bitch" on IRC by entering "?? bitches" in IRC, but do not expect an immediate reply. Please do not tamper with ANY other settings except those mentioned here from default state of your RB, especially when you are not yet connected.
1. Determine your IP's by looking in the Client IP Ranges Matrix
The Following is an example and will be used for this guide:
| IP Range | Name | High Site | Antenna | Gateway | Client WAN IP | Comment |
|---|---|---|---|---|---|---|
| 172.20.10.0/29 | JoeSoap | XX | XX_SectorN | 172.20.247.241 | 172.20.247.246/28 | |
Login to your RB by clicking on the "..." next to the Connect to text box in Winbox. If your RB is setup correctly and on the same network as you it will appear. Click on it. Username is "admin" and the default password is blank.
2. Assign IP adressess
- Click on IP > Addressess
- Determine your routerboard eth1 IP address by looking at your IP address range in the Client IP ranges. As in the example above, the range is 172.20.10.0/29 so you will assign the first IP(172.20.10.1/29) in your range to your routerboard. You do this by clicking on IP -> ADDRESS in winbox and then the add button (+). A address window will pop up and then you must add the address(172.20.10.1/29) and ensure that the interface is ether1.
- Now Determine your routerboard wlan1 IP. In the example it would be 172.20.247.246/28 and remember to assign it to the wlan1 interface (Tip: A common mistake for new wuggers is to also increase their wlan1 IP like they did with their eth1 IP. You should not do this because your wlan1 IP is a IP that was assigned to you out of the Highsite IP range by a admin.)
- Add your route to the wug on the wlan interface by clicking on IP > Routes and entering a route of 172.16.0.0/12 with your gateway. In this example the gateway assigned is 172.20.247.241, please use the gateway assigned to you in the Client IP ranges page.
3.Configure your PC
These steps have to be completed by you, the IP bitch can not perform these.
- Configure your Ethernet device on your PC with one IP higher than your RB, in this case: 172.20.10.2 with a mask of 255.255.255.248 DNS=172.20.1.1 and the gateway should be the IP of your RB, in this case 172.20.10.1
- The last step would be to add a new persistent route. As in the example above, the command should be : "route -p ADD 172.16.0.0 MASK 255.240.0.0 172.20.10.1" (note that the last IP address here is the IP of your RB)
- You should now be able to ping and access other hosts on the wug e.g ping 172.20.1.1
If you want to connect to both the WUG and ADSL with your PC do the following
- Setup PC as in step 3.(The step above^).
- Now go to advanced in your TCP/IP Properties window and add your IP for your ADSL network and add the default gateway for ADSL as well.
- Click on the DNS tab in the advanced window and add your ADSL router IP for DNS.
- Open CMD and type: route -p add 0.0.0.0 mask 0.0.0.0 [ADSL Router IP]
Setup of RB connected to an ADSL or similar router
It is assumed that you have a setup as shown below. In other words, that your RB is also plugged into your ADSL or similar router.
Once again - if you have any questions or problems, please speak to the wuggers on IRC