Hello!
We have local network with ipv6(Prefix and gateway). The router is broadcasting this Prefix.
If we configure /etc/sysconfig/network as IPV6_AUTOCONF=yes, RHEL will configure with it Prefix and gateway.
But we use the IPV6_AUTOCONF=no and we can't find ipv6 Prefix.
It is necessary for us to create automated scripts.
What type of services in RHEL can detect a v6 prefix in the network?
EXAMPLE:
Step1:
# cat /etc/sysconfig/network
Code:
NETWORKING=yes
IPV6_AUTOCONF=yes
NETWORKING_IPV6=yes
HOSTNAME=myhost
GATEWAY=192.168.211.1
GATEWAYDEV=bond0
Code:
# ifconfig bond0
bond0 Link encap:Ethernet HWaddr 00:0C:29:03:D0:5E
inet addr:192.168.211.138 Bcast:192.168.211.255 Mask:255.255.255.0
inet6 addr: 2000:192:168:211:20c:29ff:fe03:d05e/64 Scope:Global
inet6 addr: fe80::20c:29ff:fe03:d05e/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
...
Step2:
# cat /etc/sysconfig/network
NETWORKING=yes
IPV6_AUTOCONF=no
NETWORKING_IPV6=yes
HOSTNAME=myhost
GATEWAY=192.168.211.1
GATEWAYDEV=bond0
# ifconfig bond0
bond0 Link encap:Ethernet HWaddr 00:0C:29:03
0:5E
inet addr:192.168.211.138 Bcast:192.168.211.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe03:d05e/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1