I have about 30 ppp interfaces on a CentOS8 server. If I add the server about 25 of them will be added with the correct name. The other 5 will have a random name. Here is what’s happening on the server-side:
pppd[647226]: Using interface ppp5683
NetworkManager[953]: Using interface ppp5683
NetworkManager[953]: Connect: ppp5683 <–> eth0.309
pppd[647226]: Connect: ppp5683 <–> eth0.309
NetworkManager[953]: [1598651162.3569] manager: (ppp5683): new Ppp device (/org/freedesktop/NetworkManager/Devices/5675)
NetworkManager[953]: [1598651162.7691] device (ppp5683): state change: unmanaged -> unavailable (reason ‘connection-assumed’, sys-iface-state: ‘external’)
kernel: ppp8: renamed from ppp5683
NetworkManager[953]: [1598651162.7806] device (ppp5683): state change: unavailable -> unmanaged (reason ‘removed’, sys-iface-state: ‘removed’)
journal[647226]: nm-ppp-plugin: interface name changed from ‘ppp5683’ to ‘ppp8’
When I look at these connections with nmcli conn all I see are the named ppp interfaces (ppp0, ppp1) in tbe background it looks like each time a ppp session is brought down and up. A new ppp interface is created first and then named correctly.
Does anyone know a way I can make sure that the ppp interface is getting monitored only after the network manager sets it to the correct name?