Re: IPv4 und IPv6 an Interface vergeben

"Christian Bricart" <[email protected]>
Newsgroups gmane.linux.gentoo.user.german
Message-ID <[email protected]>
Markus Rennings wrote:
> [..]
> Guck mal in die /etc/conf.d/net.example:

AUS! Sitz! Platz! ;-) --> veraltete Examples! Datei direkt löschen und
vergessen!

bitte seit openrc/baselayout2 Stabilisierung immer nur
/usr/share/doc/openrc-*/net.example.bz2 für Beispiele benutzen...
(steht glaube ich sogar im ebuild von openrc als ewarn()..)

>
> | # You can also use IPv6 addresses
> | # (you should always specify a prefix length with IPv6 here)
> | #config_eth0=(
> | #       "192.168.0.2/24"
> | #       "4321:0:1:2:3:4:567:89ab/64"
> | #       "4321:0:1:2:3:4:567:89ac/64"
> | #
... und das ist genau der Grund warum - in der alten
/etc/conf.d/net.example werden Bash-Arrays benutzt.. und die gibt es in
openrc/baselayout2 nicht mehr. Und dann fällt dir deine komplette
Netzkonfiguration beim Boot auf die Nase. Das ist dann besonders dumm,
wenn man nur per ssh auf die Kiste kommt ;-)

Also openrc/baselayout2 kompatibel sollte dort stehen:

# You can also use IPv6 addresses
# (you should always specify a prefix length with IPv6 here)
#config_eth0="192.168.0.2/24 4321:0:1:2:3:4:567:89ab/64
4321:0:1:2:3:4:567:89ac/64"

Grüsse
  Christian
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.