[CentOS] IPv6 addresses order (CentOS6)
Walter H.
walter.h at mathemainzel.infoTue May 30 07:26:35 UTC 2017
- Previous message: [CentOS] {centos 6} errors in libvirtd, all sites down, need advice
- Next message: [CentOS] IPv6 addresses order (CentOS6)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [CentOS] {centos 6} errors in libvirtd, all sites down, need advice
- Next message: [CentOS] IPv6 addresses order (CentOS6)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list