OpenWRT on Altibox VLAN

An ISP in Norway, Altibox, serves up VLANs for VoIP, IPTV and internet. The included router gives no control or options for LAN management. I only use the internet service, so I replaced it with a generic router running OpenWRT. I found no straight forward answer to how to configure it, so here it is.

The situation

|   ,--.
|       )                    +--------+
|   internet)    -> VLANs -> | router | -> LAN
|   _________)               +--------+

AFAIK the VLANs used are:

  • 100 - VoIP / router remote config
  • 101 - IPTV
  • 102 - internet

How-to

These are the settings you need to change in OpenWRT.

Switch:

  • change vlan 2 to 102
  • change wan on vlan 102 to tagged

Save and apply

Interface:

  • edit wan
  • change device from eth0.2 to eth0.102
  • repeat for wan6

Save and apply