( arpi_esp | 2019. 12. 05., cs - 18:39 )

Szerkesztve: 2019. 12. 05., cs - 18:40

hat nekem annyira nem muxik (mac-en):

bash-3.2# ifconfig gif0 create
ifconfig: SIOCIFCREATE2: File exists
bash-3.2# ifconfig gif0 tunnel 86.101.34.184 216.66.87.14
bash-3.2# ifconfig gif0 inet6 2001:470:1f1a:d7::2 2001:470:1f1a:d7::1 prefixlen 128
bash-3.2# route -n add -inet6 default 2001:470:1f1a:d7::1
add net default: gateway 2001:470:1f1a:d7::1

bash-3.2# ifconfig gif0
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
    tunnel inet 86.101.34.184 --> 216.66.87.14
    inet6 fe80::7285:c2ff:fe49:d55d%gif0 prefixlen 64 scopeid 0x2
    inet6 2001:470:1f1a:d7::2 --> 2001:470:1f1a:d7::1 prefixlen 128
    nd6 options=201<PERFORMNUD,DAD>

bash-3.2# ping6 hup.hu
PING6(56=40+8+8 bytes) 2001:470:1f1a:d7::2 --> 2a01:6ee0:1:201::bad:c0de
ping6: sendmsg: Can't assign requested address
ping6: wrote hup.hu 16 chars, ret=-1

bash-3.2# ping6 2001:470:1f1a:d7::1
PING6(56=40+8+8 bytes) 2001:470:1f1a:d7::2 --> 2001:470:1f1a:d7::1
ping6: sendmsg: Can't assign requested address
ping6: wrote 2001:470:1f1a:d7::1 16 chars, ret=-1