Question about netmask format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The dracut.cmdline man page lists:

ip=<client-IP>:[<peer>]:<gateway-IP>:<netmask>:<client_hostname>:<interface>:
   {none|off|dhcp|on|any|dhcp6|auto6|ibft}[:[<dns1>][:<dns2>]]

for explicit (static) network configuration.  To my old mind, "netmask"
refers to something of the form 255.X.X.X.  However if I use that form with
EL7 or Fedora 20, it fails with a message like:

Bringing up interface eth0:  Error: an inet prefix is expected rather than
"10.8.0.0/255.255.255.0".

It works if I give it a CIDR suffix.  It appears that the netmask for used
to work.

- Orion

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux