I am currently trying to setup static ipv6 address with a persistent default gateway. This is on a Solaris 10 non global zone running inside a Solaris 10 global zone. My production server I am comparing against is a Solaris 10 xen instance running on a Oracle Solaris xen instance.
I have got it working but not as intended. I am dont understand why when i plumb the interface and it comes online with the assigned ip that it also created another 2 interfaces igb1:2 and igb1:3. Why does this happen?
I thought that was the job of ndp to stop auto configuration. My /etc/inet/ndpd.conf file with 644 perms.
ifdefault StatelessAddrConf false
ifdefault StatefulAddrConf false
Here are the steps I have performed in the following order.
- created ndpd.conf file with above configuration.
- Enabled ndp "svcadm enable ndp"
- vi /etc/hostname6.igb1 to include the below config
addif x:y:z:1001::41/64 up - ifconfig igb1 inet6 plumb
- ifconfig igb1:1 inet6 plumb
- ifconfig igb1:1 inet6 x:y:z:1001::40/64 up
below is my ifconfig output
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
igb1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet x.y.z.41 netmask ffffff00 broadcast x.y.z.255
ether 0:21:28:75:dc:1
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
igb1: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
inet6 fe80::221:28ff:fe75:dc01/10
ether 0:21:28:75:dc:1
igb1:1: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
inet6 x:y:z:1001::41/64
igb1:2: flags=20a0841<UP,RUNNING,MULTICAST,NOLOCAL,ADDRCONF,IPv6> mtu 1500 index 2
inet6 subnet x:y:z:1001::/64
igb1:3: flags=20a0841<UP,RUNNING,MULTICAST,NOLOCAL,ADDRCONF,IPv6> mtu 1500 index 2
inet6 subnet x:y:z:1001::/64
We have this implemeneted on a production server. However, that server does not show they igb1:2 and igb1:3 interfaces. I can ping the gateway and the default route. I just dont think the :2, :3 interfaces should show up.