In bug 633984 initscripts implement new syntax of configuring manual IPv4 addresses besides legacy IP aliases.
Actually, initscripts use the syntax already present in NM ifcfg-rh plugin. However, there are still some differences. This bug should make the implementations do the same things.
Created attachment 464031 [details]
update manual IPv4 addresses handling
Can you update the testcases too with a sample ifcfg file using the new syntax? Then it should be fine to commit... though one thing the code explicitly did before was convert NETMASK to PREFIX, since NETMASK is old notation. ie I don't think we should ever write NETMASK back out, just PREFIX.
Created attachment 491497 [details]
update manual IPv4 addresses handling v2
Updates handling of IPADDR<n>, PREFIX<n> (NETMASK<n>) and GATEWAY<n> to be compatible with initscripts.
- writes the sequence as IPADDR0, IPADDR1, .. IPADDR255
- NETMASK variables are not written out, just removed
- is tolerant when reading the addresses:
- supports previous IPADDR, IPADDR2, IPADDR3, ...
- new IPADDR0, IPADDR1, ...
- and combinations there IPADDR, IPADDR0, IPADDR1 are optional and IPADDR<n>,
where n>=2 are contiguous.
E.g.: IPADDR0, IPADDR2, IPADDR3, ...
IPADDR, IPADDR1, IPADDR2, ...
IPADDR2, IPADDR3, IPADDR4, ...
Created attachment 491498 [details]
ifcfg-rh: testcases for the changes
12d2ed3d4521c00b68237a338747ed243a63de77 (main fix)
ccd39a8cb950a9e154d2e1a5816af84c78819de1 (main fix)
NetworkManager-0.8.3.999-2.git20110414.fc14 has been submitted as an update for Fedora 14.
NetworkManager-0.8.3.999-2.git20110414.fc13 has been submitted as an update for Fedora 13.
* should fix your issue,
* was pushed to the Fedora 13 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing NetworkManager-0.8.3.999-2.git20110414.fc13'
as soon as you are able to, then reboot.
Please go to the following url:
then log in and leave karma (feedback).
NetworkManager-0.8.998-3.git20110419.fc15 has been submitted as an update for Fedora 15.
NetworkManager-0.8.4-1.fc14 has been submitted as an update for Fedora 14.
NetworkManager-0.8.4-1.fc13 has been submitted as an update for Fedora 13.
NetworkManager-0.8.998-3.git20110419.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
NetworkManager-0.8.4-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
NetworkManager-0.8.4-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.