CPE Setup

From StarOS Community Wiki
Revision as of 02:24, 31 January 2007 by Tcw.wisp (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CPE Setup w/NAT and DHCP Auto-Auth

This is my standard CPE setup. We provide a public IP address to the CPE's wpci interface and NAT a private subnet to the customer's LAN.


Interface Configuration


  • Setup the wireless interface.
    • interface > wpci1 > ip assignments. Assign your static IP assignments here.
    • interface > wpci1 > wireless configuration > config current card.
      • ENABLED = Turn your wireless card on or off, select for on.
      • ESSID = your essid
      • Channel = auto
      • Transmit Rate = (<-75 lock on 11)
      • Link Distance = (actual +2 miles)
      • Country Code = US
      • TX Power Overide = Only set as high as you need it. Not above 20.
      • Cloaking = 1x/2x/4x - 20/10/5MHz channel sizes. AP and Client must match.
      • Antenna Select = Antenna A/B/Diversity - MAIN/AUX/BOTH Radio Antenna Ports.
      • HIDE SSID = enable to hide your ESSID from AP scanners.
      • InterBSS Relay = enable for client to client communication. Not a good idea.
      • Outdoor Only = Channel Display Column will only show outdoor channels.
      • Short Preamble = Enable
      • Super A/G = Enable
      • AP Power Savings = Enable
      • Network Type = Station
      • Operating Mode = 802.11a/b/g, 802.11b/g mixed or Turbo (select your operating mode)
    • WEP Setup
      • WEP Mode = Disabled/40/104/128bit
      • Passphrase = To generate a wep key using a passphrase.
      • WEP Key 1/2/3/4 = WEP Keys must match and they must match the same Key slot as the AP.
      • Selct either "Open" or "Shared Key"
    • interface > interface feature > "select" enable DHCP client. Your CPE will dynamicly obtain IP address from your AP.
  • Setup the ethernet interface
    • interfaces > ether1 >
    • ip assingments = 192.168.200.1/24
    • ethernet link settings = auto/10/100mbps + full duplex on/off
    • dhcp auto-auth configurations > configurations =
      • Gateway: 192.168.200.1
      • Subnet Mask: 255.255.255.0
      • Pri. DNS: 1.2.3.4
      • Sec. DNS: 1.2.3.5
      • Lease: 1700
      • USE Radius = on or off
      • create hotspot session = on or off
      • IP Range = 192.168.200.100 - 254
    • interface features > enable dhcp auto-auth

Routing

  • Routing > dynamic routing (rip, ospf & mesh) = enable rip
  • routing > static and default routes = remove default routes

dns server list

  • advanced > dns server list...
    • hostname = jdoe
    • domain = wisp.domain.net
    • name server 1 = 1.2.3.4
    • name server 2 = 1.2.3.5
    • name server 3 = 1.2.3.6


ntp and timezone


  • advanced > ntp and timezone setup...
    • offset = enter your offset here (example -06:00)
    • NTP Server = ntp.server.net


qshape


  • advanced > scripts > class based queing...

example

qshape user 100 bw 1536k 512k 192.168.200.0/24 on ether1

see qshape article for more details


nat and static nat

  • advanced > scripts > nat and static nat...

example

masq from 192.168.200.0/24 to dev wpci1

file > activate changes > yes

That's it.

Once you have a working config you like, create a backup using starutil and pre-load your CPEs during assembly.

Comments welcome.