What for
The “Internet” device replaces everything behind the connection: the provider with its routers and the rest of the internet. It routes between its interfaces like a router and behaves like a real provider: it does not forward private addresses (RFC 1918). Anyone who wants to reach the internet therefore needs NAT and PAT.
Interfaces and addresses
Every interface of the provider leads to a customer, usually with a small transit network (/30): one address for the provider, one for the customer. Public example addresses come from the documentation networks according to RFC 5737 (192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24).
Special functions
- CGNAT: the provider gives customers addresses from 100.64.0.0/10 and translates once more itself because public IPv4 addresses are scarce (NAT and PAT).
- AFTR for DS-Lite: it receives IPv4 in the IPv6 tunnel and translates it (DS-Lite).
- Provider for the class network: in the teacher’s infrastructure an internet device is the connection point of all sites (Class network in the classroom).
How to do it in leyoNET
The same text as in the app’s help (F1 key).
Internet
Represents the provider and the rest of the Internet: public addresses, a DNS server and websites like example.com. The provider can give customers Carrier-grade NAT addresses.
Practise
- ★★★☆☆ To the Internet with NAT · 2 goals · Worksheet (German)
- ★★★★☆ Web server with its own public address · 2 goals · Worksheet (German)
In leyoNET under Tools → Exercise catalogue. Every exercise checks itself.