Sector Radio Configuration
Jump to navigation
Jump to search
Incomplete needs LOTS of work.
Before You Start
Gather the information you will need:
- Site VLAN ID
- IP Address for this Sector
- Site Subnet
- Site Default Gateway
- Radio Name
- Radio Azimuth (0,120,240)
- Radio Frequency
- Radio Channel Width (Usually 10mhz)
Configuration Steps
When programming this radio for the first time it is generally easier to use the Mac Address of the device to connect to it from winbox, This will ensure that if you remove the current IP address you remain connected to the radio. You can do this by either typing the mac address into the address field or selecting a detected radio by clicking on the mac address column.
- Upgrade your modem to the latest version of RouterOS
- If you have connected the modem to your LAN in a way that provides Internet access, the following two command can be used:
/system package update install
- Once the system is don upgrading and rebooting run
/system routerboard upgrade
- Otherwise, use the standalone upgrade method: http://wiki.mikrotik.com/wiki/Manual:Upgrading_RouterOS (also works on older ROS 5.xx that does not support the upgrade command) \
- Reset the modem/radio to a blank configuration
/system reset-configuration no-defaults=yes
- Give the modem/radio a name, for standard sectors this takes the form of RADIOaz.site for example RADIO120.LMK
/system identity set name=RADIO120.SITE
- Set a password for the admin user
/user set admin password=
/console clear-history
- This is an example password generated in your browser.
- To support shared administration, add the following HamWAN Network Administration accounts into the "full" group. Usernames are case sensitive.
/user add group=full name=manage password=
/console clear-history
- This is an example password generated in your browser.
- Enable Ethernet boot in case you ever need to reinstall the router with NetInstall (this could save you a trip up to your roof, its a good idea)
/system routerboard settings set boot-device=try-ethernet-once-then-nand
- Caution this no longer seems to persist past the next reboot.
- Configure Remote Central Logging
/system logging action set 3 bsd-syslog=no name=remote remote=44.135.216.4 remote-port=514 src-address=0.0.0.0 syslog-facility=daemon syslog-severity=auto target=remote
/system logging add action=remote disabled=no prefix="" topics=info
/system logging add action=remote disabled=no prefix="" topics=warning
/system logging add action=remote disabled=no prefix="" topics=error
- Configure Central Authentication
/radius add address=44.135.217.99 secret=AmprNET service=login
/user aaa set use-radius=yes
- Configure SNMP Monitoring
/snmp set enabled=yes contact="#HamWAN on irc.freenode.org"
/snmp community set name=hamwan addresses=44.135.216.0/23 read-access=yes write-access=no numbers=0
- Setup NTP
/system clock set time-zone-name=America/Vancouver
/ip cloud set update-time=no
/system ntp client set enabled=yes primary-ntp=208.73.56.29 secondary-ntp=45.76.244.193
- Clear the firewall rules and add ours
/ip firewall filter remove [find dynamic=no]
/ip firewall filter add action=accept chain=input connection-state=established
/ip firewall filter add action=reject chain=input dst-address=44.135.216.0/23 protocol=!icmp reject-with=icmp-network-unreachable src-address=!44.0.0.0/8
/ip firewall filter add action=reject chain=input dst-address=44.135.160.0/21 protocol=!icmp reject-with=icmp-network-unreachable src-address=!44.0.0.0/8
- Configure Networking
- Interfaces
- Create a bridge
/interface bridge add name=BR-HW-OSPF
- Create the vlan back to the router (VLAN ID is site dependant)
/interface vlan add interface ether1 name=ETH1-OSPF vlan-id=614
- Configure bridge ports
/interface bridge port add bridge=BR-HW-OSPF interface=wlan1
/interface bridge port add bridge=BR-HW-OSPF interface=ETH1-OSPF
- Wireless
- Configure Interface (Frequency will depend on sector, as will radio-name)
/interface wireless set [ find default-name=wlan1 ] band=5ghz-onlyn channel-width=10mhz country=no_country_set disabled=no frequency=5920 frequency-mode=superchannel mode=ap-bridge nv2-cell-radius=100 radio-name=VA7DIG/KUI0 rx-chains=0,1 ssid=HamWAN tdma-period-size=4 tx-chains=0,1 wireless-protocol=nv2
/n
- Add our channels
/interface wireless channels add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" frequency=5920 list=HamWAN name=Sector1-5 width=5
/interface wireless channels add band=5ghz-onlyn comment="Cell sites radiate this at 120 degrees (south-east)" frequency=5900 list=HamWAN name=Sector2-5 width=5
/interface wireless channels add band=5ghz-onlyn comment="Cell sites radiate this at 240 degrees (south-west)" frequency=5880 list=HamWAN name=Sector3-5 width=5
/interface wireless channels add band=5ghz-onlyn comment="Cell sites radiate this at 0 degrees (north)" frequency=5920 list=HamWAN name=Sector1-10 width=10
/interface wireless channels add band=5ghz-onlyn comment="Cell sites radiate this at 120 degrees (south-east)" frequency=5900 list=HamWAN name=Sector2-10 width=10
/interface wireless channels add band=5ghz-onlyn comment="Cell sites radiate this at 240 degrees (south-west)" frequency=5880 list=HamWAN name=Sector3-10 width=10
- Interfaces