Linux Debian router connected to the Livebox5 (DMZ for IPv4) with connection ASN 3215 Orange S.A. in Valdeblore (FR), France (UTC+1). All traffic passes through this machine (except the TV box).
IPv4 Public address : 90.116.205.63/32
IPv6 GUA Network : 2a01:cb1d:813:4a00:0000:0000:0000:0000/56
IPv6 GUA Network range : 2a01:cb1d:813:4a00:0000:0000:0000:0000-2a01:cb1d:813:4aff:ffff:ffff:ffff:ffff
IPv6 GUA Network : 2a01:cb1d:813:4a00:0000:0000:0000:0000/64
IPv6 GUA Network range : 2a01:cb1d:813:4a00:0000:0000:0000:0000-2a01:cb1d:813:4a00:ffff:ffff:ffff:ffff
Orange_FR assigns me an IPv6 address of type IPv6::/56 for my home internet connection, with default access to the first IPv6::/64 block without delegation to a local NS server to configure reverse DNS - with the possibility of activating multiple IPv6::/64 blocks.
IPv6 SLA Network : fec1::/16
IPv6 SLA Network range : fec1:0000:0000:0000:0000:0000:0000:0000-fec1:ffff:ffff:ffff:ffff:ffff:ffff:ffff
/ infos /
Ethernet Interfaces :
root@gate:~ # lshw -C network
*-network:0
description: Ethernet interface
produit: NetXtreme II BCM57810 10 Gigabit Ethernet
fabriquant: Broadcom Inc. and subsidiaries
identifiant matériel: 0
information bus: pci@0000:01:00.0
nom logique: enp1s0f0
version: 10
numéro de série: 98:b7:85:20:46:e0
taille: 10Gbit/s
capacité: 10Gbit/s
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm vpd msi msix pciexpress bus_master cap_list rom ethernet physical fibre 1000bt-fd 10000bt-fd
configuration: autonegotiation=off broadcast=yes driver=bnx2x driverversion=6.1.0-30-amd64 duplex=full firmware=7.13b.4.1c bc 7.13.75 latency=0 link=yes multicast=yes speed=10Gbit/s
ressources: irq:16 mémoire:fd000000-fd7fffff mémoire:fc800000-fcffffff mémoire:fdef0000-fdefffff mémoire:fe880000-fe8fffff
*-network:1
description: Ethernet interface
produit: NetXtreme II BCM57810 10 Gigabit Ethernet
fabriquant: Broadcom Inc. and subsidiaries
identifiant matériel: 0.1
information bus: pci@0000:01:00.1
nom logique: enp1s0f1
version: 10
numéro de série: 98:b7:85:20:46:e1
taille: 10Gbit/s
capacité: 10Gbit/s
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm vpd msi msix pciexpress bus_master cap_list rom ethernet physical fibre 1000bt-fd 10000bt-fd
configuration: autonegotiation=off broadcast=yes driver=bnx2x driverversion=6.1.0-30-amd64 duplex=full firmware=7.13b.4.1c bc 7.13.75 latency=0 link=yes multicast=yes port=fibre speed=10Gbit/s
ressources: irq:17 mémoire:fc000000-fc7fffff mémoire:fb800000-fbffffff mémoire:fdee0000-fdeeffff mémoire:fe800000-fe87ffff
*-network
description: Ethernet interface
produit: RTL8125 2.5GbE Controller
fabriquant: Realtek Semiconductor Co., Ltd.
identifiant matériel: 0
information bus: pci@0000:04:00.0
nom logique: enp4s0
version: 05
numéro de série: 00:e0:4c:2a:03:f4
taille: 1Gbit/s
capacité: 1Gbit/s
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.1.0-30-amd64 duplex=full firmware=rtl8125b-2_0.0.2 07/13/20 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
ressources: irq:19 portE/S:c800(taille=256) mémoire:fe9f0000-fe9fffff mémoire:fe9ec000-fe9effff
*-network
description: Ethernet interface
produit: RTL8125 2.5GbE Controller
fabriquant: Realtek Semiconductor Co., Ltd.
identifiant matériel: 0
information bus: pci@0000:05:00.0
nom logique: enp5s0
version: 05
numéro de série: 00:e0:4c:2a:03:f5
capacité: 1Gbit/s
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.1.0-30-amd64 firmware=rtl8125b-2_0.0.2 07/13/20 latency=0 link=no multicast=yes port=twisted pair
ressources: irq:19 portE/S:d800(taille=256) mémoire:feaf0000-feafffff mémoire:feaec000-feaeffff
root@gate:~ # brctl show bridge name bridge id STP enabled interfaces lanbr0 8000.eaa1ead7899a no enp1s0f0 netbr0 8000.768478e541f1 no enp4s0 srvbr0 8000.7e18ddbb3f7d no enp1s0f1 wlanbr0 8000.ea5168b1130e no enp5s0
netbr0 : 2a01:cb1d:813:4a00::1/64 - Input IPv6 Address GUA.
2a01:cb1d:813:4a00:0bee:eeff:00ca:feee/104 - Ouput IPv6 Address GUA for Unique Local Addressess (ULA).
fc01::192:168:1:254/112 - fe80::7484:78ff:fee5:41f1 (192.168.1.254) ⇆ (NET) RJ45 1GiG ⇆ Box ISP : fe80::c2d7:aaff:fec0:f839 (192.168.1.1).
fec1::1/16 - Input/Ouput IPv6 Address (SLA) for Sites Locals Addressess - FQDN : 🦢.🇫🇷.ip❤10.ws.
192.168.1.254/24
# /etc/sysctl.conf net.ipv4.ip_forward = 1 net.ipv4.conf.all.forwarding = 1 net.ipv6.conf.netbr0.forwarding = 1 net.ipv6.conf.netbr0.autoconf = 0 net.ipv6.conf.netbr0.accept_redirects = 1 net.ipv6.conf.netbr0.accept_ra = 2 net.ipv6.conf.netbr0.proxy_ndp = 1 net.ipv6.conf.netbr0.accept_source_route = 0 net.ipv6.conf.netbr0.use_tempaddr = 0
root@gate:~ # ip6tables -L -vn -t nat
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
9888 4033K MASQUERADE 0 -- * netbr0 fc01::172:16:0:0/104!fc00::/7
0 0 MASQUERADE 0 -- * netbr0 fc01::10:106:0:252 !fc00::/7
0 0 MASQUERADE 0 -- * netbr0 fc01::10:116:0:1 !fc00::/7
1 114 MASQUERADE 0 -- * netbr0 fc01::10:126:0:1 !fc00::/7
root@gate:~ # ip6tables -L FORWARD -vn
Chain FORWARD (policy DROP 1110 packets, 316K bytes)
pkts bytes target prot opt in out source destination
24168 4623K aICMPs 58 -- * * ::/0 ::/0
0 0 ACCEPT 0 -- lo * ::/0 ::/0
0 0 ACCEPT 0 -- * lo ::/0 ::/0
25M 113G ACCEPT 0 -- * * fc00::/7 fc00::/7
0 0 ACCEPT 0 -- * * ff00::/8 ff00::/8
0 0 ACCEPT 0 -- * * fe80::/10 fe80::/10
32 2560 ACCEPT 0 -- * * fec0::/10 fec0::/10
13M 951M ACCEPT 0 -- * * fec0::/10 fc00::/7
7028K 576M ACCEPT 0 -- * * fc00::/7 fec0::/10
4588K 381M ACCEPT 0 -- lanbr0 netbr0 ::/0 ::/0
9237K 31G ACCEPT 0 -- netbr0 lanbr0 ::/0 ::/0
2187K 248M ACCEPT 0 -- srvbr0 netbr0 ::/0 ::/0
2927K 4275M ACCEPT 0 -- netbr0 srvbr0 ::/0 ::/0
703 294K ACCEPT 0 -- srvbr0 lanbr0 ::/0 ::/0
868 143K ACCEPT 0 -- lanbr0 srvbr0 ::/0 ::/0
root@gate:~ # ip -6 route show dev netbr0 2a01:cb1d:813:4a00:bee:eeff::/104 proto kernel metric 256 pref medium 2a01:cb1d:813:4a00::/64 proto kernel metric 256 pref medium fe80::/64 proto kernel metric 256 pref medium fec1::/16 proto kernel metric 256 pref medium default via fe80::c2d7:aaff:fec0:f839 proto ra metric 1024 expires 578sec hoplimit 64 pref high
root@gate:~ # ip -6 route show table 220 fc00:41d0:701:1100::/64 dev netbr0 proto static src fec1::1 metric 1024 pref medium fc00:41d0:801:2000::/64 dev netbr0 proto static src fec1::1 metric 1024 pref medium fc00:5300:60:9389::/64 dev netbr0 proto static src fec1::1 metric 1024 pref medium fec0::/16 dev netbr0 proto static src fec1::1 metric 1024 pref medium fec2::1 dev netbr0 proto static src fec1::1 metric 1024 pref medium fec3::1 dev netbr0 proto static src fec1::1 metric 1024 pref medium
root@gate:~ # ip -6 neighbor show proxy 2a01:cb1d:813:4a00:1ab3::1 dev netbr0 proxy 2a01:cb1d:813:4a00:1ab3:116:0:1 dev netbr0 proxy 2a01:cb1d:813:4a00:1ab3:116:42:1000 dev netbr0 proxy 2a01:cb1d:813:4a00:1ab3:116:42:10 dev netbr0 proxy 2a01:cb1d:813:4a00:1ab3:116:42:db1 dev netbr0 proxy 2a01:cb1d:813:4a00:1ab3:116:42:ad0 dev netbr0 proxy 2a01:cb1d:813:4a00:1ab3:126:0:1 dev netbr0 proxy 2a01:cb1d:813:4a00:1ab3:126:42:1000 dev netbr0 proxy 2a01:cb1d:813:4a00:1ab3:126:42:10 dev netbr0 proxy
root@gate:~ # ip -4 route show dev netbr0 default via 192.168.1.1 onlink 192.168.1.0/24 proto kernel scope link src 192.168.1.254
lanbr0 : 2a01:cb1d:813:4a00:0c00::2/70
fc01::172:16:0:254/104 ⇆ (LAN) SPF+ 10GiG ⇆ Swith 4x 2.5GiG + 2x SPF+ 10GiG
172.16.0.254/24
# /etc/sysctl.conf net.ipv6.conf.lanbr0.forwarding = 1 net.ipv6.conf.lanbr0.autoconf = 0 net.ipv6.conf.lanbr0.accept_redirects = 1 net.ipv6.conf.lanbr0.accept_ra = 0 net.ipv6.conf.lanbr0.proxy_ndp = 0 net.ipv6.conf.lanbr0.accept_source_route = 0 net.ipv6.conf.lanbr0.use_tempaddr = 0
root@gate:~ # ip -6 route show dev lanbr0 2a01:cb1d:813:4a00:800::/70 metric 1024 pref medium fc01::172:16:0:0/112 proto kernel metric 256 pref medium fe80::/64 proto kernel metric 256 pref medium
root@gate:~ # ip -4 route show dev lanbr0 172.16.0.0/24 proto kernel scope link src 172.16.0.254
Network : 2a01:cb1d:813:4a00:0c00:0000:0000:0000/70
Network range : 2a01:cb1d:813:4a00:0c00:0000:0000:0000-2a01:cb1d:813:4a00:0fff:ffff:ffff:ffff
netbr0 : 2a01:cb1d:813:4a00:0bee:eeff:00ca:feee/104
fc01::172:16:0:140/104
fc01::172:16:0:141/104
fc01::172:16:0:142/104
srvbr0 : 2a01:cb1d:813:4a00:1800::2/70
fc01::10:106:0:254/124 ⇆ (SRV) SPF+ 10GiG ⇆ SPF+ 10GiG - FQDN : gate.🇫🇷.◕‿◕.st
10.106.0.254/29
# /etc/sysctl.conf net.ipv6.conf.srvbr0.forwarding = 1 net.ipv6.conf.srvbr0.autoconf = 0 net.ipv6.conf.srvbr0.accept_redirects = 1 net.ipv6.conf.srvbr0.accept_ra = 2 net.ipv6.conf.srvbr0.proxy_ndp = 1 net.ipv6.conf.srvbr0.accept_source_route = 0 net.ipv6.conf.srvbr0.use_tempaddr = 0
# /etc/radvd.conf
interface srvbr0 {
IgnoreIfMissing on;
AdvManagedFlag on;
AdvSendAdvert on;
MinRtrAdvInterval 3;
MaxRtrAdvInterval 10;
AdvSourceLLAddress off; # d:on
UnicastOnly off; # d:off
# DeprecatePrefix on; # d:off
AdvRASolicitedUnicast on; # d:on
prefix 2a01:cb1d:813:4a00:1ab3:116::/80 {
AdvRouterAddr off;
AdvOnLink on;
AdvAutonomous on;
};
prefix 2a01:cb1d:813:4a00:1ab3:126::/80 {
AdvRouterAddr off;
AdvOnLink on;
AdvAutonomous on;
};
};
root@gate:~ # ip -6 route show dev srvbr0 2a01:cb1d:813:4a00:1ab3:116::/96 via fc01::10:106:0:252 metric 1024 pref medium 2a01:cb1d:813:4a00:1ab3:126::/96 via fc01::10:106:0:252 metric 1024 pref medium 2a01:cb1d:813:4a00:1ab3::/80 proto kernel metric 256 expires 86399sec pref medium 2a01:cb1d:813:4a00:1ab3::/80 metric 1024 pref medium 2a01:cb1d:813:4a00:1800::/70 proto kernel metric 256 pref medium fc01::10:106:0:250/124 proto kernel metric 256 pref medium fc01::10:116:0:0/112 via fc01::10:106:0:252 metric 1024 pref medium fc01::10:116:42:0/112 via fc01::10:106:0:252 metric 1024 pref medium fc01::10:126:0:0/112 via fc01::10:106:0:252 metric 1024 pref medium fc01::10:126:42:0/112 via fc01::10:106:0:252 metric 1024 pref medium fe80::/64 proto kernel metric 256 pref medium fec1::/16 metric 1024 pref medium fec0::/10 via fec1::1 metric 1024 pref medium
root@gate:~ # ip -4 route show dev srvbr0 10.106.0.0/24 proto kernel scope link src 10.106.0.254 10.116.0.0/24 via 10.106.0.252 10.116.42.0/24 via 10.106.0.252 10.126.0.0/24 via 10.106.0.252 10.126.42.0/24 via 10.106.0.252 10.136.0.0/24 via 10.106.0.252
root@gate:~ # ip -4 route show dev srvbr0 10.64.0.0/10 via 10.106.0.252 10.106.0.248/29 proto kernel scope link src 10.106.0.254
Network : 2a01:cb1d:813:4a00:1800:0000:0000:0000/70
Network range : 2a01:cb1d:813:4a00:1800:0000:0000:0000-2a01:cb1d:813:4a00:1bff:ffff:ffff:ffff
gatebr0 : 2a01:cb1d:813:4a00:1ab3:0000:0000:0001/70
2a01:cb1d:813:4a00:1aff:00ff:00ff:00ff/128
fc01::10:106:0:252/124 - FQDN : srv.🇫🇷.◕‿◕.st.
10.106.0.252/29
vmbr0 : fc01::10:116:0:252/112
10.116.0.252/24
Network : 2a01:cb1d:813:4a00:1ab3:0110:0000:0000/92
Network range : 2a01:cb1d:813:4a00:1ab3:0110:0000:0000-2a01:cb1d:813:4a00:1ab3:011f:ffff:ffff
vmbr0 : 2a01:cb1d:813:4a00:1ab3:0116:0000:0001/92 - Ouput IPv6 Address GUA for Unique Local Addressess (ULA).
fc01:0000:0000:0000:0010:0116:0000:0001/128 - FQDN : ☕.🟨.srv.🇫🇷.◕‿◕.st.
10.116.0.1/24
vmbr1 : 2a01:cb1d:813:4a00:1ab3:0116:00ff:ffff/96
fc01:0000:0000:0000:0010:0116:0042:ffff/112
10.116.42.254/24
LinuX childs Containers (LXC) :
2a01:cb1d:813:4a00:1ab3:0116:0042:1000/112 (NS1) - Name Server Bind9.
fc01:0000:0000:0000:0010:0116:0042:1000/112 - FQDN : ⛅.🇫🇷.◕‿◕.st.
10.116.42.1/24
2a01:cb1d:813:4a00:1ab3:0116:0042:0010/124 (WE1) - BackEnd Web Server Apache2.
fc01:0000:0000:0000:0010:0116:0042:0010/112 - FQDN : 🌐.🇫🇷.◕‿◕.st.
10.116.42.10/24
2a01:cb1d:813:4a00:1ab3:0116:0042:00db1/124 (DB1) - Datas Bases MySQL.
fc01:0000:0000:0000:0010:0116:0042:0db1/112 - FQDN : 🔎.🇫🇷.⛔🔜.ws.
10.116.42.100/24
2a01:cb1d:813:4a00:1ab3:0116:0042:0dc1/124 (AD1) - Active Directory : Domains controller for inter-site (global) networks.
fc01:0000:0000:0000:0010:0116:0042:0dc1/7 - FQDN : 📚.🇫🇷.⛔🔜.ws.
10.116.42.2/24
vmbr1 : fc01::10:126:0:252/112
10.126.0.252/24
Network : 2a01:cb1d:813:4a00:1ab3:0120:0000:0000/92
Network range : 2a01:cb1d:813:4a00:1ab3:0120:0000:0000-2a01:cb1d:813:4a00:1ab3:012f:ffff:ffff
vmbr0 : 2a01:cb1d:813:4a00:1ab3:0126:0000:0001/92 - Ouput IPv6 Address GUA for Unique Local Addressess (ULA).
fc01:0000:0000:0000:0010:0126:0000:0001/128 - FQDN : ☕.🟦.srv.🇫🇷.◕‿◕.st.
10.126.0.1/24
vmbr1 : 2a01:cb1d:813:4a00:1ab3:0126:00ff:ffff/96
fc01:0000:0000:0000:0010:0126:0042:ffff/112
10.126.42.254/24
LinuX childs Containers (LXC) :
2a01:cb1d:813:4a00:1ab3:0126:0042:1000/112 (NS2) - Name Server Bind9.
fc01:0000:0000:0000:0010:0126:0042:1000/112 - FQDN : 🌈.🇫🇷.◕‿◕.st.
10.126.42.1/24
2a01:cb1d:813:4a00:1ab3:0126:0042:0010/124 (WE2) - BackEnd Web Server Apache2.
fc01:0000:0000:0000:0010:0126:0042:0010/112 - FQDN : 🌍.🇫🇷.◕‿◕.st.
10.126.42.10/24
2a01:cb1d:813:4a00:1ab3:0126:0042:0db2/124 (BDD) - Bases de données MySQL.
fc01:0000:0000:0000:0010:0126:0042:0db2/112 - FQDN : 🔍.🇫🇷.⛔🔜.ws.
10.126.42.100/24
2a01:cb1d:813:4a00:1ab3:0126:0042:0dc2/124 (BDC) - Backup Domain Controller - Currently only, SMB service for file sharing.
fc01:0000:0000:0000:0010:0126:0042:0dc2/64 - FQDN : 📁.🇫🇷.⛔🔜.ws.
10.116.42.2/24
vmbr2 : fc01::10:136:0:252/112
10.106.42.252/32
Network : 2a01:cb1d:813:4a00:1ab3:0130:0000:0000/92
Network range : 2a01:cb1d:813:4a00:1ab3:0130:0000:0000-2a01:cb1d:813:4a00:1ab3:013f:ffff:ffff
Red Hat VirtIO Ethernet Adapter : 2a01:cb1d:813:4a00:1ab3:0136:0000:0001/92 - Ouput IPv6 Address GUA.
fc01:0000:0000:0000:0010:0136:0000:0001/104 - FQDN : 🪟.🇫🇷.◕‿◕.st.
10.106.0.1/10
wlanbr0 : 2a01:cb1d:813:4a00:4700::2/70 ⇆ (WLAN) RJ45 2.5GiG ⇆ OpenWRT Ethernet Card WAN.
fc01::10:6:42:254/112
10.6.42.254/24
# /etc/sysctl.conf net.ipv6.conf.wlanbr0.forwarding = 1 net.ipv6.conf.wlanbr0.autoconf = 0 net.ipv6.conf.wlanbr0.accept_redirects = 1 net.ipv6.conf.wlanbr0.accept_ra = 2 net.ipv6.conf.wlanbr0.proxy_ndp = 1 net.ipv6.conf.wlanbr0.accept_source_route = 0 net.ipv6.conf.wlanbr0.use_tempaddr = 0
Network : 2a01:cb1d:813:4a00:4400:0000:0000:0000/70
Network range : 2a01:cb1d:813:4a00:4400:0000:0000:0000-2a01:cb1d:813:4a00:47ff:ffff:ffff:ffff
br-lan : 2a01:cb1d:813:4a00:4700:0000:0000:0002/84
2a01:cb1d:813:4a00:4700:00c0:0000:0000/96
2a01:cb1d:813:4a00:4700:00c1:0000:0000/96
Not to joke, because you never know with all this information, I'm adding the files /.well-known/security.txt to the default WebServers directory ; hoping you're not too mean.
🔥 My Firewall ICMPv6 - IPv6 Netfilter GNU/Linux : https://howto.zw3b.fr/linux/securite/comment-faire-un-reseau-ipv6-firewall-icmpv6 (Translate Page).
🔑 How to configure strongSwan v6 Post-Quantum Cryptography NIST compliant #2731 : https://github.com/strongswan/strongswan/discussions/2731
🌐 Create your network map with GestióIP IPv4/IPv6 subnet calculator : http://www.gestioip.net/cgi-bin/subnet_calculator.cgi
🖧 The IPv6 ULA (Unique Local Address) network configuration from my home to the servers ; shown in the image : https://howto.zw3b.fr/pub/vpn/strongSwan-v6.0/network_map-ipv10.jpg
Read the INFOS.txt file in my StrongSwan 6.0.1 Configuration files n°7 ; there is some nice information - I like my "traceroute" tests from home (gate-fr / command-traceroute6.txt). It's tempting.