Re: IP aliasing

"Jason Dale" <[email protected]>
Newsgroups gmane.linux.redhat.release.psyche
Message-ID <[email protected]>
Thanks,  Jesse

I will get an opportunity to try this out at a later
stage. I'm sure it will work, on provision that the
command works on a 'default' installation with
network support. I'm just amazed that even
the "100% comprehensive" Red Hat Linux 8
Bible does not appear to make any mention of the netconfig command. Neither
do any of my other RH books. There is not even a man page for it on my RH8
system. Hmmm ....

Jason

----- Original Message -----
From: "Jesse Keating" <[email protected]>
To: <[email protected]>
Sent: Tuesday, July 01, 2003 4:46 PM
Subject: Re: IP aliasing


> On Tuesday 01 July 2003 07:31, Jason Dale wrote:
> > Does anyone know how to add an alias to a
> > network interface? for example, get 'eth0' to
> > respond to more than 1 IP address? do
> > I need to compile this option into the
> > kernel?
>
> netconfig -d eth0:1
>
> > I assume the system would reflect this as
> > eth0:1, eth0:2 etc for as many aliases that
> > you have on the same physical card.
>
> correct.
>
> > If I reboot the machine, will the system keep these aliases?
>
> If configured and a file is made in
> /etc/sysconfig/network-scripts/ifcfg-eth0:1  Using netconfig -d eth0:1
will
> create this file.  (you'll have to ifup eth0:1 once you've configured it).
> Note, you shouldn't add another gateway and/or DNS server when configuring
> the other addresses.  Leave those two feilds blank.
>
> > Lastly, in a machine with multiple network cards, how does the system
> > handle the 'ordering' of the network card names, such as 'eth0' 'eth1'
etc?
> > does it select this name according to which PCI slot you use, or
according
> > to whichever card was added first,
> > irrespective of the PCI slot?
>
> Adjust the aliasing in /etc/modules.conf.
>
> --
> Jesse Keating RHCE MCSE
> http://geek.j2solutions.net
> Mondo DevTeam (www.mondorescue.org)
>
> Was I helpful?  Let others know:
>  http://svcs.affero.net/rm.php?r=jkeating
>
>
> --
> Psyche-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/psyche-list


-- 
Psyche-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/psyche-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.