/etc/netplan/50-cloud-init.yaml:
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
bonds:
bond0:
addresses: [192.168.0.250/24]
gateway4: 192.168.0.254
nameservers:
addresses: [80.67.169.12, 80.67.169.40]
dhcp4: false
dhcp6: false
interfaces:
- enp2s0
- enp3s0
- enp4s0
- enp5s0
parameters:
mode: balance-rr
ethernets:
enp2s0: {}
enp3s0: {}
enp4s0: {}
enp5s0: {}
version: 2
ifconfig:
neko-world@neko-world:~$ ifconfig
bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST> mtu 1500
inet 192.168.0.250 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::5486:77ff:fed6:3cef prefixlen 64 scopeid 0x20<link>
inet6 2a01:e34:ef82:47f0:5486:77ff:fed6:3cef prefixlen 64 scopeid 0x0< global>
ether 56:86:77:d6:3c:ef txqueuelen 1000 (Ethernet)
RX packets 102 bytes 9693 (9.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 457 bytes 38777 (38.7 KB)
TX errors 0 dropped 10 overruns 0 carrier 0 collisions 0
enp2s0: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST> mtu 1500
ether 56:86:77:d6:3c:ef txqueuelen 1000 (Ethernet)
RX packets 102 bytes 9693 (9.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 457 bytes 38777 (38.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0xfb3e0000-fb400000
enp3s0: flags=6147<UP,BROADCAST,SLAVE,MULTICAST> mtu 1500
ether 56:86:77:d6:3c:ef txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17 memory 0xfb4e0000-fb500000
enp4s0: flags=6147<UP,BROADCAST,SLAVE,MULTICAST> mtu 1500
ether 56:86:77:d6:3c:ef txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 18 memory 0xfb5e0000-fb600000
enp5s0: flags=6147<UP,BROADCAST,SLAVE,MULTICAST> mtu 1500
ether 56:86:77:d6:3c:ef txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 19 memory 0xfb6e0000-fb700000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 7614 bytes 2467135 (2.4 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7614 bytes 2467135 (2.4 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0