Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:network:wan:isp-configurations [2021/02/27 10:38] – Added Shell Energy fibre and copper jaimet | docs:guide-user:network:wan:isp-configurations [2024/08/26 10:51] – [Aruba FTTH] Again option ipv6 '1' bit for OpenWrt 19.07 andreabravetti | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ISP Configurations ====== | ====== ISP Configurations ====== | ||
| This page describes how to connect to networks of different commercial Internet service providers. | This page describes how to connect to networks of different commercial Internet service providers. | ||
| - | At this time, most of the DSL configurations described below only apply to **modem**-router devices using Lantiq SoC. There is no DSL support for Broadcom devices. | + | At this time, most of the DSL configurations described below only apply to **modem**-router devices using [[docs: |
| + | {{section> | ||
| ===== Algeria ===== | ===== Algeria ===== | ||
| Line 25: | Line 26: | ||
| option username ' | option username ' | ||
| option password ' | option password ' | ||
| - | option mtu ' | ||
| list dns ' | list dns ' | ||
| list dns ' | list dns ' | ||
| Line 129: | Line 129: | ||
| option firmware '/ | option firmware '/ | ||
| </ | </ | ||
| + | |||
| + | ==== Fonira with static IPv4 and fixed IPv6 prefix ==== | ||
| + | |||
| + | Fonira provides the option to get rid of carrier-grade NAT by purchasing a static (and non-NATed) IPv4 address, and then also provides a fixed IPv6 prefix. | ||
| + | |||
| + | < | ||
| + | # / | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option device ' | ||
| + | option delegate ' | ||
| + | option ipv6 ' | ||
| + | |||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option reqaddress ' | ||
| + | option reqprefix ' | ||
| + | option ip6prefix ' | ||
| + | option delegate ' | ||
| + | </ | ||
| + | |||
| + | Using the settings above, the static IPv4 address and a dynamic IPv6 address is provided to the router' | ||
| + | |||
| + | Setting '' | ||
| + | |||
| + | < | ||
| + | # / | ||
| + | config route6 | ||
| + | option interface ' | ||
| + | option target '::/ | ||
| + | option source ' | ||
| + | </ | ||
| + | |||
| + | More details and discussions on this topic can be found in [[https:// | ||
| Line 141: | Line 178: | ||
| * TV: EDPnet does not offer TV. | * TV: EDPnet does not offer TV. | ||
| - | The following works for an [[toh: | + | The following works for an [[toh: |
| Also a TPLink WR8890 was successfully tested with firmware taken from the xDarklight repository. Testing has shown that the ' | Also a TPLink WR8890 was successfully tested with firmware taken from the xDarklight repository. Testing has shown that the ' | ||
| Line 154: | Line 191: | ||
| </ | </ | ||
| + | |||
| + | ==== EDPnet (Fiber) ==== | ||
| + | EDPnet provides Fiber services through PPPoE and VLAN tagging as well. The state monopolist (Proximus) still manages the backbone, as with VDSL, and will install an ONT to which you connect your router of choice (!) directly. | ||
| + | |||
| + | The following works on a [[toh: | ||
| + | |||
| + | < | ||
| + | config device | ||
| + | option name ' | ||
| + | |||
| + | config device | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option vid ' | ||
| + | option name ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | option device ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | </ | ||
| + | |||
| + | If you are using swconfig rather than DSA, the following is an example configuration working on an [[toh: | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | |||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | |||
| + | config switch | ||
| + | option name ' | ||
| + | option reset ' | ||
| + | option enable_vlan ' | ||
| + | |||
| + | config switch_vlan | ||
| + | option device ' | ||
| + | option vlan ' | ||
| + | option ports '2 3 4 5 0t' | ||
| + | |||
| + | config switch_vlan | ||
| + | option device ' | ||
| + | option vlan ' | ||
| + | option ports '1t 6t' | ||
| + | </ | ||
| + | |||
| + | ===== Bosnia and Herzegovina ===== | ||
| + | |||
| + | ==== BH Telecom ==== | ||
| + | BH Telecom provides a combination of Internet, IPTV and VoIP xDSL services via copper twisted pair. | ||
| + | |||
| + | === ADSL2(+) === | ||
| + | The following was tested on TP-Link TD-W8980 OpenWRT v22.03.4, using " | ||
| + | |||
| + | Internet PPPoE over 8/60 ATM bridge | ||
| + | < | ||
| + | config dsl ' | ||
| + | option annex ' | ||
| + | option tone ' | ||
| + | option ds_snr_offset ' | ||
| + | |||
| + | config atm-bridge ' | ||
| + | option encaps ' | ||
| + | option payload ' | ||
| + | option nameprefix ' | ||
| + | option vci ' | ||
| + | option vpi ' | ||
| + | option atmdev ' | ||
| + | option unit ' | ||
| + | |||
| + | config device | ||
| + | option name ' | ||
| + | |||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | </ | ||
| + | |||
| + | IPTV ATM 8/40 bridge | ||
| + | < | ||
| + | # Remove some switch ports from br-lan so they can be used for bridge to IPTV STB device(s) | ||
| + | config device | ||
| + | option name ' | ||
| + | option type ' | ||
| + | list ports ' | ||
| + | list ports ' | ||
| + | option stp ' | ||
| + | option igmp_snooping ' | ||
| + | |||
| + | config atm-bridge | ||
| + | option encaps ' | ||
| + | option payload ' | ||
| + | option nameprefix ' | ||
| + | option vci ' | ||
| + | option vpi ' | ||
| + | option atmdev ' | ||
| + | option unit ' | ||
| + | |||
| + | config device | ||
| + | option name ' | ||
| + | option ipv6 ' | ||
| + | |||
| + | config device | ||
| + | option name ' | ||
| + | option type ' | ||
| + | list ports ' | ||
| + | list ports ' | ||
| + | list ports ' | ||
| + | option multicast ' | ||
| + | option multicast_querier ' | ||
| + | option promisc ' | ||
| + | option ipv6 ' | ||
| + | </ | ||
| + | |||
| + | === VDSL2 === | ||
| + | The following was tested on TP-Link TD-W8980 OpenWRT v22.03.4, using " | ||
| + | |||
| + | The VLAN tagging is as follows: | ||
| + | * Internet: PPPoE over VLAN 100. | ||
| + | * IPTV: Bridge to STB via VLAN 930. | ||
| + | * VoIP: Bridge via uknown VLAN id. | ||
| + | |||
| + | Internet PPPoE VLAN 100 | ||
| + | < | ||
| + | config dsl ' | ||
| + | option line_mode ' | ||
| + | option ds_snr_offset ' | ||
| + | option annex ' | ||
| + | |||
| + | config device | ||
| + | option name ' | ||
| + | |||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | </ | ||
| + | |||
| + | IPTV VLAN 930 | ||
| + | < | ||
| + | # Remove some switch ports from br-lan so they can be used for bridge to IPTV STB device(s) | ||
| + | config device | ||
| + | option name ' | ||
| + | option type ' | ||
| + | option stp ' | ||
| + | option igmp_snooping ' | ||
| + | list ports ' | ||
| + | list ports ' | ||
| + | |||
| + | config device | ||
| + | option name ' | ||
| + | option type ' | ||
| + | list ports ' | ||
| + | list ports ' | ||
| + | list ports ' | ||
| + | option multicast ' | ||
| + | option multicast_querier ' | ||
| + | option promisc ' | ||
| + | option ipv6 ' | ||
| + | </ | ||
| ===== Canada ===== | ===== Canada ===== | ||
| Line 200: | Line 413: | ||
| * [[https:// | * [[https:// | ||
| + | ===== Croatia ===== | ||
| + | |||
| + | ==== Terrakom ==== | ||
| + | |||
| + | Terrakom runs their own FTTH infrastructure and uses PPPoE to connect. Previously they required setting just the username and password, but for recent upgrades they also set the VLAN tag to 905: | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option peerdns ' | ||
| + | option ipv6 ' | ||
| + | option device ' | ||
| + | </ | ||
| + | |||
| + | ==== Instructions to get PPPoE parameters ==== | ||
| + | |||
| + | For the username and password, asking the customer support nicely will do the trick. | ||
| + | |||
| + | To discover the VLAN tag (in case it's not 905 anymore), you need to trick the provided modem into trying to connect with your own PPPoE server. | ||
| + | Here's one way how to do that: | ||
| + | |||
| + | - Prepare a [[https:// | ||
| + | - Download and compile [[https:// | ||
| + | - Open wireshark and start listening on the ethernet port | ||
| + | - Connect the (initially powered down) modem (use the WAN/intenet port) to your computer running Kali Linux via ethernet cable | ||
| + | - Power the modem up and look at the packages sent by the modem, you should see some packages od type pppoed or similar, checking the details should give you the VLAN ID, mac address, service name and other parameters that may be important. | ||
| + | |||
| + | Another way to do this is to use a LAN hub to connect the modem (WAN/ | ||
| + | That way you can see packets for the whole process of establishing a session as exchanged between your modem and the operator infrastructure. | ||
| + | |||
| + | Both of these procedures should really work for any operator using PPPoE. | ||
| + | |||
| + | ===== Cyprus ===== | ||
| + | |||
| + | ==== Epic (VDSL2+) ==== | ||
| + | |||
| + | Epic provides VDSL2+ services through PPPoE and VLAN tagging ('' | ||
| + | |||
| + | Example configuration for AVM FritzBox 7360 V2: | ||
| + | |||
| + | < | ||
| + | config dsl ' | ||
| + | option annex ' | ||
| + | option ds_snr_offset ' | ||
| + | option firmware '/ | ||
| + | option tone ' | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option ifname ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | </ | ||
| + | |||
| + | ==== Cyta (Fiber) ==== | ||
| + | |||
| + | Besides ADSL2+ and VDSL, Cyta provides Fiber services through PPPoE and VLAN tagging ('' | ||
| + | |||
| + | * ONT like Huawei OptiXstar HG8245X6 | ||
| + | * GPON Terminal like Huawei OptiXstar HG8010HV6 and provider' | ||
| + | |||
| + | Example configuration for [[: | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option hostname ' | ||
| + | option device ' | ||
| + | option delegate ' | ||
| + | |||
| + | config device | ||
| + | option name ' | ||
| + | option ipv6 ' | ||
| + | |||
| + | config device | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option vid ' | ||
| + | option name ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | option peerdns ' | ||
| + | list dns ' | ||
| + | option delegate ' | ||
| + | </ | ||
| + | |||
| + | ==== Cablenet (Fiber) ==== | ||
| + | |||
| + | Cablenet most probably is renting Cyta's GPON to provide Fiber services through PPPoE and VLAN tagging ('' | ||
| + | |||
| + | * GPON Terminal like Huawei OptiXstar HG8010HV6 and provider' | ||
| + | |||
| + | As PPPoE '' | ||
| + | |||
| + | Example configuration for [[: | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option hostname ' | ||
| + | option device ' | ||
| + | option delegate ' | ||
| + | |||
| + | config device | ||
| + | option name ' | ||
| + | option ipv6 ' | ||
| + | |||
| + | config device | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option vid ' | ||
| + | option name ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option username '< | ||
| + | option password '< | ||
| + | option ipv6 ' | ||
| + | option peerdns ' | ||
| + | list dns ' | ||
| + | option delegate ' | ||
| + | </ | ||
| + | |||
| + | ==== Primetel (Fiber) ==== | ||
| + | |||
| + | Primetel most probably is renting Cyta's GPON to provide Fiber services through PPPoE and VLAN tagging ('' | ||
| + | |||
| + | * GPON Terminal like Huawei OptiXstar HG8010HV6 and provider' | ||
| + | |||
| + | As PPPoE '' | ||
| + | |||
| + | |||
| + | Example configuration for [[: | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option hostname ' | ||
| + | option device ' | ||
| + | option delegate ' | ||
| + | |||
| + | config device | ||
| + | option name ' | ||
| + | option ipv6 ' | ||
| + | |||
| + | config device | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option vid ' | ||
| + | option name ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option username '< | ||
| + | option password '< | ||
| + | option ipv6 ' | ||
| + | option peerdns ' | ||
| + | list dns ' | ||
| + | option delegate ' | ||
| + | </ | ||
| ===== Czech Republic ===== | ===== Czech Republic ===== | ||
| Line 223: | Line 604: | ||
| | | ||
| config dsl ' | config dsl ' | ||
| - | option annex 'a' | + | option annex 'b' |
| option ds_snr_offset ' | option ds_snr_offset ' | ||
| option line_mode ' | option line_mode ' | ||
| - | option tone 'av' | + | option tone 'bv' |
| + | option xfer_mode 'ptm' | ||
| </ | </ | ||
| Line 263: | Line 645: | ||
| option vid ' | option vid ' | ||
| option ports '6t 0' | option ports '6t 0' | ||
| - | </ | ||
| - | |||
| - | ===== Cyprus ===== | ||
| - | |||
| - | ==== Epic (previously MTN) ==== | ||
| - | |||
| - | ==== VDSL2+ ==== | ||
| - | |||
| - | * Internet: PPPoE over VLAN 35. | ||
| - | |||
| - | | ||
| - | < | ||
| - | config dsl ' | ||
| - | option annex ' | ||
| - | option ds_snr_offset ' | ||
| - | option firmware '/ | ||
| - | option tone ' | ||
| - | config interface ' | ||
| - | option proto ' | ||
| - | option ifname ' | ||
| - | option username ' | ||
| - | option password ' | ||
| </ | </ | ||
| Line 318: | Line 678: | ||
| ==== Bouygues Telecom ==== | ==== Bouygues Telecom ==== | ||
| === FTTH === | === FTTH === | ||
| + | == IPv4 == | ||
| - | You have to use VLAN 100 and spoofing | + | You have to use VLAN 100 and spoof the bbox MAC address. |
| < | < | ||
| + | config device | ||
| + | option name ' | ||
| + | option macaddr ' | ||
| + | |||
| + | config device | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option vid ' | ||
| + | option name ' | ||
| + | option macaddr ' | ||
| + | |||
| config interface ' | config interface ' | ||
| option proto ' | option proto ' | ||
| - | option ifname 'eth0.100' | + | option ifname 'wan.100' |
| option clientid ' | option clientid ' | ||
| option vendorid ' | option vendorid ' | ||
| + | option hostname ' | ||
| option macaddr ' | option macaddr ' | ||
| + | </ | ||
| + | |||
| + | == IPv6 == | ||
| + | you can get a ipv6 /60 prefix with IPv6-PD. | ||
| + | < | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option reqaddress ' | ||
| + | option macaddr ' | ||
| + | option clientid ' | ||
| + | option device ' | ||
| + | option reqprefix ' | ||
| + | option ip6assign ' | ||
| + | list ip6class ' | ||
| + | |||
| + | config interface ' | ||
| + | […] | ||
| + | option ip6assign ' | ||
| + | option delegate ' | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | config dhcp ' | ||
| + | option interface ' | ||
| + | option master ' | ||
| + | option ra ' | ||
| + | option dhcpv6 ' | ||
| + | option ndp ' | ||
| + | |||
| + | config dhcp ' | ||
| + | option interface ' | ||
| + | […] | ||
| + | option ra ' | ||
| + | option dhcpv6 ' | ||
| + | option ndp ' | ||
| + | list ra_flags ' | ||
| + | list ra_flags ' | ||
| + | option ra_default ' | ||
| </ | </ | ||
| Line 528: | Line 939: | ||
| </ | </ | ||
| + | ==== Deutsche Glasfaser ==== | ||
| + | |||
| + | Deutsche Glasfaser locally known as **DG** and in English the **German Fiber** uses IPoE for private customers with the support of **DHCPv4** (RFC 2131) and **DHCPv6** (RFC 8415) for all new connections. | ||
| + | |||
| + | If you are an OpenWrt user means that you are using your own router (Kundeneigener Router) whose WAN interface is connected to the DG's **ONT** (Optical Network Terminal) directly. | ||
| + | |||
| + | The minimal **wan4** and **wan6** configuration needed is shown below. The DG supplies a CG-NAT IPv4 address and a public IPv6 address in addition to the ''/ | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option reqaddress ' | ||
| + | option reqprefix ' | ||
| + | option norelease ' | ||
| + | </ | ||
| + | |||
| + | Note: '' | ||
| + | |||
| + | ==== Vodafone ==== | ||
| + | |||
| + | === FTTH === | ||
| + | |||
| + | / | ||
| + | < | ||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option reqaddress ' | ||
| + | option reqprefix ' | ||
| + | option device ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option peeraddr '::' | ||
| + | option encaplimit ' | ||
| + | </ | ||
| + | |||
| + | / | ||
| + | |||
| + | < | ||
| + | config zone | ||
| + | option name ' | ||
| + | option input ' | ||
| + | option output ' | ||
| + | option forward ' | ||
| + | option masq ' | ||
| + | option mtu_fix ' | ||
| + | list network ' | ||
| + | list network ' | ||
| + | list network ' | ||
| + | </ | ||
| + | |||
| + | ===== Greece ===== | ||
| + | ==== Nova ==== | ||
| + | This ISP is little more involved to set up. Users who wish to use their own CPEs need to get ahold of: | ||
| + | * The PPPoE credentials | ||
| + | * The telephony credentials | ||
| + | |||
| + | This can either be done by formally requesting the credentials from the ISP or by acquiring them from the router that the ISP provides. | ||
| + | |||
| + | The ISP provides internet connectivity on VLAN 835 (PPPoE) and voip telephony on VLAN 837 (DHCP). | ||
| + | |||
| + | For internet access, one must create a VLAN 835 and tag CPU and WAN. Then create a PPPoE interface, bind it on the 835 VLAN device, enter the credentials and enable "Use default gateway" | ||
| + | |||
| + | Example configuration for internet access: | ||
| + | < | ||
| + | config device | ||
| + | option name ' | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option vid ' | ||
| + | |||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | </ | ||
| + | |||
| + | For telephony, one must create a VLAN 837 and tag CPU and WAN. Then create a DHCP interface, bind it on the 837 VLAN, disable "Use default gateway" | ||
| + | |||
| + | Example configuration for telephony: | ||
| + | < | ||
| + | config device | ||
| + | option name ' | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option vid ' | ||
| + | option ipv6 ' | ||
| + | | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option clientid ' | ||
| + | option delegate ' | ||
| + | option defaultroute ' | ||
| + | </ | ||
| + | |||
| + | The DHCP client will fetch the ip and the proper classless routes. | ||
| + | |||
| + | **Make sure you disable Rebind protection. Whitelisting the sip service domain will not suffice.** | ||
| + | |||
| + | **Additionally for this method you have to clone the original routers MAC if using the original credentials** | ||
| + | |||
| + | SIP Configuration: | ||
| + | |||
| + | Depending on whether you have fetched the credentials from the ISP's original router or whether you have applied for a "bring your own device" | ||
| + | |||
| + | * Domain: `sip-voice.forthnet.gr` | ||
| + | * Username: Your phone number (`30xxxxxxxxxx`) | ||
| + | * Password: Your voip password (as fetched from the ISP's router) | ||
| + | * Server: `sip-voice.forthnet.gr` | ||
| + | * Port: `5060` | ||
| + | * SIP Transport: `UDP` | ||
| + | * SIP Address: `30xxxxxxxxxx@sip-voice.forthnet.gr` | ||
| + | * Registry Server: `sip-voice.forthnet.gr` | ||
| + | |||
| + | For the second case the following is what needs to be the client configuration | ||
| + | |||
| + | * Domain: `byod.nova.gr` | ||
| + | * Username: Your phone number (`30xxxxxxxxxx`) | ||
| + | * Password: Your voip password (from the email) | ||
| + | * Server: `byod.nova.gr` | ||
| + | * Port: `5060` | ||
| + | * SIP Transport: `UDP` | ||
| + | * SIP Address: `30xxxxxxxxxx@byod.nova.gr` | ||
| + | * Registry Server: `byod.nova.gr` | ||
| + | * Audio Codec: `PCMA` ONLY | ||
| + | |||
| + | **Caution, the byod.nova.gr domain is only configured on the DNS servers of the telephony VLAN, ** | ||
| + | |||
| + | Alternatively you can do a custom DNS record if you don't want to use the ISP DNS | ||
| + | the IPv4 for byod.nova.gr is 10.50.131.150 | ||
| ===== Ireland ===== | ===== Ireland ===== | ||
| - | === Vodafone SIRO 1G === | + | ==== Vodafone SIRO 1G ==== |
| * igmpproxy need to be installed for TV | * igmpproxy need to be installed for TV | ||
| Line 589: | Line 1145: | ||
| ''/ | ''/ | ||
| + | |||
| < | < | ||
| config igmpproxy | config igmpproxy | ||
| Line 604: | Line 1161: | ||
| option zone lan | option zone lan | ||
| option direction downstream | option direction downstream | ||
| + | </ | ||
| + | |||
| + | ==== Pure Telecom 100Mb SIRO FTTC ==== | ||
| + | |||
| + | < | ||
| + | config atm-bridge ' | ||
| + | option vpi ' | ||
| + | option vci ' | ||
| + | option encaps ' | ||
| + | option payload ' | ||
| + | option nameprefix ' | ||
| + | |||
| + | config dsl ' | ||
| + | option annex ' | ||
| + | option line_mode ' | ||
| + | option ds_snr_offset ' | ||
| + | option xfer_mode ' | ||
| + | |||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | option service ' | ||
| </ | </ | ||
| ===== Italy ===== | ===== Italy ===== | ||
| + | ==== Aruba FTTH ==== | ||
| + | This ISP in Italy is pretty easy to set up, and it is compliant to Italian law about the utilization of your own (compatible) modem/ | ||
| + | The only thig to setup is a PPPoE connection with a 835 VLAN on the WAN port. Note that user and password are not necessary for authentication and can be whatever. | ||
| + | |||
| + | With **OpenWrt 21.02** (with DSA): | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | option device ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option reqaddress ' | ||
| + | option reqprefix ' | ||
| + | option ifname ' | ||
| + | </ | ||
| + | |||
| + | |||
| + | With **OpenWrt 19.07** (with swconfig): | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option ifname ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option reqaddress ' | ||
| + | option reqprefix ' | ||
| + | option ifname ' | ||
| + | </ | ||
| + | |||
| + | ==== TIM ==== | ||
| + | TIM (a.k.a. Telecom Italia) uses the following PPPoE connection settings: [[https:// | ||
| + | VLAN 835 is required on your WAN port. In the following example, the phisical name of WAN interface is ' | ||
| + | |||
| + | Configuration with **OpenWrt 21.02** (with DSA): | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option ifname ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | </ | ||
| + | |||
| ==== Tiscali ==== | ==== Tiscali ==== | ||
| - | Tiscali uses the following ADSL connection settings: [[https:// | + | Tiscali uses the following ADSL PPPoA connection settings: [[https:// |
| - | - Ordered List Item Specify the firmware path in the dsl configuration tab (found in network -> Interfaces -> dsl), which can be found in ''/ | + | - Check if there is a configuration entry that bridges the LAN and the dsl port by accessing the router in its default IP address, then in the LuCi menu " |
| - | - Ordered List Item Check if there is a configuration entry that bridges the LAN and the dsl port by accessing the router | + | - In the tab " |
| - | - Ordered List Item set encapsulation mode = ATM | + | - in the aforementioned tab set tone = auto |
| - | - Ordered List Item set tone = auto | + | - set Encapsulation mode = ATM |
| - | - Ordered List Item set Annex = Annex A G.992.1 | + | - set DSL lne mode = " |
| + | - leave Downstream SNR offset = 0.0db | ||
| + | - leave Firmware File with no entry. | ||
| + | **NOTE**: there`s no need to upload a firmware or specify its path: the DSL connection works even if you leave it blank. | ||
| + | |||
| + | Then, in the " | ||
| + | - Protocol = PPPoATM | ||
| + | - Bring Up on Boot = 1 | ||
| + | - PPPoA Encapsulaltion = VC-Mux | ||
| + | - ATM device number = 0 (leave default) | ||
| + | - VCI = 35 | ||
| + | - VPI = 8 | ||
| + | - PAP/CHAP user = yourISPmail | ||
| + | - PAP/CHAP password = yourPassword | ||
| + | Then, proceeding to " | ||
| + | - Use Built in IPv6 Management = 0 | ||
| + | - Force Link = 1 | ||
| + | - Obtain IPv6-Adress = disabled | ||
| + | - Use Default Gateway = 1 | ||
| + | - Use DNS advertised by Peer = 1 | ||
| + | - leave every other settings to default | ||
| + | **NOTE**: if you want, you can set the "Use DNS advertised by Peer" to disabled: you can enter the IP address of your favorite DNS provider. | ||
| - | Now, you have to create an alias interface for dsl and one interface for LAN access. In the dsl interface | + | Finally, you have to assign |
| - | - Ordered List Item Protocol = PPPoATM | + | |
| - | - Ordered List Item PPPoA encapsulation = VC-Mux | + | |
| - | - Ordered List Item ATM device Number = 0 | + | |
| - | - Ordered List Item ATM VCI: 35 | + | |
| - | - Ordered List Item ATM VPI: 8 | + | |
| - | - Ordered List Item PAP/CHAP user : yourUserName | + | |
| - | - Ordered List Item PAP/CHAP password: YourPassword | + | |
| A sample config should look like in OpenWrt version 19.07: | A sample config should look like in OpenWrt version 19.07: | ||
| Line 633: | Line 1283: | ||
| config globals ' | config globals ' | ||
| - | option ula_prefix ' | ||
| config dsl ' | config dsl ' | ||
| option ds_snr_offset ' | option ds_snr_offset ' | ||
| + | option annex ' | ||
| option xfer_mode ' | option xfer_mode ' | ||
| option line_mode ' | option line_mode ' | ||
| - | option annex ' | ||
| - | option firmware '/ | ||
| config interface ' | config interface ' | ||
| + | option type ' | ||
| option ifname ' | option ifname ' | ||
| option proto ' | option proto ' | ||
| option netmask ' | option netmask ' | ||
| - | option ipaddr ' | + | option ipaddr ' |
| - | option delegate ' | + | |
| - | option force_link '0' | + | |
| config device ' | config device ' | ||
| option name ' | option name ' | ||
| - | option macaddr 'a MAC adress' | + | option macaddr 'XX: |
| - | config | + | config |
| - | option | + | option |
| - | option macaddr 'A MAC adress' | + | |
| - | + | ||
| - | config interface 'dsl01' | + | |
| option proto ' | option proto ' | ||
| option vpi ' | option vpi ' | ||
| option encaps ' | option encaps ' | ||
| option vci ' | option vci ' | ||
| - | option password 'YourPassWord' | + | option password 'YourISPpassword' |
| - | option username 'YourUserName' | + | option username 'YourISPUsername' |
| option atmdev ' | option atmdev ' | ||
| + | option ipv6 ' | ||
| option delegate ' | option delegate ' | ||
| - | list dns 'YourFavouriteDns' | + | option peerdns |
| + | |||
| + | config device ' | ||
| + | option name ' | ||
| + | option macaddr ' | ||
| + | |||
| + | |||
| + | </ | ||
| + | **IMPORTANT**: | ||
| + | |||
| + | ===== Netherlands ===== | ||
| + | |||
| + | ==== KPN FTTH ==== | ||
| + | |||
| + | You can connect the WAN port of your router directly to the fiber termination box delivered by KPN using RJ-45. Internet will be delivered on VLAN 6 using PPPoE. The username/ | ||
| + | |||
| + | This is an example configuration of / | ||
| + | |||
| + | < | ||
| + | config device | ||
| + | option name ' | ||
| + | option mtu ' | ||
| + | |||
| + | config device | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option vid ' | ||
| + | option name ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option mtu '1500' | ||
| option peerdns ' | option peerdns ' | ||
| - | option ipv6 '0' | + | list dns ' |
| + | list dns ' | ||
| + | option ipv6 '1' | ||
| + | option metric '1' | ||
| - | config interface 'DSL_LAN' | + | config interface 'wan6' |
| - | option | + | option |
| + | option device ' | ||
| + | option reqaddress ' | ||
| + | option reqprefix ' | ||
| + | option peerdns ' | ||
| + | list dns ' | ||
| + | list dns ' | ||
| + | option metric ' | ||
| + | </ | ||
| + | |||
| + | ==== KPN: OpenWrt behind the supplied kpn Box 12 modem ==== | ||
| + | |||
| + | If you have the OpenWrt router' | ||
| + | |||
| + | Don't get sad, though! You can set up the kpn Box 12 so that OpenWrt can automatically expose all ports through the NAT and also get IPv6 addresses for all your devices, without the modem or its firewall getting in your way. | ||
| + | |||
| + | WARNING: This configuration will expose other devices you directly connect to the modem to the internet without any firewall! This won't be a problem if you connect other devices via your OpenWrt router. | ||
| + | Especially IPv6-enabled devices would be at risk, as the following modem configuration allows any IPv6 device connected to it to expose any port to the internet. IPv4 devices will be stuck behind NAT, and all NAT ports will be reserved for the OpenWrt router. | ||
| + | |||
| + | If you use a custom DNS on your computer, consider finding out the IP address of your KPN modem, which can be done by logging into your OpenWrt router -> '' | ||
| + | You can add this IP address to your computer' | ||
| + | < | ||
| + | 192.168.2.254 | ||
| + | </ | ||
| + | where you replace '' | ||
| + | |||
| + | Now you can go into your modem' | ||
| + | - Log into the modem. | ||
| + | - If this is the first time logging into the modem, it's going to ask you to change the admin password. DO NOT AT ANY TIME click outside this dialog or cancel, as doing so will soft-brick your modem! If you do soft-brick it, either call KPN, or use a needle to push the reset switch on the device. | ||
| + | - Log back into the modem using the new password. | ||
| + | - Click '' | ||
| + | - Go to the '' | ||
| + | - Scroll down and click '' | ||
| + | - Select your OpenWrt router' | ||
| + | - Enter a simple IP address within the DHCP range, for example '' | ||
| + | - Click '' | ||
| + | - Go back to the home page by clicking the kpn logo in the top left. | ||
| + | - Click '' | ||
| + | - Go to the '' | ||
| + | - Set '' | ||
| + | - Set '' | ||
| + | - Leave '' | ||
| + | - Turn on the '' | ||
| + | - Click '' | ||
| + | - Now go to the '' | ||
| + | - Turn on the '' | ||
| + | - Select your OpenWrt router from the MAC address dropdown menu. | ||
| + | - Your OpenWrt router' | ||
| + | - Click '' | ||
| + | |||
| + | Now that we're done with the modem, we can set up OpenWrt. | ||
| + | Here's the important snippet from ''/ | ||
| + | < | ||
| + | config interface ' | ||
| + | option device ' | ||
| option proto ' | option proto ' | ||
| + | option ipaddr ' | ||
| option netmask ' | option netmask ' | ||
| - | option | + | option |
| - | option force_link ' | + | |
| - | option ipaddr ' | + | |
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option hostname ' | ||
| + | option peerdns ' | ||
| + | list dns ' | ||
| + | list dns ' | ||
| + | |||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option reqaddress ' | ||
| + | option reqprefix ' | ||
| + | option peerdns ' | ||
| + | list dns ' | ||
| + | list dns ' | ||
| </ | </ | ||
| - | ===== Netherlands ===== | + | Note that OpenWrt can't get a prefix through Prefix Delegation, so you may disable it. It's there in the hopes that KPN someday adds Prefix Delegation support to the kpn Box 12, which would greatly simplify the configuration. |
| - | ==== Many ISP' | + | Until KPN fixes this issue, we must relay DHCPv6, RA, and NDP with the following ''/ |
| + | < | ||
| + | config dhcp ' | ||
| + | option interface ' | ||
| + | option start ' | ||
| + | option limit ' | ||
| + | option leasetime ' | ||
| + | option dhcpv4 ' | ||
| + | option dhcpv6 ' | ||
| + | option ra ' | ||
| + | option ndp ' | ||
| + | |||
| + | config dhcp ' | ||
| + | option interface ' | ||
| + | option master ' | ||
| + | option ra ' | ||
| + | option dhcpv6 ' | ||
| + | option ndp ' | ||
| + | </ | ||
| + | The important thing to take away from this config is that we essentially set up '' | ||
| + | |||
| + | And now you should have a proper internet connection again, like you would expect after installing OpenWrt appliances in your network. The kpn Box 12 inserts a '': | ||
| + | |||
| + | ==== Many ISPs ==== | ||
| Many DSL and Fiber ISPs use these settings. At least Telfort, Oxxio and Tweak use these. KPN, XS4ALL and Ziggo don't. | Many DSL and Fiber ISPs use these settings. At least Telfort, Oxxio and Tweak use these. KPN, XS4ALL and Ziggo don't. | ||
| Tweak [[https:// | Tweak [[https:// | ||
| Line 769: | Line 1543: | ||
| === IPTV === | === IPTV === | ||
| - | If you use TV, in the old setup (before March 2019) you could just bridge VLAN4 to your STBs (the black receivers provided by XS4ALL). This is called bridged mode. | + | If you use TV, in the old setup (before March 2019) you could just bridge VLAN4 to your STBs (the black receivers provided by XS4ALL): this is called bridged mode. Since March 2019, bridged mode is no longer provided and instead, routed mode has to be setup. |
| For this to work, you need to install igmpproxy. | For this to work, you need to install igmpproxy. | ||
| Line 853: | Line 1627: | ||
| Once you applied all this, ensure you got a 10.200.x.y IP address on the iptv interface. Check with '' | Once you applied all this, ensure you got a 10.200.x.y IP address on the iptv interface. Check with '' | ||
| + | |||
| + | ==== KPN FTTH via LuCi ==== | ||
| + | |||
| + | - open Network -> Interfaces | ||
| + | - edit your WAN device | ||
| + | - change Protocol to PPPoE then click on the button Switch protocol | ||
| + | - open the Device combo box and type ' | ||
| + | - enter PPP/CHAP username ' | ||
| + | - hit Save | ||
| + | - in the Devices tab change the MAC address of eth0.6 to match your KPN router MAC address (this might be optional) | ||
| + | - hit Save& | ||
| + | - if the WAN interface is in error state then reboot the modem | ||
| + | |||
| + | The WAN MTU will be 1492, don't try to change it, no other values work. | ||
| + | A WAN_6 virtual dynamic interface will appear upon successful connection; you can delete any other WAN device and reset any other unused eth0 virtual device. | ||
| + | |||
| + | ==== Ziggo ==== | ||
| + | |||
| + | First put the modem in bridge mode (disabled routing options) via [[https:// | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option hostname ' | ||
| + | option peerdns ' | ||
| + | list dns ' | ||
| + | list dns ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option reqaddress ' | ||
| + | option reqprefix ' | ||
| + | option peerdns ' | ||
| + | list dns ' | ||
| + | list dns ' | ||
| + | </ | ||
| + | |||
| + | Remove the ' | ||
| + | |||
| + | ===== New Zealand ===== | ||
| + | ==== Slingshot Fibre ==== | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option hostname ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option reqaddress ' | ||
| + | option reqprefix ' | ||
| + | |||
| + | config device | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option vid ' | ||
| + | option name ' | ||
| + | </ | ||
| + | |||
| ===== Portugal ===== | ===== Portugal ===== | ||
| Line 889: | Line 1726: | ||
| option target ' | option target ' | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ===== Slovakia ===== | ||
| + | |||
| + | ==== Orange Slovensko ==== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | === FTTH (Fiber) === | ||
| + | Orange Slovensko uses the same IPv6 /64 prefix delegation method as AT&T does. | ||
| + | |||
| + | At the present moment (August 2022) there is no known way to get a /60 or /62 IPv6 prefix delegated from the LAN port of the operator' | ||
| + | |||
| + | Initial discussion and working OpenWrt configuration with the Orange Slovensko CPE device can be found in this post: [[https:// | ||
| + | |||
| + | Сonfiguration details are similar to the [[: | ||
| + | all the ' | ||
| + | |||
| + | |||
| + | ===== Spain ===== | ||
| + | |||
| + | ==== DIGI ==== | ||
| + | |||
| + | DIGI uses PPPoE for FTTH connections, | ||
| + | |||
| + | === FTTH (Fiber) === | ||
| + | These settings are over a DSA switch and then over swconfig. You just need to, set VLAN 20 over WAN port and then configure the VLAN in the wan interface with PPPoE and the authentication data provided by technical support. No need to clone MAC address. | ||
| + | |||
| + | == DSA: == | ||
| + | Just set a VLAN 20 device over the wan port and then set the device for wan interface with the PPPoE authentication data. | ||
| + | < | ||
| + | config device | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option vid ' | ||
| + | option name ' | ||
| + | |||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | |||
| + | </ | ||
| + | |||
| + | With ipv6 auto a virtual interface wan_6 is spawned. If you want to rename it to wan6 or configure specific settings there is a way but out of scope in this page so you can refer to [[: | ||
| + | |||
| + | == swconfig: == | ||
| + | You must check the switch name and also the eth# you have for the wan port, in this example switch0 and eth0: | ||
| + | < | ||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | |||
| + | config switch_vlan | ||
| + | option device ' | ||
| + | option vlan ' | ||
| + | option ports '1t 6t' | ||
| + | option vid ' | ||
| + | |||
| + | </ | ||
| + | |||
| + | With ipv6 auto a virtual interface wan_6 is spawned. If you want to rename it to wan6 or configure specific settings there is a way but out of scope in this page so you can refer to [[: | ||
| + | |||
| + | |||
| + | ==== Vodafone ==== | ||
| + | WIP: Vodafone doesn' | ||
| Line 909: | Line 1817: | ||
| option username ' | option username ' | ||
| option password ' | option password ' | ||
| - | option mtu ' | ||
| option ifname ' | option ifname ' | ||
| Line 932: | Line 1839: | ||
| option username ' | option username ' | ||
| option password ' | option password ' | ||
| - | option mtu ' | ||
| option ifname ' | option ifname ' | ||
| </ | </ | ||
| + | ==== Turk Telekom ==== | ||
| + | Turk Telekom (a major ISP in Turkey, also known with the name TTNET) provides FTTH and FTTB services through PPPoE with VLAN tagging. You can ask customer support for your PPPoE username and password. | ||
| + | VLAN tagging is usually as follows: | ||
| + | * VoIP: VLAN 46 | ||
| + | * Internet: PPPoE over VLAN 35 | ||
| + | * IPTV: VLAN 55 for [[https:// | ||
| + | A sample config should look like on OpenWrt 21.02 (with DSA): | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | |||
| + | config device | ||
| + | option name ' | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option vid ' | ||
| + | </ | ||
| + | |||
| + | ==== Turkcell Superonline ==== | ||
| + | Turkcell Superonline provides FTTH and FTTB services through PPPoE with VLAN tagging. In addition, you have to spoof the WAN MAC address of the stock router. | ||
| + | |||
| + | VLAN tagging is usually as follows: | ||
| + | |||
| + | * Internet: PPPoE (They only allow registered MAC addresses to authenticate with PPPoE. So you need to clone the WAN MAC address of the stock router) | ||
| + | * IPTV: VLAN 103 (Priority 4) for [[https:// | ||
| + | |||
| + | A basic WAN config should look like on OpenWrt 21.02 and up w/ DSA: | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | option peerdns ' | ||
| + | list dns ' | ||
| + | list dns ' | ||
| + | |||
| + | config device | ||
| + | option name ' | ||
| + | option macaddr ' | ||
| + | </ | ||
| + | |||
| + | **Note:** Turkcell Superonline does not share PPPoE credentials with you. So you have to capture them yourself from the stock router first. | ||
| + | |||
| + | ==== Turksat Kablonet ==== | ||
| + | |||
| + | Kablonet uses DHCP for Docsis and PPPoE for FTTH services. | ||
| + | |||
| + | Basic WAN configs should look like: | ||
| + | === DOCSIS === | ||
| + | < | ||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option ipv6 ' | ||
| + | option peerdns ' | ||
| + | option dns ' | ||
| + | option dns ' | ||
| + | </ | ||
| + | === FTTH === | ||
| + | < | ||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | option peerdns ' | ||
| + | option dns ' | ||
| + | option dns ' | ||
| + | </ | ||
| + | **Note(FTTH): | ||
| + | |||
| + | **Note2(FTTH): | ||
| ===== United Kingdom ===== | ===== United Kingdom ===== | ||
| - | The information below is reproduced from the ' | + | The information below is reproduced from the '1-OpenWrt/ |
| - | [[https:// | + | [[https:// |
| - | [[https:// | + | |
| Line 1015: | Line 2001: | ||
| * PTM (Packet Transfer Mode) | * PTM (Packet Transfer Mode) | ||
| * Annex B, Tone A | * Annex B, Tone A | ||
| - | * VLAN 101 | + | * VLAN 101 (GEA lines use VLAN 2 for voice) |
| + | |||
| + | [[https:// | ||
| + | |||
| + | IPv6 is supported but disabled by default. Once a line goes active, you will need to enable IPv6 within the Aquiss ebilling area and wait for a prefix to be assigned. | ||
| + | < | ||
| + | config dsl ' | ||
| + | option annex ' | ||
| + | option tone ' | ||
| + | |||
| + | config interface ' | ||
| + | option ifname ' | ||
| + | # option ifname ' | ||
| + | option proto ' | ||
| + | option ipv6 ' | ||
| + | option mtu ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | </ | ||
| [[https:// | [[https:// | ||
| Line 1032: | Line 2036: | ||
| option username ' | option username ' | ||
| option password ' ' # Apparently requires any non-empty password such as a space character or ' | option password ' ' # Apparently requires any non-empty password such as a space character or ' | ||
| + | </ | ||
| + | For 22.03.X/ | ||
| + | < | ||
| + | config atm-bridge ' | ||
| + | option vpi ' | ||
| + | option vci ' | ||
| + | option encaps ' | ||
| + | option payload ' | ||
| + | option nameprefix ' | ||
| + | |||
| + | config dsl ' | ||
| + | option annex ' | ||
| + | option tone ' | ||
| + | option ds_snr_offset ' | ||
| + | option xfer_mode ' | ||
| + | option line_mode ' | ||
| + | |||
| + | config device | ||
| + | option name ' | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option vid ' | ||
| + | |||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option username ' | ||
| + | option password ' | ||
| + | option ipv6 ' | ||
| + | option multicast ' | ||
| + | | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option reqaddress ' | ||
| + | option reqprefix ' | ||
| + | option ifname ' | ||
| </ | </ | ||
| Line 1046: | Line 2086: | ||
| option proto ' | option proto ' | ||
| option ipv6 ' | option ipv6 ' | ||
| - | option mtu ' | ||
| option username ' | option username ' | ||
| option password ' | option password ' | ||
| Line 1052: | Line 2091: | ||
| - | [[https://www.shellenergy.co.uk/ | + | [[http:// |
| < | < | ||
| Line 1126: | Line 2165: | ||
| option proto ' | option proto ' | ||
| option ipv6 ' | option ipv6 ' | ||
| - | option mtu ' | ||
| option username ' | option username ' | ||
| #option username ' | #option username ' | ||
| Line 1150: | Line 2188: | ||
| </ | </ | ||
| - | ====== General xDSL configuration (step by step) ====== | + | ==== Fibre Optic ==== |
| + | |||
| + | === Openreach Full Fibre (FTTP) === | ||
| + | |||
| + | Openreach (a subsidiary owned by BT plc) provides fibre optic broadband to the home, [[https:// | ||
| + | |||
| + | == Aquiss == | ||
| + | |||
| + | Aquiss uses PPPoE and DHCPv6. A standard PPPoE network interface with your Aquiss abb-xxxxxx@aquiss.com and password should get you connected with your IPv4 address. IPv6 (if enabled) will be automatically configured by a virtual interface with Obtain IPv6 address set to Automatic. You can alternatively set this to manual and create your own alias interface if required. | ||
| + | |||
| + | IPv6 must be enabled on the broadband line within the Aquiss ebilling system with a prefix delegated before configuring IPv6. | ||
| + | |||
| + | === Alternative networks === | ||
| + | |||
| + | Outside of Openreach other connection providers in the UK are referred to as alternative networks (alt-nets), these include: | ||
| + | |||
| + | * City Fibre | ||
| + | * Community Fibre | ||
| + | * HyperOptic | ||
| + | * Giganet | ||
| + | * Virgin Media (Uses both HFC and FTTP in some areas with DOCSIS) | ||
| + | |||
| + | == City Fibre == | ||
| + | |||
| + | City Fibre provide fibre networks to business and residential customers, with selected ISPs reselling the connection to end users. These include ISPs such as Vodafone, Giganet, TalkTalk and Zen Internet. | ||
| + | |||
| + | VLAN: all traffic on the CityFibre network must be tagged as VLAN 911 or traffic will not flow. | ||
| + | |||
| + | == Giganet == | ||
| + | |||
| + | Giganet are a CityFibre and BT Openreach fibre reseller. They provide IPv4 and IPv6 connectivity to business and residential customers. They provide a static IPv4 address and a static IPv6 router address, with a /48 prefix for the client' | ||
| + | |||
| + | DHCPv6 is used to IPv6 prefix delegation, but the IPv6 prefix must be released by the router before the prefix will be issued again to either the same router or to another router. If this doesn' | ||
| + | |||
| + | == Gigabit Networks == | ||
| + | Gigabit networks provide residential broadband through Cityfibre. They operate CGNat and operate a DHCP based service. Their requirements web pag is here: [[https:// | ||
| + | |||
| + | These are a set of working steps with a Belkin RT3200. | ||
| + | * WAN VLAN tagging on the appropriate VLAN | ||
| + | * Disabled IPv6 | ||
| + | * No hostname required. | ||
| + | * Contact their support and ask for "Clear the DHCP Binding process for the ONT interface." | ||
| + | |||
| + | |||
| + | == Community Fibre == | ||
| + | |||
| + | The Adtran ONT connects to any DHCP enabled router. Recommended to spoof the MAC of your router so it follows the provider one. | ||
| + | |||
| + | |||
| + | |||
| + | ===== United States ===== | ||
| + | |||
| + | ==== AT&T ==== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | === Fiber === | ||
| + | |||
| + | These settings based on this post [[https:// | ||
| + | |||
| + | AT&T Fiber connectivity with OpenWrt is most easily achieved via setting the AT&T gateway device into "IP passthrough" | ||
| + | |||
| + | Additionally, | ||
| + | |||
| + | By default, AT&T enables IPv6 connectivity, | ||
| + | |||
| + | In order to achieve the goal of requesting the additional /64 subnets from the PD, a separate /64 PD request must be sent to the AT&T gateway device, with a unique MAC address, for each /64 you wish to obtain. To meet this objective with odhcp6c, you need to create additional devices and interfaces stemming from the OpenWrt WAN interface. This requires **kmod-macvlan**: | ||
| + | |||
| + | < | ||
| + | opkg update && opkg install kmod-macvlan | ||
| + | </ | ||
| + | |||
| + | With kmod-macvlan installed, in your / | ||
| + | |||
| + | //Note: The ' | ||
| + | |||
| + | < | ||
| + | config device ' | ||
| + | option name ' | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option macaddr ' | ||
| + | |||
| + | config device ' | ||
| + | option name ' | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option macaddr ' | ||
| + | |||
| + | config device ' | ||
| + | option name ' | ||
| + | option type ' | ||
| + | option ifname ' | ||
| + | option macaddr ' | ||
| + | </ | ||
| + | |||
| + | The next step is to create a corresponding interface for each of the newly added devices. Again, in this example we are creating three where one is for ' | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option peerdns ' | ||
| + | option device ' | ||
| + | option reqprefix ' | ||
| + | option reqaddress ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option reqprefix ' | ||
| + | option peerdns ' | ||
| + | option reqaddress ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option reqaddress ' | ||
| + | option reqprefix ' | ||
| + | option peerdns ' | ||
| + | </ | ||
| + | |||
| + | Finally, each of the client subnet interfaces needs to be set to hand out IPv6 addresses from its corresponding WAN6* IPv6 pool. This is achieved by using the //list ip6class// setting and //option ip6assign// option for a client facing interface in / | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option netmask ' | ||
| + | option ipaddr ' | ||
| + | option device ' | ||
| + | list ip6class ' | ||
| + | option ip6assign ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option netmask ' | ||
| + | option ipaddr ' | ||
| + | option device ' | ||
| + | list ip6class ' | ||
| + | option ip6assign ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option netmask ' | ||
| + | option ipaddr ' | ||
| + | option device ' | ||
| + | list ip6class ' | ||
| + | option ip6assign ' | ||
| + | </ | ||
| + | |||
| + | Bonus step: Because you no longer will be assigning addresses based on your WAN interface' | ||
| + | |||
| + | < | ||
| + | option reqprefix ' | ||
| + | </ | ||
| + | |||
| + | Your WAN interface will still request a usable IPv6 (SLAAC) address from the AT&T gateway for OpenWrt purposes. | ||
| + | |||
| + | ===== General xDSL configuration (step by step) ===== | ||
| - Connect to box:< | - Connect to box:< | ||
| Line 1156: | Line 2351: | ||
| cd / | cd / | ||
| ls | ls | ||
| - | bspatch lantiq-vrx200-a.bin firmware-b.bin lantiq-vrx200-a-to-b.bspatch</ | + | bspatch lantiq-vrx200-a.bin firmware-b.bin lantiq-vrx200-a-to-b.bspatch</ |
| + | option annex ' | ||
| - set Annex:< | - set Annex:< | ||
| vi / | vi / | ||