prefix_delegation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
prefix_delegation [2022/08/06 16:31] – [IPv6 prefix delegation and subnetting] bent | prefix_delegation [2022/08/08 16:07] (current) – bent | ||
---|---|---|---|
Line 2: | Line 2: | ||
Subnetting is one of the tools you can use as part of segmenting a LAN in e.g a DMZ, a subnet for IoT devices etc. In this note I'll explain how I did it in IPv6 using [[https:// | Subnetting is one of the tools you can use as part of segmenting a LAN in e.g a DMZ, a subnet for IoT devices etc. In this note I'll explain how I did it in IPv6 using [[https:// | ||
- | I took this opportunity to learn more about it. I set up the following test network using VirtualBox: (main router is a real host; the virtual hosts (Net0, | + | I took this opportunity to learn more about it. I set up the following test network using VirtualBox: (main router is a real host that runs Gentoo; the virtual hosts (Net0, |
{{: | {{: | ||
Line 8: | Line 8: | ||
My ISP has given me a /48 delegation as per RIPE recommendation. I want to subdivide this so that the first level subnets attached to my LAN (' | My ISP has given me a /48 delegation as per RIPE recommendation. I want to subdivide this so that the first level subnets attached to my LAN (' | ||
- | My initial intention was do do all of it using [[https:// | + | My initial intention was to do all of it using [[https:// |
In the following I'll treat the routers one by and and highlight what is essential to get **this** | In the following I'll treat the routers one by and and highlight what is essential to get **this** | ||
Line 15: | Line 15: | ||
===== Main router (Rm) ===== | ===== Main router (Rm) ===== | ||
- | The main router is a physical host that runs Gentoo. Its network interfaces are all configured using networkd. It provides DHCP service to the LAN and forwards requests from the Internet to the appropriate servers on the LAN. | + | The main router is a physical host. Its network interfaces are all configured using networkd. It provides DHCP service to the LAN and forwards requests from the Internet to the appropriate servers on the LAN. |
It receives a /48 prefix from the ISP and is configured to delegate /56 prefixes to requesting routers on the LAN if so asked. The DHCP6 server is configured to delegate prefixes in the range 1 to f (2001: | It receives a /48 prefix from the ISP and is configured to delegate /56 prefixes to requesting routers on the LAN if so asked. The DHCP6 server is configured to delegate prefixes in the range 1 to f (2001: |
prefix_delegation.1659803502.txt.gz · Last modified: 2022/08/06 16:31 by bent