Welcome Guest. Please Login or Register  


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



Threaded Mode | Print  

 CentOS 7 Installation - NIC netmask, ifcfg-XXX uses PREFIX by default, not NETMASK (1 Replies, Read 13575 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: --   

CentOS 7 Installation - NIC netmask
siddhesh
Group: Member
Post Group: Newbie
Posts: 30
Status:
Hi,

Sir currently there is no provisioning to in the virtualizor to detect  PREFIX. Also it is not a bug.

We have already added the provisioning of prefix in the upcoming release.

Also temporary you can add netmask option in interface config file.

IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 19, 2024, 1:53 pm.

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