CiscoでIPv6トンネル接続 » History » Version 4
Tsutomu KIMURA, 01/25/2015 08:12 PM
1 | 1 | Tsutomu KIMURA | h1. CiscoでIPv6トンネル接続 |
---|---|---|---|
2 | |||
3 | 2 | Tsutomu KIMURA | この時代に敢えてトンネル接続でIPv6通信を行いたいと思う人は、間違いなく固定IPv6アドレスを欲しいと願う人達でしょう。はい、私もその一人です。 |
4 | |||
5 | 1 | Tsutomu KIMURA | h2. OCNのIPv6トンネリング接続サービスの場合 |
6 | 2 | Tsutomu KIMURA | |
7 | まずはこれだよね…と思ってたらいつの間にか *%{color: red}サービスの新規受付が終わっている罠%* 。 |
||
8 | |||
9 | 4 | Tsutomu KIMURA | !OCN-IPv6-tunnel-connection-service-end.png! |
10 | 2 | Tsutomu KIMURA | |
11 | ということでISPとの契約云々に関する話は省略。以下、実際の設定です。 |
||
12 | |||
13 | <pre> |
||
14 | interface Loopback1 |
||
15 | ip address xxx.xxx.xxx.xxx 255.255.255.255 |
||
16 | ipv6 address 2001:380:649::/128 anycast |
||
17 | ipv6 address 2001:380:649:1::/64 eui-64 |
||
18 | ipv6 address autoconfig |
||
19 | ipv6 enable |
||
20 | ! |
||
21 | interface Tunnel0 |
||
22 | description IPv6 tunnel(OCN) |
||
23 | no ip address |
||
24 | ip mtu 1430 |
||
25 | ipv6 enable |
||
26 | ipv6 inspect T0_in in |
||
27 | ipv6 inspect T0_out out |
||
28 | ipv6 traffic-filter t0_in in |
||
29 | ipv6 traffic-filter t0_out out |
||
30 | tunnel source BRI0 |
||
31 | tunnel mode ipv6ip |
||
32 | tunnel destination xxx.xxx.xxx.xxx |
||
33 | ! |
||
34 | interface BRI0 |
||
35 | ip unnumbered Loopback1 |
||
36 | ip access-group bri0_in in |
||
37 | ip access-group bri0_out out |
||
38 | ip mtu 1454 |
||
39 | ip nat outside |
||
40 | ip virtual-reassembly in |
||
41 | encapsulation ppp |
||
42 | dialer idle-timeout 0 |
||
43 | dialer string 1492 |
||
44 | dialer-group 1 |
||
45 | ipv6 unnumbered Loopback1 |
||
46 | isdn switch-type ntt |
||
47 | isdn point-to-point-setup |
||
48 | ppp authentication chap callin |
||
49 | ppp chap hostname foo@bar.baz |
||
50 | ppp chap password 7 ******** |
||
51 | no cdp enable |
||
52 | ! |
||
53 | </pre> |
||
54 | |||
55 | ……微妙におかしい気がしないでもないのですが、ひとまずこれで動いています。 |
||
56 | 1 | Tsutomu KIMURA | |
57 | h2. tunnelbrokerサービスを使う場合 |