[CentOS] [Solved]:Re: netmask set with ifconfig doesn't hold

Thu Mar 14 16:25:47 UTC 2019
KM <info4km at yahoo.com>

 BTW - that seemed to work, thanks.   putting /18 changed the netmask as i wanted.  I see that the PREFIX value in the corresponding ifcfg-<int> file changes accordingly also.
thanks againK
    On Thursday, March 14, 2019, 11:58:57 AM EDT, Pete Biggs <pete at biggs.org.uk> wrote:  
 
 On Thu, 2019-03-14 at 15:42 +0000, KM via CentOS wrote:
>  I should have mentioned that I tried nmtui but found no settings for
> a netmask anywhere.  like I said …. dummy.

It's part of the IP address - so you put something like 

  192.168.0.1/24

for a 255.255.255.0 subnet.  It's called a CIDR address.

P.


_______________________________________________
CentOS mailing list
CentOS at centos.org
https://lists.centos.org/mailman/listinfo/centos