[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ipv6



Hellow,
I have a question about ipv6.
So, I have dinamic IP and i registared an ipv6 IP, just for learning....
My PPP is using tun0 but it says : tun0: not multicast enabled, IPv6 not
enabled.
but i tried to make that, on gif0
in the attachment is the netstat -a befor and after it :))

thanx the help
woodi, Erdei Zsolt
ifconfig -a befor

lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32972
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
	inet6 ::1 prefixlen 128
	inet 127.0.0.1 netmask 0xff000000 
lo1: flags=8008<LOOPBACK,MULTICAST> mtu 32972
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun0: flags=11<UP,POINTOPOINT> mtu 1500
	inet 213.197.72.86 --> 213.197.72.1 netmask 0xffffff00 
tun1: flags=10<POINTOPOINT> mtu 3000
enc0: flags=0<> mtu 1536
bridge0: flags=0<> mtu 1500
bridge1: flags=0<> mtu 1500
gre0: flags=8010<POINTOPOINT,MULTICAST> mtu 1450
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280

netstat -a befor

Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp        0      0  line-72-86.dial..21186 segfault.kernel..6657  ESTABLISHED
tcp        0      0  LOCALHOST.6667         LOCALHOST.40796        ESTABLISHED
tcp        0      0  LOCALHOST.40796        LOCALHOST.6667         ESTABLISHED
tcp        0      0  LOCALHOST.6667         *.*                    LISTEN
tcp        0      0  *.smtp                 *.*                    LISTEN
tcp        0      0  *.ssh                  *.*                    LISTEN
tcp        0      0  LOCALHOST.sunrpc       *.*                    LISTEN
tcp        0      0  *.sunrpc               *.*                    LISTEN
udp        0      0  *.*                    *.*                   
udp        0      0  *.742[rusersd]         *.*                   
udp        0      0  *.846[rstatd]          *.*                   
udp        0      0  LOCALHOST.sunrpc       *.*                   
udp        0      0  *.sunrpc               *.*                   
udp        0      0  *.syslog               *.*                   
tcp6       0      0  *.ssh                  *.*                    LISTEN
udp6       0      0  *.521                  *.*                   
Active UNIX domain sockets
Address    Type   Recv-Q Send-Q      Inode       Conn       Refs    Nextref Addr
0xe0827400 dgram       0      0        0x0 0xe07ef9c0        0x0 0xe0817b80
0xe0815400 dgram       0      0        0x0 0xe07ef9c0        0x0 0xe0824c40
0xe0815100 dgram       0      0        0x0 0xe07ef9c0        0x0 0xe07f8980
0xe07f6500 dgram       0      0        0x0 0xe07ef9c0        0x0 0xe07ef480
0xe07f1d00 dgram       0      0        0x0 0xe07ef9c0        0x0        0x0
0xe07eea00 dgram       0      0 0xe40337ec        0x0 0xe081ffc0        0x0 /dev/log

ifconfig -a after :)

lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32972
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
	inet6 ::1 prefixlen 128
	inet 127.0.0.1 netmask 0xff000000 
lo1: flags=8008<LOOPBACK,MULTICAST> mtu 32972
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun0: flags=11<UP,POINTOPOINT> mtu 1500
	inet 213.197.72.86 --> 213.197.72.1 netmask 0xffffff00 
tun1: flags=10<POINTOPOINT> mtu 3000
enc0: flags=0<> mtu 1536
bridge0: flags=0<> mtu 1500
bridge1: flags=0<> mtu 1500
gre0: flags=8010<POINTOPOINT,MULTICAST> mtu 1450
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
	physical address inet 213.197.74.151 --> 64.71.128.26
	inet6 fe80::281d:d68b:af08:d0cb%gif0 -> :: prefixlen 64 scopeid 0xd
	inet6 3ffe:1200:3028:ff01::2fe5 -> 3ffe:1200:3028:ff01::2fe4 prefixlen 127
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280

netstat -a after:)

Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp        0      0  line-72-86.dial..21186 segfault.kernel..6657  ESTABLISHED
tcp        0      0  LOCALHOST.6667         LOCALHOST.40796        ESTABLISHED
tcp        0      0  LOCALHOST.40796        LOCALHOST.6667         ESTABLISHED
tcp        0      0  LOCALHOST.6667         *.*                    LISTEN
tcp        0      0  *.smtp                 *.*                    LISTEN
tcp        0      0  *.ssh                  *.*                    LISTEN
tcp        0      0  LOCALHOST.sunrpc       *.*                    LISTEN
tcp        0      0  *.sunrpc               *.*                    LISTEN
udp        0      0  *.*                    *.*                   
udp        0      0  *.742[rusersd]         *.*                   
udp        0      0  *.846[rstatd]          *.*                   
udp        0      0  LOCALHOST.sunrpc       *.*                   
udp        0      0  *.sunrpc               *.*                   
udp        0      0  *.syslog               *.*                   
tcp6       0      0  *.ssh                  *.*                    LISTEN
udp6       0      0  *.521                  *.*                   
Active UNIX domain sockets
Address    Type   Recv-Q Send-Q      Inode       Conn       Refs    Nextref Addr
0xe0827400 dgram       0      0        0x0 0xe07ef9c0        0x0 0xe0817b80
0xe0815400 dgram       0      0        0x0 0xe07ef9c0        0x0 0xe0824c40
0xe0815100 dgram       0      0        0x0 0xe07ef9c0        0x0 0xe07f8980
0xe07f6500 dgram       0      0        0x0 0xe07ef9c0        0x0 0xe07ef480
0xe07f1d00 dgram       0      0        0x0 0xe07ef9c0        0x0        0x0
0xe07eea00 dgram       0      0 0xe40337ec        0x0 0xe081ffc0        0x0 /dev/log

commands for ipv6:

ifconfig gif0 giftunnel 213.197.74.151 64.71.128.26
ifconfig gif0 inet6 3FFE:1200:3028:FF01::2fe5 3FFE:1200:3028:FF01::2fe4 prefixlen 127
route -n add -inet6 default 3FFE:1200:3028:FF01::2fe4