Hi,
So sorry ask so many question.
For SAD entires,use this and the key also
"1234567890123456"?I no need to generate the key by own?
add -6 2001:200:141:4320:1::1 2001:200:141:4320:1::2 ah 5555 -m transport -A hmac-md5 "1234567890123456";
I not have file ipsec.conf.How to enable ipsec?
I load module IPv6 first
[root@root net]# modprobe ipv6
[root@root net]# lsmod |grep -w 'ipv6' && echo "IPv6 module successfully loaded> "
ipv6 268097 28
IPv6 module successfully loaded
[root@root net]# test -f /proc/net/if_inet6 && echo "Running kernel is IPv6 ready"
Running kernel is IPv6 ready
I check IPv6 enable by see "inet6 addr: fe80::210:dcff:feff:1a41/64 Scope:Link"
I assign my eth0 as inet6 addr: 2001:328:2003:2::1/64 Scope:Globa"
[root@root net]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:10

C:FF:1A:41
inet addr:10.0.0.12 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: 2001:328:2003:2::1/64 Scope:Global
inet6 addr: fe80::210:dcff:feff:1a41/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7281 errors:0 dropped:0 overruns:0 frame:0
TX packets:5377 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8944954 (8.5 MiB) TX bytes:507642 (495.7 KiB)
Interrupt:11 Base address:0xe800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4417 errors:0 dropped:0 overruns:0 frame:0
TX packets:4417 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4207220 (4.0 MiB) TX bytes:4207220 (4.0 MiB)
Thanks