PTAWUG New ip user guide

From WugWiki

Jump to: navigation, search

Contents

[edit] How do I get my new IP

  • Connect on IRC and speak to a admin after you have read this page
  • Make sure you keep the page open till your new IPs are setup properly

[edit] Setting up your RB

Image:IPdingthingy.png

  • Connect to your Routerboard with it's MAC-address.

Image:Login.png

  • Go to IP then Adresses(1 and 2 on screenshot).

  • Delete your old 172.20.xxx.xxx IPs (BOTH wlan1 and ether1) by clicking on the blue "-".
  • Now add your new IPs by clicking on the red "+".
  • Fill in the information as shown below.

Image:IP-Wlan.png

  • Remember to use the IP + 1 (See green star above for location) on your ether1 IP.
  • Romeo0s range is 172.25.81.0 so it will be set to 172.25.81.1/28 on ether1.
  • Note : You have to add the /28 as shown.

Image:IP-Lan.png

  • Once you have done this go to IP > Routes (Number 1 and 3 in screenshot).

Image:Address_list.jpg

  • Delete your old 172.16.0.0/12 route by selecting it and clicking the blue "-"
  • Add a new route by clicking the red "+" and filling in the correct information.
  • Note : Destination will always be 172.16.0.0/12
  • To find out where you can get your Gateway(Purple star) IP look at the blue star above(First screenshot).

Image:Route.png Image:Routes.jpg

  • Your new IP's are now correcly set up on your routerboard.
  • Go to tools > Ping.
  • Enter 172.24.1.1 in "Ping to" block and click ping.
  • If you did everything correctly it should look something like this ping.

Image:Ping.png

[edit] Setting up your PC

  • change your IP of your PC by taking the IP assigned to your RB and +1 to this ip
  • eg. my RB ip is 172.25.81.1 so my PC ip would be 172.25.81.2
  • The gateway IP would be YOUR RB's IP
  • The Subnet would be 255.255.255.248
  • Primary DNS will be the IP of YOUR hs Loopback Interface eg. Mine would be 172.25.80.1 as per http://172.24.1.1/mediawiki/index.php/New_IP_HS_Page
  • Secondary DNS you can set to 172.24.1.1 or 172.25.9.1 if you are in Centurion
  • Now you have to change the WUG route of your pc
  • start by going to the command prompt eg start > run > CMD
  • type in route print
  • Check your persistent routes
  • now delete the persistent route by typing > route delete 172.16.0.0
  • You have to add a persistent route to your RB the same way you did it in the beginning when joining the WUG
  • route -p add 172.16.0.0 mask 255.240.0.0 <<IP_OF_YOUR_RB>>
  • check that you have a route by typing > route print
  • Do a ping test or traceroute to 172.24.1.1 to check that you are connected
  • update all wiki pages referring to any service you may be running or hosting (such as FTP servers)
  • refer to the WUG Services and Quickstart pages to obtain the new IPs for existing services

[edit] Disclaimer

  • Please note, after you get the new IP's, you will need to clock in a good amount of hours on IRC
  • And you need to familiarise with the PTAWUG donation way of doing things - http://www.ptawug.co.za/content_list_29
  • Failure to adhering to the above rules, will cause your IP to be revoked, and you will be put on a waiting list when you re apply for wug access.
Personal tools