...
Code Block | ||||
---|---|---|---|---|
| ||||
# Equivalent commands to get MAC address (type format similar to "fa:16:3d:c9:ac:83") $ ip link $ ifconfig -a # Command to get the product_uuid (type format similar to "92DD146C-F404-4253-J518-49602Z7C1B8F") $ sudo cat /sys/class/dmi/id/product_uuid |
Make sure the br_netfilter
module has been loaded. Use the command as verification
Code Block | ||||
---|---|---|---|---|
| ||||
# Verify that the br_netfilter module is present $ lsmod | grep br_netfilter br_netfilter 22256 0 bridge 151336 1 br_netfilter # If not present, use $ sudo modprobe br_netfilter |
At this point we add the following lines to our configuration sysctl fileAs a requirement for your Linux node's iptables to correctly see bridged traffic, you should ensure net.bridge.bridge-nf-call-iptables
is set to 1 in your sysctl
config
Code Block | ||||
---|---|---|---|---|
| ||||
$ cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1 EOF |
...
The swap values should all be 0 bytes. If not, comment on the swap line of the "/etc/fstab
" file and reboot. In this way the swap is permanently deactivated.
...