feature request: additional IPs assign to real device via ip addr add

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Thu Aug 21 13:27:21 UTC 2003


Hi!

> I think this discussion should go rhl-devel list.   Please send the 
> followups only there.
> 
> On Thu, 21 Aug 2003, Alexander Dalloz wrote:
> > I would like a feature for setting up additional IPs to a 
> real device byjust giving it a list of IPs. Well, I know it is possible 
> to use aliased devices, but that is not often neccessary, even more work.
> And those aliased devices are not usable by iptables rules as device 
> instructions.
> >
> > In /etc/sysconfig/network-scripts/ifup the real device is already set up
by
> > the command "ip addr add". So it would be nice to give the script just a
> > list of IPs to be added to the real device. It could be done by a
variable
> > in /etc/sysconfig/network-scripts/ifcfg-ethX in which the administrator
will
> > just put the space separated list of additional IPs.
> 
> Note that this is how it's done with IPv6.
> 
> A problem, at least in the past, was that ifconfig(8) would 
> not show these addresses at all.  I'm not sure if that has been fixed.

I think this is still the case. But you can list all assigned IPs with the
"ip addr list" command. So in long run ifconfig is obsolete and iproute2
will do all neccessary.
 
> Anyone remember the details of this case?
> 
> Personally I also think that the concept of alias interfaces is a bit 
> obsolete.

This is my opinion too.

Alexander


-- 
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416  14CD E197 6E88 ED69 5653





More information about the devel mailing list