Skip to content

Commit

Permalink
Update default-DHCP.yaml
Browse files Browse the repository at this point in the history
Add more comments to the example file
  • Loading branch information
cloudnull committed Jan 11, 2024
1 parent 4e4ff8b commit 9c29db8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions etc/netplan/default-DHCP.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ network:
set-name: enp196s0f1
bonds:
bond0:
dhcp4: true
dhcp4: true # Using DHCP for this example but not required
interfaces:
- enp143s0f0 # A side
- enp196s0f0 # B side
Expand All @@ -29,24 +29,24 @@ network:
mii-monitor-interval: 100
mode: 802.3ad
vlans:
vlan206: # this is the interface that will be given to K8S via bond0.
vlan206: # this is the interface that will be given to K8S via bond0
accept-ra: false
addresses:
- 172.16.24.1/22 # Statically assigned IP address
- 172.16.24.1/22 # Statically assigned IP address, increment on every node
id: 206
link: bond0
mtu: 1500
vlan306: # this is the interface that will be given to Controllers via bond0.
vlan306: # this is the interface that will be given to Controllers via bond0
accept-ra: false
addresses:
- 172.18.24.1/22 # Statically assigned IP address
- 172.18.24.1/22 # Statically assigned IP address, increment on every node
id: 306
link: bond0
mtu: 1500
vlan406: # this is the interface that will be given to Computes via bond0.
vlan406: # this is the interface that will be given to Computes via bond0
accept-ra: false
addresses:
- 172.20.24.1/22 # Statically assigned IP address
- 172.20.24.1/22 # Statically assigned IP address, increment on every node
id: 406
link: bond0
mtu: 1500

0 comments on commit 9c29db8

Please sign in to comment.