This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I need some help with a rhel 9 nmcli issue...hoping anyone could show me why this might be happening.
So I have disabled several of the ethernet ports by setting them as 'unmanaged' in the keyfiles like so:
/etc/NetworkManager/conf.d/ # cat 99-unmanaged-devices.conf
unmanaged-devices=interface-name:eno1;unmanaged-devices=interface-name:eno2
When I boot eno1 shows as 'unmanaged' as expected, but eno2 shows as 'disconnected':
# nmcli
eno1: unmanaged
"Intel X540-AT2"
ethernet (ixgbe), EC:F4:BB:EA:D3:10, hw, sriov, mtu 1500
eno2: disconnected
"Intel X540-AT2"
ethernet (ixgbe), EC:F4:BB:EA:D3:12, hw, sriov, mtu 1500
However I'm still getting an IPv6 address on eno1:
# nmcli device show
GENERAL.DEVICE: eno1
GENERAL.TYPE: ethernet
GENERAL.HWADDR: EC:F4:BB:EA:D3:10
GENERAL.MTU: 1500
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
WIRED-PROPERTIES.CARRIER: on
IP4.GATEWAY: --
IP6.ADDRESS[1]: 2001:56a:f05e:c300:eef4:bbff:feea:d310/64
IP6.ADDRESS[2]: fe80::eef4:bbff:feea:d310/64
IP6.GATEWAY: fe80::70a7:41ff:fea6:89c6
IP6.ROUTE[1]: dst = 2001:56a:f05e:c300::/64, nh = ::, mt = 256
IP6.ROUTE[2]: dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[3]: dst = ::/0, nh = fe80::70a7:41ff:fea6:89c6, mt = 1024
GENERAL.DEVICE: eno2
GENERAL.TYPE: ethernet
GENERAL.HWADDR: EC:F4:BB:EA:D3:12
GENERAL.MTU: 1500
GENERAL.STATE: 30 (disconnected)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
WIRED-PROPERTIES.CARRIER: on
IP4.GATEWAY: --
IP6.GATEWAY: --
Only after I use ip link set eno1 down does it release the address, but then it forces eno2 to 'unavailable'
# ip link set eno2 down
# nmcli
eno1: unmanaged
"Intel X540-AT2"
ethernet (ixgbe), EC:F4:BB:EA:D3:10, hw, sriov, mtu 1500
eno2: unavailable
"Intel X540-AT2"
ethernet (ixgbe), EC:F4:BB:EA:D3:12, hw, sriov, mtu 1500
# nmcli device show
GENERAL.DEVICE: eno1
GENERAL.TYPE: ethernet
GENERAL.HWADDR: EC:F4:BB:EA:D3:10
GENERAL.MTU: 1500
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
WIRED-PROPERTIES.CARRIER: off
IP4.GATEWAY: --
IP6.GATEWAY: --
GENERAL.DEVICE: eno2
GENERAL.TYPE: ethernet
GENERAL.HWADDR: EC:F4:BB:EA:D3:12
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
WIRED-PROPERTIES.CARRIER: off
IP4.GATEWAY: --
IP6.GATEWAY: --
Any idea what's going on here? It seems that I can't prevent eno1 from getting an IPv6 on every boot.
Subreddit
Post Details
- Posted
- 8 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/redhat/comm...