Between the house and the provider lies the “last mile”. Depending on the location it is a coax cable of the cable network, a fibre, the old telephone line or radio. Each technology sets up the connection differently; the modem (or the home router) takes care of it.
Technology
Line
Setup sequence
DOCSIS 3.1 (cable)
coax
search channel, ranging, DHCP and configuration file via TFTP, registration
GPON (fibre)
fibre, passively shared
report serial number, receive ONU ID, ranging, configuration (OMCI)
VDSL2, ADSL2+
telephone line
training (handshake), then PPPoE with login
LTE (mobile)
radio
connection to the cell, registration with SIM, bearer with IP address
Shared media
With cable and GPON many customers share the same medium. Therefore every modem must register and is assigned transmission times (ranging: the delay is measured so the signals do not overlap). DSL on the other hand is a separate line to the exchange, but its speed depends strongly on the length.
In leyoNET
The setup steps appear as frames of their own in the packet list. IP traffic only flows once the modem reports “online”. Attenuation, distance and bandwidth are not simulated. In the showcase three technologies run side by side: fibre in Zurich, cable in Bern, VDSL in Basel.
How to do it in leyoNET
The same text as in the app’s help (F1 key).
Access lines
The modem sets up the line to the provider according to its standard:
Cable (DOCSIS): channel scan, ranging, config via TFTP, registration
Fibre (GPON): serial number, ONU ID via PLOAM, config via OMCI
Mobile (LTE): RRC, attach with SIM, bearer with IP
ADSL/VDSL: training (G.hs), then PPPoE and PPP with user and password
Only then do IP packets flow.
See an example
Internet box (CPE) on cable
Two computers on an internet box with cable modem, NAT and DHCP.
First the box brings up the DOCSIS line, the computers get an address via DHCP, then the notebook loads a web page from the internet.
The leyoNET showcase: three data centres and an office, connected via IPsec. Zurich is built in three tiers (core, distribution, access), Bern with combined core and distribution, Basel as a collapsed core; everything redundant with port channels (LACP) and Rapid Spanning Tree, mounted in racks with VLAN colours. The Lucerne office is connected via mobile broadband and shows everyday use: firewall with zones, PoE switch, IP phones on the PBX in Zurich (QoS), camera, WLAN and DHCP. Central services: DNS, PBX, syslog and a load balancer in front of two web servers in Zurich, mail in Bern.
In a loop: Zurich pings Bern through the tunnel, phone 401 calls 402 (via the PBX in Zurich), monitoring opens the web page in Basel, PC Anna and PC Ben open web.zuerich (the load balancer spreads them over two web servers), a notebook on the WLAN pings the mail server, Anna sends Ben an e-mail, Bern queries DNS, Basel pings monitoring.
ITU-T G.993.2 – Very high speed digital subscriber line transceivers 2 (VDSL2)
ITU-T G.992.5 – Asymmetric digital subscriber line 2 transceivers – Extended bandwidth ADSL2 (ADSL2plus)
ITU-T G.994.1 – Handshake procedures for digital subscriber line transceivers
Read on
ModemHandles the access line: cable (DOCSIS), fibre (GPON), VDSL, ADSL or mobile – routing happens behind it.
Home router (CPE)The provider’s device for the home: modem, router with NAT, DHCP server and small switch in one box.
Serial lines: HDLC, PPP and PPPoEPoint-to-point links between routers without ARP, the encapsulation HDLC or PPP with LCP and IPCP, and PPPoE with DSL.
Cables, fibre and radioTwisted pair, fibre with SFP modules, coax, telephone line, radio and serial – which medium for what and how to recognise it in leyoNET.