IPv6 addresses order (CentOS6)

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



Hello,
in /etc/sysconfig/network-scripts/ifcfg-eth0 I have this
<ifcfg-eth0>
...
IPV6INIT=yes
IPV6ADDR=prefix::5
IPV6ADDR_SECONDARIES="prefix::2 prefix::3 prefix::4"
IPV6_AUTOCONF=no
IPV6_DEFAULTGW=prefix::1
IPV6_DEFAULTDEV=eth0
</ifcfg-eth0>
when I enter ifconfig the IPv6 addresses are in a different order
<ifconfig>
eth0 Link encap:Ethernet HWaddr ...
inet addr:... Bcast:... Mask:...
inet6 addr: fe80::.../64 Scope:Link
inet6 addr: prefix::4/64 Scope:Global
inet6 addr: prefix::3/64 Scope:Global
inet6 addr: prefix::5/64 Scope:Global
inet6 addr: prefix::2/64 Scope:Global
</ifconfig>
is there a way to influence the order?
or how can I tell e.g. ssh to use a specific IPv6 address?
(as it seems ssh uses the first one listed in ifconfig and not the one
defined with IPV6ADDR)

Thanks,
Walter


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://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