native static ip

/etc/sysconfig/network/ifcfg-eno1 looks like what i’m looking for, it looks like it preceeds both networkmanager and systemd. As i found it it contained

BOOTPROTO='dhcp'
STARTMODE='auto'

How would i set it up as a bridge with a static ip?
My guess:

BOOTPROTO='static'
STARTMODE='auto'
DEVICE='eno1'
BRIDGE='yes'
BRIDGE_NAME='br128'

and /etc/sysconfig/network/ifcfg-br128:

BOOTPROTO='static'
STARTMODE='auto'
BRIDGE='yes'
BRIDGE_PORTS='eno1'
IPADDR='10.my.ad.dr'
NETMASK='255.255.248.0'
GATEWAY='10.ga.te.wy'

and give command:

systemctl disable NetworkManager.service

but when i reboot, ip a says eno1 is “DOWN” and doesn’t even list br128. Where’s the documentation?

So instead i re-enabled and used NetworkManager as described here.

1 Like