ipv6 over dynamic l2tpv3 tunnel
2008-02-23 04:54:43来源:互联网 阅读 ()
跟GRE差不多,只不过是2层的,相当于两个ipv6的接口直连了,扩展性也不好。另外除了l2tpv3,EoMPLS也是个选择。
R1
!
interface Ethernet1/2
no ip address
duplex full
ipv6 enable
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
!
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
!
interface Ethernet1/3
no ip address
duplex full
ipv6 enable
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
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash