For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > RedHat > iSCSI IP Address Fun

iSCSI IP Address Fun

Created by dave. Last edited by dave, 10 years and 81 days ago. Viewed 2,503 times. #1
[edit] [rdf]
labels
attachments

Problem

A user accidentally assigned the default gateway as the IP address to a computer. Hilarity ensued.

When we tried to reconfigure the computer to be a different address, the computer behaved as if it had IP addresses assigned both on the different address, and the original address.

Solution

This computer was installed on an iSCSI LUN.

The reason that the default gateway address did not go away is because when Red Hat installs to an iSCSI drive and it is given a static IP address it writes it (and other things) into the initrd file (which makes sense, because otherwise it won't find its drive at boot time). So no matter what you do to the network config files that (initrd-supplied) address will be an active IP address on the server.

Fix the initrd (left as an exercise for the reader).

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt