ip command to get ipv6 gateway
Hi,
Can someone tell how the ip command is able to fetch the ipv6 gateway details.
[root@CuCM-210 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
UUID=9e01d4c0-04b7-4d1c-aa31-3bf13f6b9576
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
IPADDR=10.126.155.210
NETMASK=255.255.255.0
GATEWAY=10.126.155.1
IPV6INIT=yes
IPV6ADDR=2001:155:155:155:250:56ff:fe8c:5a92/64
IPV6_AUTOCONF=no
DHCPV6C=no
IPV6_AUTOCONF & DHCPV6C is set to no, and gateway is not statically set, but still ip -6 route command is able to fetch the ipv6 gateway details, not sure from where.
[root@linux ~]# ip -6 route | grep ^default
default via fe80::224:98ff:fe15:8800 dev eth0 proto kernel metric 1024 expires 1779sec mtu 1500 advmss 1440 hoplimit 64
Can some one explain this.
Thanks,
Joe
|