Manual IPv6 tunneling

R3----------36.1.1.0/24-------R6--------46.1.1.0/24---------R4
==================================================
hostname r3

interface Tunnel0
ipv6 address 3FFE:A1:A2:A3::3/127
tunnel source 36.1.1.3
tunnel destination 46.1.1.4
tunnel mode ipv6ip
!
interface FastEthernet0/0
ip address 36.1.1.3 255.255.255.0

router ospf 1
network 36.1.1.0 0.0.0.255 area 10
-------------------------------------------------------------
r3#ping ipv6 3ffe:a1:a2:a3::2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3FFE:A1:A2:A3::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/3/4 ms
--------------------------------------------------------------
r3#sh ipv6 int brie
FastEthernet0/0 [up/up]
unassigned
Serial0/0 [administratively down/down]
unassigned
BRI0/0 [administratively down/down]
unassigned
BRI0/0:1 [administratively down/down]
unassigned
BRI0/0:2 [administratively down/down]
unassigned
Serial0/1 [administratively down/down]
unassigned
Tunnel0 [up/up]
FE80::2401:103
3FFE:A1:A2:A3::3
==================================================
hostname r4

interface Tunnel0
ipv6 address 3FFE:A1:A2:A3::2/127
tunnel source 46.1.1.4
tunnel destination 36.1.1.3
tunnel mode ipv6ip
!
interface Ethernet0/0
ip address 46.1.1.4 255.255.255.0

router ospf 1
nework 46.1.1.0 0.0.0.255 area 10

r4#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

36.0.0.0/24 is subnetted, 1 subnets
O 36.1.1.0 [110/20] via 46.1.1.6, 00:25:16, Ethernet0/0
46.0.0.0/24 is subnetted, 1 subnets
C 46.1.1.0 is directly connected, Ethernet0/0

r4#
r4#sh int tu0
Tunnel0 is up, line protocol is up
Hardware is Tunnel
MTU 1514 bytes, BW 9 Kbit, DLY 500000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation TUNNEL, loopback not set
Keepalive not set
Tunnel source 46.1.1.4, destination 36.1.1.3
Tunnel protocol/transport IPv6/IP, key disabled, sequencing disabled
Tunnel TTL 255
Checksumming of packets disabled, fast tunneling enabled
Last input 00:01:22, output 00:01:22, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/0 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
5 packets input, 700 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
17 packets output, 1624 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
r4#sh ipv6 int tu0
Tunnel0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::2E01:104
Global unicast address(es):
3FFE:A1:A2:A3::2, subnet is 3FFE:A1:A2:A3::2/127
Joined group address(es):
FF02::1
FF02::1:FF00:2
FF02::1:FF01:104
MTU is 1480 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值