[CentOS] IPv6 range provisioning question

Fri Jun 12 14:40:03 UTC 2009
David V <davevc at annapoliswireless.me>

Filipe Brandenburger wrote:

> Shouldn't it be something like this?
> IPV6ADDR_SECONDARIES="2001:0470:0103:001A::3/64
> 2001:0470:0103:001A::4/64 2001:0470:0103:001A::5/64
> 2001:0470:0103:001A::6/64 2001:0470:0103:001A::7/64
> 2001:0470:0103:001A::8/64"
> 
> HTH,
> Filipe


Thanks Felipe and Shawn, guess I hadn't tested it enough yet. That is 
the correct syntax.

Here is an example from one of my boxes:

[dveasey at test network-scripts]$ more ifcfg-eth0
USERCTL=yes
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Ethernet
ETHTOOL_OPTS="speed 100 duplex full autoneg off"
IPV6INIT=yes
IPV6ADDR=2001:1938:108:4400::2/64
IPV6ADDR_SECONDARIES="2001:4830:1128:4200::2/64 
2001:4830:1128:4200::3/64 2001:4830:1128:4200::4/64"
PEERDNS=yes

[dveasey at test network-scripts]$ /sbin/ip addr ls dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
qlen 1000
     link/ether 00:30:18:b0:c0:91 brd ff:ff:ff:ff:ff:ff
     inet 10.8.9.248/19 brd 10.8.31.255 scope global eth0
     inet6 2001:4830:1128:4200::4/64 scope global
        valid_lft forever preferred_lft forever
     inet6 2001:4830:1128:4200::3/64 scope global
        valid_lft forever preferred_lft forever
     inet6 2001:4830:1128:4200::2/64 scope global
        valid_lft forever preferred_lft forever
     inet6 2001:1938:108:4400::2/64 scope global
        valid_lft forever preferred_lft forever
     inet6 fe80::230:18ff:feb0:c091/64 scope link
        valid_lft forever preferred_lft forever