IPv6: can a link-site (or global) address be configured in
rc.conf?
Eugene M. Kim
ab@astralblue.com
Mon, 6 Mar 2000 09:00:44 -0800 (PST)
(Cc'ed to the 6BONE mailing list in the hope that someone there could
answer my question as well)
Speaking of the address allocation, is there a way for an individual to
get a non-local address space (so that all of my machines can get an
unique IPv6 address)? I've read through the 6BONE website, and it seems
to me that I somehow have to `qualify' in order to get one. (And the
fact that I just need <10 addresses makes me feel guilty; AFAIK the
minimum allocation unit is 2^64-address block :-p.)
Thank you in advance,
Eugene
On Mon, 6 Mar 2000, Bill Fenner wrote:
| Bruce is right that machines expect to learn their prefixes from their
| local router; however if you're just playing around you might want to
| set it yourself. The easiest way I've found to do this is to say that
| this machine is a router:
|
| # sysctl -w net.inet6.ip6.forwarding=1
| net.inet6.ip6.forwarding: 0 -> 1
|
| and then run "prefix" to set a site-local prefix:
|
| # prefix dc0 fec0:0:0:1::
| # ifconfig dc0
| dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
| inet6 fe80::2a0:ccff:fe36:7410%dc0 prefixlen 64 scopeid 0x1
| inet6 fec0::1:2a0:ccff:fe36:7410 prefixlen 64
|
| Of course, if you have global address space too you can assign that prefix
| too.
|
| Bill
--
Eugene M. Kim <ab@astralblue.com>
"Is your music unpopular? Make it popular; make music
which people like, or make people who like your music."