Re: IPv6 range provisioning question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@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@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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux