1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ZRouterでIPv6

Last updated at Posted at 2017-08-24

なんとなく思いついてZRouterにIPv6なプロファイルを作ってみました。

ipv6のプロファイルを選択するとINET6のoptionが設定されたカーネルができあがります。ライブラリなどの作り直しも必要なので、objディレクトリのtmpの下のファイルを消してフルビルドした方が良いです。

とりあえずちょうどいじっていたAR7240(mips)でビルドしてみました。最近margeした12-Currentベースでもちろんすんなりビルドは通ります。

INET6 カーネルサイズ
なし 3970340
なし(圧縮) 938876
あり 4268736
あり(圧縮) 1012733

素の状態で7%くらい大きくなっています。

# ifconfig arge1
arge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 62:73:64:5a:22:54
        inet 10.10.10.70 netmask 0xffffff00 broadcast 10.10.10.255 
        inet6 fe80::6073:64ff:fe5a:2254%arge1 prefixlen 64 scopeid 0x6 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet 1000baseT <full-duplex>
        status: active
# ping6 -c 10 fe80::213:3bff:fe12:8104%arge1
PING6(56=40+8+8 bytes) fe80::6073:64ff:fe5a:2254%arge1 --> fe80::213:3bff:fe12:8
104%arge1
16 bytes from fe80::213:3bff:fe12:8104%arge1, icmp_seq=0 hlim=64 time=1.107 ms
16 bytes from fe80::213:3bff:fe12:8104%arge1, icmp_seq=1 hlim=64 time=0.624 ms
16 bytes from fe80::213:3bff:fe12:8104%arge1, icmp_seq=2 hlim=64 time=0.660 ms
16 bytes from fe80::213:3bff:fe12:8104%arge1, icmp_seq=3 hlim=64 time=0.664 ms
16 bytes from fe80::213:3bff:fe12:8104%arge1, icmp_seq=4 hlim=64 time=0.652 ms
16 bytes from fe80::213:3bff:fe12:8104%arge1, icmp_seq=5 hlim=64 time=0.643 ms
16 bytes from fe80::213:3bff:fe12:8104%arge1, icmp_seq=6 hlim=64 time=0.644 ms
16 bytes from fe80::213:3bff:fe12:8104%arge1, icmp_seq=7 hlim=64 time=0.664 ms
16 bytes from fe80::213:3bff:fe12:8104%arge1, icmp_seq=8 hlim=64 time=0.624 ms
16 bytes from fe80::213:3bff:fe12:8104%arge1, icmp_seq=9 hlim=64 time=0.658 ms

--- fe80::213:3bff:fe12:8104%arge1 ping6 statistics ---
10 packets transmitted, 10 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.624/0.694/1.107/0.138 ms
# 

無職で貧乏なので、光とか使えないので、外とv6な通信ができません。T T

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?