Thursday, February 5, 2009

If it were an IPv6 snake it would have bit me

I've wondered why my Apple Airport Extreme at the beach would create IPv6 networks with a /48 bit netmask and my Soekris M0n0wall router would create /64 netmask networks by default. The reason is glaringly obvious! The Apple Airport Extreme expects to create only one LAN network while M0n0wall is configured for multiple LAN (or wireless) interfaces hence the M0n0wall router will reserve the other 16 network bits for netmask.

This means that, should a M0n0wall device have enough umph it could, in theory, have a single WAN interface and 65535 LAN interfaces** all configured as a different subnet with each LAN having a full 64 bits left over for host identification (thus enabling IPv6 Stateless Address Autoconfiguration).

In a word - SWEET!!!

----------

** M0n0wall seems to start with the subnet of 0001 thus providing a real-world 65534 subnets each with a /64 bit host field.

No comments: