[linux-l] mehrere IP-Adressen je Adapter

Elmer Stöwer Stoewer at CyberConsult.de
Di Okt 8 15:07:43 CEST 2002

> -----Original Message-----
> From: Elmer Stöwer 
> Sent: Tuesday, October 08, 2002 10:56 AM
> Vielleicht gibt es ja auf der Liste zufällig noch jemanden, 
> der weiß wie das unter SuSE läuft?

_Jetzt_ weiß ich es:) Aus der Datei: /etc/sysconfig/network/ifcfg.template

# Multiple addresses (aka aliases)
# There are several ways to assign more than one IP address to a network
# interface. If you ever want to use YaST2 for this you should choose the
# first possibility:
# 1) one IP address per config file:
#    create multiple copies of your master config files and add ':<string>' to
#    the filenames of the copy. Prefer increasing number starting at 1.
# 2) multiple IP addresses per config file:
#    You can extend the variable name 'IPADDR' by any string you like (IPADDR_1,
#    IPADDR-FOO, IPADDRxxx, ...) and use these variables for your IP addresses.
#    If you need some additional parameters for these addresses, then just add
#    the same extension to these variable names.
#    an so on ...
# You do not need to set a label for any address. But then you should not use
# ifconfig any longer; go and use ip. If you want to use ifconfig then omit the
# label for your main address and set a label for every additional address.
# This is equivalent with using aliases with method 1.
# !!! YaST2 is not able to read multiple addresses from one file. Use this only
# if you configure your stuff manually anyway !!!

Für mich ist natürlich 1) relevant. Hab es noch nicht ausprobiert. Gehe aber mal
davon aus, daß es klappen wird. Falls nicht werde ich später widerrufen.

In diesem Sinne besten Gruß

[der ja weiß, das SuSEconfig uncool ist, aber es gar nicht soo blöd findet...]

Mehr Informationen über die Mailingliste linux-l