fair enough, here we go:
all interfaces are up:
nmcli connection show --active
NAME UUID TYPE DEVICE
bond-casa-all a28d1bef-196b-4f1d-a8d1-fd4049c6b3f9 bond bond0
bond-eth 5f3aa436-2e57-461a-90ae-502f54b5c5f1 ethernet enp5s0
bond-wifi 177ff41b-ae34-4855-9485-ab8ea1208678 wifi wlp6s0
Pinging the printer:
**#**ping 192.168.1.18
PING 192.168.1.18 (192.168.1.18) 56(84) bytes of data.
^C
--- 192.168.1.18 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4097ms
I pull the cable off the ethernet card, connections don’t change:
** #**nmcli con show --active
NAME UUID TYPE DEVICE
bond-casa-all a28d1bef-196b-4f1d-a8d1-fd4049c6b3f9 bond bond0
bond-eth 5f3aa436-2e57-461a-90ae-502f54b5c5f1 ethernet enp5s0
bond-wifi 177ff41b-ae34-4855-9485-ab8ea1208678 wifi wlp6s0
bringing down bond-eth doesn’t seem to make a difference, the cable is not there, and pinging now works:
ping 192.168.1.18
PING 192.168.1.18 (192.168.1.18) 56(84) bytes of data.
64 bytes from 192.168.1.18: icmp_seq=1 ttl=255 time=76.0 ms
64 bytes from 192.168.1.18: icmp_seq=2 ttl=255 time=3.95 ms
64 bytes from 192.168.1.18: icmp_seq=3 ttl=255 time=6.40 ms
64 bytes from 192.168.1.18: icmp_seq=4 ttl=255 time=4.12 ms
^C
--- 192.168.1.18 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 3.949/22.626/76.045/30.856 ms
I reconnect the cable and turn off the wifi, this results in bond-wifi going down:
nmcli con show --active
NAME UUID TYPE DEVICE
bond-casa-all a28d1bef-196b-4f1d-a8d1-fd4049c6b3f9 bond bond0
bond-eth 5f3aa436-2e57-461a-90ae-502f54b5c5f1 ethernet enp5s0
I ping the printer now:
**#** ping 192.168.1.18
PING 192.168.1.18 (192.168.1.18) 56(84) bytes of data.
64 bytes from 192.168.1.18: icmp_seq=10 ttl=255 time=43.5 ms
64 bytes from 192.168.1.18: icmp_seq=11 ttl=255 time=27.5 ms
64 bytes from 192.168.1.18: icmp_seq=12 ttl=255 time=3.58 ms
64 bytes from 192.168.1.18: icmp_seq=13 ttl=255 time=9.95 ms
64 bytes from 192.168.1.18: icmp_seq=14 ttl=255 time=7.04 ms
64 bytes from 192.168.1.18: icmp_seq=15 ttl=255 time=5.50 ms
64 bytes from 192.168.1.18: icmp_seq=16 ttl=255 time=18.1 ms
^C
--- 192.168.1.18 ping statistics ---
16 packets transmitted, 7 received, 56.25% packet loss, time 15204ms
rtt min/avg/max/mdev = 3.579/16.452/43.480/13.482 ms
and it works. Turn on wifi again, all interfaces are now up, cable is connected:
**#** nmcli con show --active
NAME UUID TYPE DEVICE
bond-casa-all a28d1bef-196b-4f1d-a8d1-fd4049c6b3f9 bond bond0
bond-eth 5f3aa436-2e57-461a-90ae-502f54b5c5f1 ethernet enp5s0
bond-wifi 177ff41b-ae34-4855-9485-ab8ea1208678 wifi wlp6s0
ping once more:
**#** ping 192.168.1.18
PING 192.168.1.18 (192.168.1.18) 56(84) bytes of data.
^C
--- 192.168.1.18 ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9224ms
and all packets are lost once again. How is it that when either one of the bonded interfaces is connected ping works, but not when both are?
In case you were wondering, the routing looks like this the whole time:
ip r
default via 192.168.1.254 dev bond0 proto dhcp metric 300
192.168.1.0/24 dev bond0 proto kernel scope link src 192.168.1.2 metric 300
Thanks!