Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > Bugs > Topic : CentOS 7 Installation - NIC netmask



Normal Mode | Print  

 CentOS 7 Installation - NIC netmask, ifcfg-XXX uses PREFIX by default, not NETMASK (1 Replies, Read 13666 times)
deunan
Group: Member
Post Group: Newbie
Posts: 4
Status:
It used to be that older versions of RHEL/CentOS uses NETMASK but newer installations of RHEL6/CentOS6 and 7 now uses PREFIX

I do not profess to know the minds of the RHEL/CentOS developers, but possible explanation is the option to use CIDR prefix was added simply because it is easier to work with a small number like "16" or "24" or "29" rather than mess around with long subnet masks.

How does this affect us Virtualizor fans?

It seems that Virtualizor, when NETMASK is missing in the file eg. ifcfg-eth0, it will default to "24" even though PREFIX is present and in my case PREFIX=29.

When starting the "virtnetwork", the IP Address settings will be read from the "/etc/sysconfig/network-scripts/ifcfg-eth0" and since the NETMASK is missing, it will default to 255.255.255.0 or /24.

Luckily my host is still accessible!

More importantly, I believe this is a BUG and do you guys at Virtualizor award some sort of bounty for bug-discovery? Anything?  :D :D :D


Regards
IP: --   


Threads
 deunan   CentOS 7 Installation - NIC netmask, ifcfg-XXX uses PREFIX by default, not NETMASK (1 Replies, Read 13666 times)
    |--  siddhesh   Hi, Sir currently...   on August 9, 2015, 6:44 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 19, 2024, 3:53 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.019