XS Network

From OLPC
Jump to: navigation, search

This page is developer documentation on the networking infrastructure of the School Server

Network addresses and netblocks

Network addresses

  • 172.18.0.1 is the main 'schoolserver' (server 1) address. Key services bind here.
  • 172.18.1.x is the address of each school server for inter-server routing
  • fe80::abcd:fe01 is the 'link-local' IPv6 address of the server over mesh, some services bind here.
  • fe80::abcd:fe02 is the 'link-local' IPv6 address of the server over LAN/AP, some services bind here.

DHCP leases - mesh

  • Server 1 - 172.18.10.2 ~ 172.18.15.254
  • Reserved - 172.18.16.2 ~ 172.18.25.254
  • Server 2 - 172.18.26.2 ~ 172.18.31.254
  • Server 3 - 172.18.34.2 ~ 172.18.39.254
  • Server 4 - 172.18.42.2 ~ 172.18.47.254
  • ... Server 5 to 8 follow the same pattern. The routing is setup so that each of these servers has control over the /23 unused at the "end" of the range.

DHCP leases - LAN / AP

  • Server 1: 172.18.96.2 to 172.18.125.254 -- this is 172.18.96.1/19 minus 510 addresses at the end of the range.
  • Only server 1 hands out leases on the LAN/AP

Reserved or unused ranges

  • The /23 at the end of each range routed by each server - unused
  • Mesh (from server 1): 172.18.16.0/24 - reserved for XO activation
  • Mesh (from server 1): 172.18.17.0 ~ 172.18.25.254 - unused
  • LAN/AP: 172.18.126.0/24 - reserved for static IP addresses on the LAN, such as printers, AP management consoles, etc.
  • LAN/AP: 172.18.127.0/24 - reserved for XO activation

Network devices

TODO: Document the workings of lanbond0, mshbond0, eth0, etc.