Red Hat Bugzilla – Bug 448747
Net install seems to ignore manual config if a DHCP query had been performed before
Last modified: 2008-08-28 16:39:06 EDT
Description of problem:
If you try to switch from a DHCP automatic configuration to a manual one, the
changes are not committed.
Version-Release number of selected component (if applicable):
Always under any arch
Steps to Reproduce:
1. Use a net-install cd
2. Choose DHCP config for IPV4 (a DHCP server should be available)
3. Choose URL as source. When prompted for the URL, go back to step 2, but this
time select "Manual Config". Fill in the fields with valid values.
4. Next, next, next until the graph installer is running, then go to tty2
(ctrl+alt+F2) and check for ifconfig. It will show the IP address config got by
DHCP, not the one you configured manually. This DHCP config will remain even if
you set new values at the graphical interface. Notice that information at GUI is
right (I mean, it corresponds to the one configured manually), but the actual
config gotten via ifconfig is wrong.
The DHCP config can't be changed using anaconda installer
Now, you'd wonder: what if a "ifconfig eth0 xx.xx.xx.xx/route add default gw"
combination is used at tty? It works, i mean, the mirror can be telnet, but the
installer refuses to connect to the right mirror IP address (it stablishes an
udp connection to a 192.168.x.x -i assume some sort of loopback- address). I
used "netstat -natu" to check that. Maybe this last thing has something to do
with other bugs reported around a netinstall against an FTP mirror (which is the
one i'm trying to use), but i have not checked this out.
Workaround: Select "Manual Config" from the beginning.
I needed to switch because the address provided by DHCP has security
restrictions and the manual one hasn't
This should be fixed in the next build of anaconda by the massive amount of networking code David has gotten done recently. Thanks for the bug report.