手机站
网通分站
电信主站
密 码:
用户名:
当前位置 : 主页>网络知识>Cisco技术>列表

ipv6 over dynamic l2tpv3 tunnel

来源:互联网 作者:west263.com 时间:2008-02-23
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!

跟GRE差不多,只不过是2层的,相当于两个ipv6的接口直连了,扩展性也不好。另外除了l2tpv3,EoMPLS也是个选择。
R1

hostname R1
!
interface Ethernet1/2
no ip address
duplex full
ipv6 enable


R2

hostname R2
!
pseudowire-class l2tpv3dynamic
encapsulation l2tpv3
ip local interface Loopback0
!
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface Ethernet1/1
no ip address
duplex full
no cdp enable
xconnect 3.3.3.3 1 encapsulation l2tpv3 pw-class l2tpv3dynamic
!
router ospf 100
router-id 2.2.2.2
log-adjacency-changes
redistribute connected subnets
redistribute static subnets
network 192.168.0.0 0.0.255.255 area 0


R3

hostname R3
!
pseudowire-class l2tpv3dynamic
encapsulation l2tpv3
ip local interface Loopback0
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface Ethernet1/2
ip address 192.168.23.3 255.255.255.0
duplex full
!
interface Ethernet1/4
no ip address
duplex full
no cdp enable
xconnect 2.2.2.2 1 encapsulation l2tpv3 pw-class l2tpv3dynamic
!
router ospf 100
router-id 3.3.3.3
log-adjacency-changes
redistribute connected subnets
redistribute static subnets
network 192.168.0.0 0.0.255.255 area 0


R4

hostname R4
!
interface Ethernet1/3
no ip address
duplex full
ipv6 enable


R4#sho ipv6 int e1/3
Ethernet1/3 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::C800:31FF:FEB1:1F
No global unicast address is configured
Joined group address(es):
FF02::1
FF02::2
FF02::1:FFB1:1F
MTU is 1500 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

R1#ping ipv6 FE80::C800:31FF:FEB1:1F
Output Interface: ethernet1/2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FE80::C800:31FF:FEB1:1F, timeout is 2 seconds:
Packet sent with a source address of FE80::C800:31FF:FEB5:1E
!!!!!


Success rate is 100 percent (5/5), round-trip min/avg/max = 232/676/1444 ms

文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!