Re: IP aliasing in Linux Red Hat 2.4.20-8



On 27 Jun 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<1151416965.854254.281590@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Prabhu wrote:

I have a Linux machine 2.4.20-8.

That's the original "out-of-box" kernel for Red Hat 9, which means the
system hasn't been maintained (Red Hat released eight kernel errata, and
there have been three more released by download.fedoralegacy.org since
Red Hat stopped support of that version a little over two years ago).

I was in need of IP aliases in this machine, about 2000 of them.

One has to wonder, why?

But on reboot, the boot process has hung @ "Bring up interface eth0:
"...The machine has not come out of this state. What do I do ?

Bring the system up in single usermode. I'm assuming you are using GRUB.

1. If you have a GRUB password configured, type p and enter the password.
2. Select Red Hat Linux with the version of the kernel that you wish to
boot and type e for edit. You will be presented with a list of items in the
configuration file for the title you just selected.
3. Select the line that starts with kernel and type e to edit the line.
4. Go to the end of the line and type single as a separate word (press the
[Spacebar] and then type single). Press [Enter] to exit edit mode.
5. Back at the GRUB screen, type b to boot into single user mode.

If single does not work, try a 1 instead.

When the system boots, get rid of all of those alias files. After you fix
this problem, you should really consider getting the system up to date,
or even replacing it with a less antique distribution.

Was 2000 a high number for IP Aliasing.

How is your kernel configured? In the IP-Alias mini-howto,

-rw-rw-r-- 1 gferg ldp 13575 Jan 26 2001 IP-Alias

the author mentions a limit set in /usr/include/linux/net_alias.h as
being set to 256 aliases, which are quite a high number anyway.

Old guy
.



Relevant Pages