Network
ping ipv6
ping -6 2600::
ip command
Show routes
ip route
Add an extra route
ip route add 10.10.0.0/24 via 10.10.0.1
When you try to change the default route. Its best to use replace instead of add. Otherwise you will have two default routes. The first will be used.
ip route replace default via 192.168.0.1
Bonding interfaces
Check the current bonding status with. Specificly the Bonding Mode
might be quite interesting to inspect
cat /proc/net/bonding/bond0
using nmcli
Create a bond interface and set its mode
nmcli connection add type bond ifname bond0 con-name bond0 bond.options "mode=802.3ad"
Create a bond interface and set ip settings
nmcli connection add type bond ifname bond0 con-name bond0 bond.options "mode=802.3ad" ipv4.method manual ipv4.addresses 133.33.33.62/22 ipv4.gateway 133.33.31.1 ipv6.method manual ipv6.addresses 2004:210:208:303b::1:162/64 ipv6.gateway 2004:210:208:303b::1
see for more info
Add interface to bond0
nmcli connection add type ethernet ifname eth0 master bond0
bring bond interface down and up
nmcli connection down bond0 && nmcli connection up bond0
Remove a interface from the bond: First list the connections
[root@server1 ~]# nmcli c
NAME UUID TYPE DEVICE
bond0 7e015795-7adf-4d5b-a77d-b9e2cdf494b5 bond bond0
lo db215a43-3b2f-4360-8299-eb3ffc83f77d loopback lo
bond0.179 11514c7d-494f-3353-8225-4c3627c9a793 vlan bond0.179
eno8303 4e516911-a2ef-3221-b69a-cfd93989ed58 ethernet eno8303
bond-slave-eno12409np1 98c1b6f8-5faf-4e01-8156-0615947dc6f3 ethernet eno12409np1
bond-slave-eno12399np0 8e515997-1abf-47e8-b1f1-60e7a5e246ae ethernet --
eno8403 e31129a4-f6df-3bbb-9a09-43b7df0c3337 ethernet --
Wired connection 1 68f1a2df-b5cf-3375-b9c9-bf5f29dd76c6 ethernet --
then remove the bond interface. (remove the bond links)
nmcli connection delete bond-slave-eno12409np1
ethtool
set network link speed
ethtool -s <interface> speed 25000