* Walter Dnes:

> Assume the following [...]

Pretty close. If you *really* want to set things up manually, I suggest
using ULA as per https://tools.ietf.org/html/rfc4193 . I just randomly
picked [1] as a generator service, entered a fictuous MAC address (you
should use one of your own), and clicked "Go". The outcome was:

  Your Private IPv6 network is:
  fdb3:fa69:3947::/48
  giving you access to the to the following /64s:
  fdb3:fa69:3947:0::/64 through fdb3:fa69:3947:ffff::/64

The private /48 network contains 2^16 /64 subnets, so there is enough to
go round for LAN, DMZ, guest network, etc. As an example, let's pick
fdb3:fa69:3947:0::/64 as our local network.

> machine1 has a script in /etc/local.d/ that executes...
> ipv6 address fe80::1 link-local

I prefer this alternative:

  # /etc/conf.d/net for machine #5
  config_eth0="192.168.123.5/24
  fdb3:fa69:3947::5/64"
  # The previous line is the shortened representation of
  # fdb3:fa69:3947:0:0:0:0:5/64

You can now indeed use a shared hosts file as before:

  # /etc/hosts
  192.168.123.5      machine5-ipv4
  fdb3:fa69:3947::5  machine5

I cannot test this right now, but if I did not miss any typos, this
should get you going.

-Ralph

Reply via email to