about IPv6 configuration on Solaris
Yann-Ju Chu
yjchui@ms.chttl.com.tw
Sat, 07 Feb 1998 11:20:03 +0800
I have successfully set up a configured tunnel with a 6Bone site.
However, at present, I have trouble in configuring another IPv6 host to
communicate directly with my original host. Does anybody have any
experience in configuring IPv6 release 5.3 of Solaris and can help me
solve the problem?
The following is the configuration information from my two IPv6
hosts:
I have set up two IPv6 hosts, say Host A and B, with IPv6 Release5.3 on
x86. I have successfully buit a configured tunnel of
static route with DIGITAL-CA(204.123.18.254) on Host A (202.39.157.141,
3ffe:1200:3001:0:80:c8ff:fe33:fa93) and join 6Bone (netmask is 8 rather
than default 128). Besides, there is also a automatic tunnel built on
Host A.
At present, I am trying to set up another IPv6 host (Host B,
202.39.157.142, 3ffe:1200:3001:0:80:c8ff:fe2f:c72d) on the same ethernet
segment with Host A. I wish the two hosts (host A and B) can PING (v6)
to each other directly without any tunnel or IPv6 router. However, I
find that it does not work.(But it is OK with IPv4 protocol). I have
tried all configurations I could but still can get it works, Can you
please check it for me?
The following is the informations from "ifconfig(v6) and netstat(v6)"
For Host A (202.39.157.141) with configured tunnel:
1. The result of "ifconfig (v6)"
**************************
lo0#v6: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
inet6 ::1 netmask 128
lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232 inet 127.0.0.1
netmask ff000000
nei1: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
inet 202.39.157.141 netmask ffffff00 broadcast 202.39.157.255 ether
0:80:c8:33:fa:93
ip0: flags=8d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 4196 inet6
::202.39.157.141 ---> :: netmask 96
ip1: flags=8d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 4196 tunnel
src 202.39.157.141 tunnel dst 204.123.18.254 inet6
3ffe:1200:3001:0:80:c8ff:fe33:fa93 ---> 3ffe:: netmask 8
ip1:1: flags=8d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 4196 tunnel
src 202.39.157.141 tunnel dst 204.123.18.254 inet6 fe80::ca27:9d8d
---> fe80:: netmask 10
nei1#v6: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6
fe80::2:280:c8ff:fe33:fa93 netmask 10
nei1#v6:1: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6
3ffe:1200:3001:0:80:c8ff:fe33:fa93 netmask 80
***************************************
2. The result of "netstat (v6)"
************************
Routing Table: IPV4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
127.0.0.1 127.0.0.1 UH 0 0 lo0
202.39.157.0 202.39.157.141 U 3 2 nei1
224.0.0.0 202.39.157.141 U 3 0 nei1
default 202.39.157.254 UG 0 13 nei1
Routing Table: IPV6
Destination/Mask Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
::1/128 ::1 U 0 0 lo0#v6
ff00::/8 fe80::2:280:c8ff:fe33:fa93 UG 0 0
ip1:1
3ffe::/128 3ffe:1200:3001:0:80:c8ff:fe33:fa93 U 3 0
ip1
::/96 ::202.39.157.141 U 2 0 ip0
3ffe:1200:3001:0:80::/80 3ffe:1200:3001:0:80:c8ff:fe33:fa93 U 4
16 nei1#v6:1
fe00::/8 fe80::ca27:9d8d U 3 0 ip1:1
fe00::/8 fe80::2:280:c8ff:fe33:fa93 U 4 0
nei1#v6
default fe80::2:280:c8ff:fe33:fa93 U 4 5
nei1#v6
************************************************************
For Host B (202.39.157.142) with configured tunnel:
1. The result of "ifconfig (v6)"
**************************
lo0#v6: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232 inet6 ::1
netmask 128
lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232 inet 127.0.0.1
netmask ff000000
d22e0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
inet 202.39.157.142 netmask ffffff00 broadcast 202.39.157.255 ether
0:80:c8:2f:c7:2d
ip0: flags=8d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 4196 inet6
::202.39.157.142 ---> :: netmask 96
d22e0#v6: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6
fe80::1:280:c8ff:fe2f:c72d netmask 10
d22e0#v6:1: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6
3ffe:1200:3001:0:80:c8ff:fe2f:c72d netmask 80
**************************
2. The result of "netstat (v6)"
************************
Routing Table: IPV6
Destination/Mask Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
::1/128 ::1 U 0 0 lo0#v6
::/96 ::202.39.157.142 U 2 0 ip0
3ffe:1200:3001:0:80::/80 3ffe:1200:3001:0:80:c8ff:fe2f:c72d U 5
0 d22e0#v6:1
fe00::/8 fe80::1:280:c8ff:fe2f:c72d U 5 0
d22e0#v6
ff00::/8 fe80::1:280:c8ff:fe2f:c72d U 5 0
d22e0#v6
default fe80::1:280:c8ff:fe2f:c72d U 5 0
d22e0#v6
***************************************
If I give the command "/usr/ipv6/sbin/ping
3ffe:1200:3001:0:80:c8ff:fe2f:c72d" on Host A,, I never get any
response.
Yann-Ju Chu