Hi,

> Hello,
> 
> Now that I have several machines running FreeBSD 4.0, I started to
> play with IPv6. It's fun! I have plans to set up a v6-over-v4 tunnel
> and connect to the 6Bone.
> 
> I read /usr/share/examples/IPv6/USAGE, /usr/share/doc/IPv6/IMPLEMENTATION
> and some documents at the KAME web site.  However, I still have to figure out
> how to assign a not-link-local address (i.e., a site or global address) to
> the [unique] Ethernet interface of each host in an automatic manner (from
> /etc/rc.conf).  After reading /etc/rc.network6 I concluded that no addresses
> apart from the link-local ones are assigned to the interfaces.  I am using
> ifconfig manually to do this (BTW, I found that there is no need to specify
> "alias").  I am new to IPv6, so maybe I am asking for something with no
> sense...

There seems to be already another answers and I might be
missing a point, but you might mean you want to assigne an
address with simple number in its lower 8byte?

Such as,
    3ffe:501:100e:2000::1
or
    3ffe:501:100e:2000::2

not like
    3ffe:501:100e:2000:200:eff:fe74:41d2
?

In that case, yes, you need to do ifconfig to assign former
kind of address. They are relatively easy to memorize and
useful as server addr.  But you don't necessarily need to
manually assign it.  You can use existing

 ifconfig_ifname=

and

 ifconfig_ifname_aliasnum=

also for IPv6.
(But there is no example for IPv6. I'll add examles.)

E.g. if you want to assign
 3ffe:501:100e:2000::1 and 3ffe:501:100e:2000::2
to ed0, I think following configuration works.

ifconfig_ed0_alias0="inet6 3ffe:501:100e:2000::1 prefixlen 64"
ifconfig_ed0_alias1="inet6 3ffe:501:100e:2000::2 prefixlen 64"


(By the way, this is local addr here, and please not use
exactly same prefix at another place. :-)

Cheers,
Yoshinobu Inoue



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to