Running 2.15.1-lenovo2 xCAT release on CentOS 8.1

Compute nodes have 2 NICs:
ens3f0: 1Gb, provisioning net, 172.23.16.121/20, gw is .1
ens1f0: 50Gb highspeed, 172.25.16.121/24, no gw

When I run "confignetwork" as a postbootscript, ens1f0 is set up correctly with 
an IP on the hifhspeed net and nothing else. If I run "confignetwork -s" as a 
postbootscript, both NICs are setup w/ IP, but both get the default gateway 
applied.

Also, no DNS is ever set up. I've defined site.nameservers as well as 
network.nameservers & network.domain for the prov network.

lsdef -t network prov
Object name: prov
    dhcpserver=<xcatmaster>
    domain=hdp.local
    gateway=172.23.16.1
    mask=255.255.240.0
    mgtifname=ens2f0
    mtu=1500
    nameservers=172.23.16.242
    net=172.23.16.0
    ntpservers=172.23.16.1
    tftpserver=<xcatmaster>
lsdef -t network storage
Object name: storage
    mask=255.255.255.0
    mgtifname=ens2f0
    mtu=1500
    net=172.25.16.0

After running confignetwork -s, I cannot remove the errant gw setting from 
ens1f0 (nmcli c mod xcat-ens1f0 -ipv4.gateway 172.23.16.1). The only way I've 
found to fix ens1f0's gw setting is to set ipv4.never-default to yes and bounce 
the interface. To fix DNS, I have to add the DNS to ens3f0: nmcli c mod 
xcat-ens3f0 ipv4.dns {DNSSERVER} ipv4.dns-search {DOMAIN} and restart 
networkmanager to get things working correctly.

Regards,
Christian Caruthers
Lenovo Professional Services
Mobile: 757-289-9872
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to