NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: setting up IPv6 addresses in rc.conf?



  Is it possible to specify more than one interface address solely in
  rc.conf via ifconfig_xxN variables?  I don't see a way to do it.

The basic problem seems to be that one wants multiple invocations of
ifconfig, with different values.  With files, you just have multiple
lines.  So either we need line breaks in the string, or

ifconfig_de0_0="inet 1.2.3.4/8"
ifconfig_de0_1="inet6 2001:2:3::4"
ifconfig_de0_2=....

I don't like alias, because they aren't - that's an odd ipv4 term.  and
really all addresses should be configured first, before routes.




Home | Main Index | Thread Index | Old Index