Configuration: LACP Bond (802.3ad) + Untagged IPv4 + Tagged IPv6 VLAN + Transit /64 Prefix + Routed /56 Prefix
| Configuration Setting | Placeholder | Example Value |
|---|---|---|
| Physical NIC 1 | [NIC_1] | ens14f0np0 |
| Physical NIC 2 | [NIC_2] | ens14f1np1 |
| Native Interface | [BOND] | bond0 |
| IPv6 VLAN ID | [VLAN_ID] | 101 |
| VLAN Interface | [BOND].[VLAN_ID] | bond0.101 |
| Protocol Detail | Placeholder | Example Value |
|---|---|---|
| IPv4 Address | [IPv4_Address]/[IPv4_CIDR] | 203.0.113.33/24 |
| IPv4 Gateway | [IPv4_Gateway] | 203.0.113.1 |
| IPv6 Address | [Transit_Prefix]::2/[IPv6_CIDR] | 2001:db8:1:2::2/64 |
| IPv6 Gateway | [Transit_Prefix]::1 | 2001:db8:1:2::1 |
| IPv6 Traffic | Tagged (VLAN) | Tag 101 |
| Routing Property | Placeholder | Example Value |
|---|---|---|
| IPv6 Pool | [Routed_Prefix]::/[Routed_CIDR] | 2001:db8:cafe::/48 |
| Next-Hop | [Transit_Prefix]::2 | 2001:db8:1:2::2 |
| IPv6 Capacity | 65,536 x /64 Subnets | 1.2 Octillion IPs |
| Interface | [BOND].[VLAN_ID] | bond0.101 |
| Usage | Internal Routing | Docker / Proxmox |
sysctl -w net.ipv6.conf.all.forwarding=1Ensure you replace the red highlighted values in the scripts below with your actual hardware and network data.
Location: /etc/netplan/01-netcfg.yaml
network:
version: 2
renderer: networkd
ethernets:
[NIC_1]: { dhcp4: no, mtu: 1500 }
[NIC_2]: { dhcp4: no, mtu: 1500 }
bonds:
bond0:
interfaces: [[NIC_1], [NIC_2]]
addresses: ["[IPv4_Address]/24"]
routes:
- to: default
via: "[IPv4_Gateway]"
parameters:
mode: 802.3ad
mii-monitor-interval: 100
lacp-rate: fast
transmit-hash-policy: layer3+4
vlans:
bond0.[VLAN_ID]:
id: [VLAN_ID]
link: bond0
addresses:
- "[Transit_Prefix]::2/64"
- "[Routed_Prefix]::1/128"
routes:
- to: default
via: "[Transit_Prefix]::1"
nameservers:
addresses: [2606:4700:4700::1111, 2001:4860:4860::8888] Run these commands as root to ensure persistence via NM database:
# 1. Setup LACP Bond (Native IPv4) nmcli connection add type bond con-name bond0 ifname bond0 \ bond.options "mode=802.3ad,miimon=100,xmit_hash_policy=layer3+4" \ ipv4.method manual ipv4.addresses "[IPv4_Address]/24" ipv4.gateway "[IPv4_Gateway]" ipv6.method ignore nmcli connection add type ethernet slave-type bond con-name bond0-s1 ifname "[NIC_1]" master bond0 nmcli connection add type ethernet slave-type bond con-name bond0-s2 ifname "[NIC_2]" master bond0 # 2. Setup Tagged IPv6 VLAN nmcli connection add type vlan con-name "vlan[VLAN_ID]" dev bond0 id [VLAN_ID] \ ipv6.method manual ipv6.addresses "[Transit_Prefix]::2/64" ipv6.gateway "[Transit_Prefix]::1" \ ipv6.dns "2606:4700:4700::1111,2001:4860:4860::8888" # 3. Add Routed Pool Alias nmcli con mod "vlan[VLAN_ID]" +ipv6.addresses "[Routed_Prefix]::1/128" nmcli connection up bond0 nmcli connection up "vlan[VLAN_ID]"
Location: /etc/network/interfaces.
Requires ifenslave and vlan packages.
# Physical Interfaces auto [NIC_1] iface [NIC_1] inet manual bond-master bond0 mtu 1500 auto [NIC_2] iface [NIC_2] inet manual bond-master bond0 mtu 1500 # Bond Configuration (Native IPv4) auto bond0 iface bond0 inet static address [IPv4_Address]/24 gateway [IPv4_Gateway] bond-slaves [NIC_1] [NIC_2] bond-mode 802.3ad bond-miimon 100 bond-lacp-rate 1 bond-xmit-hash-policy layer3+4 # VLAN Interface (Tagged IPv6) auto bond0.[VLAN_ID] iface bond0.[VLAN_ID] inet6 static address [Transit_Prefix]::2/64 gateway [Transit_Prefix]::1 vlan-raw-device bond0 dns-nameservers 2606:4700:4700::1111 # Add Routed Alias up ip -6 addr add [Routed_Prefix]::1/128 dev bond0.[VLAN_ID]
contact@webofnevada.com(720) 394-5965
