Netplan

From UVOO Tech Wiki
Revision as of 20:06, 12 September 2023 by Busk (talk | contribs) (Created page with "Cisco ``` # This is the network config written by 'subiquity' network: ethernets: eno1: {} eno2: {} eno3: {} eno4: {} bonds: bond0: interfaces:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Cisco

# This is the network config written by 'subiquity'
network:
  ethernets:
    eno1: {}
    eno2: {}
    eno3: {}
    eno4: {}
  bonds:
    bond0:
      interfaces:
      - eno1
      - eno2
      - eno3
      - eno4
      addresses:
      - 10.x.x.x/22
      nameservers:
       search: []
       addresses: [10.x.x.1]
      routes:
       - to: 0.0.0.0/0
         via: 10.x.x.1
         on-link: true
      parameters:
        # mode: balance-rr
        mode: 802.3ad
        lacp-rate: fast
        mii-monitor-interval: 100
  version: 2

Cisco

conf t
interface Port-channel13
 description foo ports
 switchport access vlan 3
 switchport mode access
 spanning-tree portfast
!

interface ra GigabitEthernet0/1-3
 description foo
 switchport access vlan 2
 switchport mode access
 channel-group 1 mode active
!