1 |
* Walter Dnes: |
2 |
|
3 |
> Assume the following [...] |
4 |
|
5 |
Pretty close. If you *really* want to set things up manually, I suggest |
6 |
using ULA as per https://tools.ietf.org/html/rfc4193 . I just randomly |
7 |
picked [1] as a generator service, entered a fictuous MAC address (you |
8 |
should use one of your own), and clicked "Go". The outcome was: |
9 |
|
10 |
Your Private IPv6 network is: |
11 |
fdb3:fa69:3947::/48 |
12 |
giving you access to the to the following /64s: |
13 |
fdb3:fa69:3947:0::/64 through fdb3:fa69:3947:ffff::/64 |
14 |
|
15 |
The private /48 network contains 2^16 /64 subnets, so there is enough to |
16 |
go round for LAN, DMZ, guest network, etc. As an example, let's pick |
17 |
fdb3:fa69:3947:0::/64 as our local network. |
18 |
|
19 |
> machine1 has a script in /etc/local.d/ that executes... |
20 |
> ipv6 address fe80::1 link-local |
21 |
|
22 |
I prefer this alternative: |
23 |
|
24 |
# /etc/conf.d/net for machine #5 |
25 |
config_eth0="192.168.123.5/24 |
26 |
fdb3:fa69:3947::5/64" |
27 |
# The previous line is the shortened representation of |
28 |
# fdb3:fa69:3947:0:0:0:0:5/64 |
29 |
|
30 |
You can now indeed use a shared hosts file as before: |
31 |
|
32 |
# /etc/hosts |
33 |
192.168.123.5 machine5-ipv4 |
34 |
fdb3:fa69:3947::5 machine5 |
35 |
|
36 |
I cannot test this right now, but if I did not miss any typos, this |
37 |
should get you going. |
38 |
|
39 |
-Ralph |