Wiki DE Start in the browser

Wiki › Devices

Home router (CPE)

The provider’s device for the home: modem, router with NAT, DHCP server and small switch in one box.

See an example
See demo

What for

At home there is rarely a separate modem, router and switch. The provider supplies a home router (CPE, customer premises equipment) that combines everything:

PartTask
Modemaccess line (cable, fibre, VDSL) to the provider
Router with NATall devices appear on the internet under one public address
DHCP serverassigns addresses in the home network (default 192.168.1.100–199)
Switchfour LAN ports in the same network

Setting up

Usually only the WAN address and the provider’s gateway need to be entered. Out of the box the box has 192.168.1.1/24 in the LAN. Port forwarding, DHCP range and routes are under “Advanced …”. With IPv6 the box can tunnel IPv4 through the provider’s IPv6 network using DS-Lite.

What you learn from it

The home router shows that a “router” in everyday life is a bundle of functions. The demo “Internet box (CPE) on cable” takes it apart: line setup, DHCP in the home network, NAT on the WAN.

How to do it in leyoNET

The same text as in the app’s help (F1 key).

Internet box (CPE)

The internet box (CPE, customer premises equipment) is the device the provider installs at home. It combines modem, router, NAT, DHCP server and a small switch:

  • WAN: access line to the provider (cable, fibre, VDSL … or Ethernet). With an access technology it first sets up the line (Access lines).
  • LAN 1–4: one shared network, factory default 192.168.1.1/24. Computers get their address via DHCP (192.168.1.100–199).
  • NAT: all computers appear on the internet with the WAN address (NAT/PAT).

You only enter the WAN address and the provider's gateway. Everything else (DHCP range, port forwarding, routes) is under «Advanced …».

See an example

  • Demo “Internet box (CPE) on cable” in leyoNETDemo “Internet box (CPE) on cable” in leyoNET
    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.

    Watch live Project file

“Watch live” opens the network in leyoNET, the simulation runs in a loop. In the app you find it under File → Demo networks, with a step-by-step tour.

Practise

  • ★★☆☆☆ Connecting the internet box · 2 goals · Worksheet (German)

In leyoNET under Tools → Exercise catalogue. Every exercise checks itself.

Read on

Found a mistake or have an idea? Source of this page on GitHub.