Hi I am trying to bond an ethernet and wifi interface for seamless wired/wifi switching where ethernet is the primary connection, but fallback to wifi happens when the plug is pulled but with no IP addressing changes. I'm using NM 1.10.6. I guess the first question is does anyone know of a howto on the steps needing doing just so that I can sanity check what I am doing? I am using Fedora 28 so am happy with either /etc/sysconfig/network-scripts/ configuration or all done completely with nmcli. I just want to have it working one way or the other first before trying to make it work native to Fedora 28. What I seem to have now is a bond0 interface including my ethernet interface and it comes up: # nmcli connection NAME UUID TYPE DEVICE bond-slave-enp0s25-1 30caaf72-9fb8-4876-be5b-e97eab16e4c2 ethernet enp0s25 bond0 865fab22-975a-406d-a00a-33a313cbe7fb bond bond0 bond-slave-wlp3s0-1 cafdd3e1-1490-470c-8103-990c5c5c13ba ethernet -- It doesn't seem to be bringing the wifi interface into bond0 though. # ifconfig -a bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST> mtu 1500 inet 10.75.22.227 netmask 255.255.255.0 broadcast 10.75.22.255 ether 00:24:d7:7b:1f:24 txqueuelen 1000 (Ethernet) RX packets 2090 bytes 288332 (281.5 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1404 bytes 354382 (346.0 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 enp0s25: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST> mtu 1500 ether 00:24:d7:7b:1f:24 txqueuelen 1000 (Ethernet) RX packets 2515084 bytes 2423405891 (2.2 GiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1179531 bytes 178901482 (170.6 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 20 memory 0xf2600000-f2620000 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 55943 bytes 48749363 (46.4 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 55943 bytes 48749363 (46.4 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether 42:c7:a9:51:8d:07 txqueuelen 1000 (Ethernet) RX packets 2316411 bytes 691137594 (659.1 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 210652 bytes 24579163 (23.4 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 My bonded connection looks like: # nmcli connection show bond0 connection.id: bond0 connection.uuid: 865fab22-975a-406d-a00a-33a313cbe7fb connection.stable-id: -- connection.type: bond connection.interface-name: bond0 connection.autoconnect: yes connection.autoconnect-priority: 0 connection.autoconnect-retries: -1 (default) connection.auth-retries: -1 connection.timestamp: 1526958471 connection.read-only: no connection.permissions: -- connection.zone: home connection.master: -- connection.slave-type: -- connection.autoconnect-slaves: -1 (default) connection.secondaries: -- connection.gateway-ping-timeout: 0 connection.metered: unknown connection.lldp: default 802-3-ethernet.port: -- 802-3-ethernet.speed: 0 802-3-ethernet.duplex: -- 802-3-ethernet.auto-negotiate: no 802-3-ethernet.mac-address: -- 802-3-ethernet.cloned-mac-address: -- 802-3-ethernet.generate-mac-address-mask:-- 802-3-ethernet.mac-address-blacklist: -- 802-3-ethernet.mtu: auto 802-3-ethernet.s390-subchannels: -- 802-3-ethernet.s390-nettype: -- 802-3-ethernet.s390-options: -- 802-3-ethernet.wake-on-lan: default 802-3-ethernet.wake-on-lan-password: -- ipv4.method: auto ipv4.dns: -- ipv4.dns-search: -- ipv4.dns-options: "" ipv4.dns-priority: 100 ipv4.addresses: -- ipv4.gateway: -- ipv4.routes: -- ipv4.route-metric: 0 ipv4.route-table: 0 (unspec) ipv4.ignore-auto-routes: no ipv4.ignore-auto-dns: no ipv4.dhcp-client-id: -- ipv4.dhcp-timeout: 0 (default) ipv4.dhcp-send-hostname: yes ipv4.dhcp-hostname: -- ipv4.dhcp-fqdn: -- ipv4.never-default: no ipv4.may-fail: yes ipv4.dad-timeout: -1 (default) ipv6.method: auto ipv6.dns: -- ipv6.dns-search: -- ipv6.dns-options: "" ipv6.dns-priority: 100 ipv6.addresses: -- ipv6.gateway: -- ipv6.routes: -- ipv6.route-metric: 1024 ipv6.route-table: 0 (unspec) ipv6.ignore-auto-routes: no ipv6.ignore-auto-dns: no ipv6.never-default: no ipv6.may-fail: yes ipv6.ip6-privacy: 0 (disabled) ipv6.addr-gen-mode: stable-privacy ipv6.dhcp-send-hostname: yes ipv6.dhcp-hostname: -- ipv6.token: -- bond.options: active_slave=wlp3s0,downdelay=0,miimon=100,mode=active-backup,primary=enp0s25,updelay=0 proxy.method: none proxy.browser-only: no proxy.pac-url: -- proxy.pac-script: -- GENERAL.NAME: bond0 GENERAL.UUID: 865fab22-975a-406d-a00a-33a313cbe7fb GENERAL.DEVICES: bond0 GENERAL.STATE: activated GENERAL.DEFAULT: yes GENERAL.DEFAULT6: yes GENERAL.SPEC-OBJECT: -- GENERAL.VPN: no GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/11 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/17 GENERAL.ZONE: home GENERAL.MASTER-PATH: -- Any ideas how to rectify this bond to include and use wlp3s0 such that it just connects to and authenticates with an already known AP? Cheers, b.
Attachment:
signature.asc
Description: This is a digitally signed message part