User Tools

Site Tools


docs:guide-user:network:wan:isp-configurations

ISP Configurations

This page describes how to connect to networks of different commercial Internet service providers. At this time, the DSL configurations described below only apply to devices using Lantiq SoC. There is no DSL support for Broadcom devices.

Australia

TPG (ADSL2+)

A good way to configure your internet is using two devices: A dedicated modem that just accepts all ATM traffic and bridges it to its ethernet port, and a second device that acts as a router to your internal LAN, and the WAN port authenticates to your ISP via pppoe, and is physically connected to the first device over ethernet cable.

Below, I show two configs, one config for the modem, (here Netgear DM200 ADSL2+/VDSL modem) and the second config showing the necessary authentication to TPG ISP for the second device (another OpenWRT router).

package network                                                                 
                                                                                
config atm-bridge 'atm'                                                         
        option vpi '8'                                                          
        option vci '35'                                                         
        option encaps 'llc'                                                     
        option payload 'bridged'                                                
                                                                                
config dsl 'dsl'                                                                
        option annex 'a2p'                                                      
        option fwannex 'a'                                                      
        option firmware '/lib/firmware/lantiq-vrx200-a.bin'                     
        option xfer_mode 'atm'                                                  
                                                                                
config interface 'lan'                                                          
        option type 'bridge'                                                    
        option ifname 'eth0 nas0'                                               
        option proto 'none'                                                     
        option auto '1'                                                         
                                                                                
config device 'lan_dev'                                                         
        option name 'eth0'                                                      
        option macaddr 'yy.yy.yy.yy.yy.yy'                                      
                                                                                
config device 'wan_dev'                                                         
        option name 'nas0'                                                      
        option macaddr 'xx.xx.xx.xx.xx.xx'

Second device authenticates to ISP with:

config interface 'wan'
	option ifname 'eth1'
	option proto 'pppoe'
	option username 'xxxx@tpg.com.au'
	option password 'zzzz'

Germany

Deutsche Telekom

ADSL

  • ADSL LINK
  • ATM
    • VPI (Virtual Path Identifier): 1
    • VCI (Virtual Channel Identifier): 32
1&1 on a Telekom line with Annex J

When migrating from Annex B to Annex J, connection properties seem to have changed to require using VLAN 7.

The complete username (as opposed to the simplified form used by Fritz!Boxes '1und1/1234-567@online.de') can be obtained from a packet capture from a Fritz!Box (if internet is so far provided via one).

  • Press start on the '1. Internetverbindung'
  • Log into the main Fritz!Box UI and press the reconnect button
  • Wait until the connection is re-established
  • Stop the capture and open it in Wireshark
  • Use 'pap' as filter. You should be able to read the complete username and password in the detail view

The configuration of the interfaces should look like this (tested on r6788-7ff31bed98):

config dsl 'dsl'
	option tone 'bv'
	option annex 'j'

config interface 'wan'
	option proto 'pppoe'
	option password '***'
	option delegate '0'
	option ipv6 'auto'
	option username '1und1/(***)1234-567@online.de'
	option ifname 'dsl0.7'

config device 'wan_dev'
	option macaddr '***'
	option name 'dsl0'

VDSL

The network protocols are layered in this way:

  1. VDSL link (17a profile, G.993.5 depending on the DSLAM)
  2. PTM (Packet Transfer Mode)
  3. Ethernet with VLAN 7 (data + voice)
  4. PPPoE
    1. For some resale accounts an “H” has to be added in front of the pppoe user name, for 1und1 it looks like this “H1und1/1234-567@online.de”

You global routed IPv4 address and a some IPv6 subnets

When the network supports VDSL vectoring, but the VDSL modem does not support it, the device will be put into a fall back mode using only the lower 2.2 MHz of the band, this results in reduced rates like 13 MBit/s down and 1.4 MBit/s up instead of 50 MBit/s. Details: https://telekomhilft.telekom.de/t5/Telefonie-Internet/Fallbackprofil-bei-Vectoring/ta-p/2431567

Example VDSL configuration for Lantiq based devices:

config dsl 'dsl'
	option annex 'a'
	option tone 'av'
	option xfer_mode 'ptm'

config interface 'wan'
	option proto 'pppoe'
	option _orig_ifname 'ptm0'
	option _orig_bridge 'false'
	option ifname 'dsl0.7' # OpenWRT 18
	# option ifname 'ptm0.7' # LEDE 17
        option username 'H1und1/1234-567@online.de'
	option password 'abcdefghijklm'
	option ipv6 'auto'

United Kingdom

The information below is reproduced from the 'OpenWRT/LEDE Installation Guide for the BT Home Hub 5A', which can be downloaded from: Ebilan forum Dropbox mirror

ADSL

  • ADSL LINK
  • Annex A, Tone A
  • ATM
    • VPI (Virtual Path Identifier): 0
    • VCI (Virtual Channel Identifier): 38

Configuration examples for LEDE 17 and OpenWRT 18.

Virtually all ISPs in the UK use PPPoA protocol with the exception of Sky Broadband who use MER and also PPPoA on some exchanges.

config dsl 'dsl'
    option annex 'a'
    option tone 'a'
    option xfer_mode 'atm'
    option line_mode 'adsl'

config interface 'wan'
    option proto 'pppoa'
    option username 'your username'
    option password 'your password'
    # option username 'bthomehub@btinternet.com' # BT ADSL
    # option password ' '
    # option username 'install@o2broadband.co.uk' # Sky ADSL on ex-o2 enabled exchanges.
    # option password ''
    option vpi '0'
    option vci '38'
    option encaps 'vc'
    option ipv6 'auto' 

Ensure that ATM Bridge section has been deleted, otherwise PPPoA will not connect to broadband service. It can be deleted using LuCI.

config atm-bridge 'atm' # Remove entire section for PPPoA

BT group also supports PPPoE protocol.

config dsl 'dsl'
    option annex 'a'
    option tone 'a'
    option xfer_mode 'atm'
    option line_mode 'adsl'

config atm-bridge 'atm'
    option encaps 'llc'
    option payload 'bridged'
    option vci '38'
    option vpi '0'

config interface 'wan'
    option ifname 'dsl0'
    # option ifname 'nas0' # for LEDE 17.01
    option proto 'pppoe'
    option username 'your username'
    option password 'your password'
    # option username 'bthomehub@btinternet.com' # BT ADSL
    # option password ' '

VDSL

The network protocols are layered in this way:

  • VDSL link (17a profile, G.993.5)
  • PTM (Packet Transfer Mode)
  • Annex B, Tone A
  • VLAN 101

BT group and Vodafone uses PPPoE protocol.

config dsl 'dsl'
    option annex 'b'
    option tone 'a'

config interface 'wan'
    option ifname 'dsl0.101'
    # option ifname 'ptm0.101' # for LEDE 17.01
    option proto 'pppoe'
    option username 'bthomehub@btinternet.com'
    option password ' '

TalkTalk uses DHCP protocol.

config dsl 'dsl'
    option annex 'b'
    option tone 'a'

config interface 'wan'
    option ifname 'dsl0.101'
    # option ifname 'ptm0.101' # for LEDE 17.01
    option proto 'dhcp'

Sky and NOW uses MER protocol. Configure as for DHCP. Refer to following thread for additional instructions: SkyUser

docs/guide-user/network/wan/isp-configurations.txt · Last modified: 2018/10/18 07:29 by bill888