基于IPV6的数据包分析

一 实验拓扑

二 路由配置

 

R1(config)#interface fastEthernet 0/1
R1(config-if)#ipv6 add
R1(config-if)#ipv6 address 2001:db8:050:1::1/64
R1(config-if)#no shutdown
*Mar 1 00:17:55.491: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Mar 1 00:17:56.491: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R1(config)#interface f
R1(config)#interface fastEthernet 0/0
R1(config-if)#ipv6 address 2001:db8:057:1::1/64
R1(config-if)#NO SHUTdown
*Mar 1 00:19:15.807: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:19:16.807: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if)#exit
R1(config)#ipv6 unicast-routing
R1(config)#ipv6 route 2001:db8:050:a::/64 2001:db8:050:1::2
R1(config)#ipv6 route 2001:db8:050:b::/64 2001:db8:050:2::2

R2(config)#interface fastEthernet 0/0
R2(config-if)#ipv6 address 2001:db8:050:1::2/64
R2(config-if)#no shutdown
*Mar 1 00:17:38.347: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:17:39.347: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R2(config-if)#exit
R2(config)#interface fastEthernet 0/1
R2(config-if)#ipv6 address 2001:db8:050:a::1/64

R2(config-if)#no shutdown
*Mar 1 00:18:29.115: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Mar 1 00:18:30.115: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

R2(config)#ipv6 unicast-routing

R2(config)#ipv6 2001:db8:050:2::/64 2001:db8:050:1::1
R2(config)#ipv6 route 2001:db8:050:2::/64 2001:db8:050:1::1

R2(config)#ipv6 route 2001:db8:050:b::/64 2001:db8:050:1::1

 

R3(config)#interface fastEthernet 0/0
R3(config-if)#ipv6 address 2001:db8:050:b::2/64

R3(config-if)#no shutdown

*Mar 1 00:01:35.491: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:01:36.491: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R3(config-if)#exit

R3(config)#ipv6 unicast-routing
R3(config)#ipv6 route 2001:db8:050:1::/64 2001:db8:050:2::1
R3(config)#ipv6 route 2001:db8:050:a::/64 2001:db8:050:2::1

R3(config)#exit

 

R4(config)#ipv6 unicast-routing

R4(config)#interface fastEthernet 0/1

R4(config-if)#ipv6 enable


R4(config-if)#ipv6 address autoconfig


R4(config-if)#no shutdown

*Mar 1 00:26:12.007: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Mar 1 00:26:13.007: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

R4(config-if)#exit

R4(config)#ipv6 route 2001:db8:050:1::/64 2001:db8:050:a::1
R4(config)#ipv6 route 2001:db8:050:2::/64 2001:db8:050:a::1
R4(config)#ipv6 route 2001:db8:050:b::/64 2001:db8:050:a::1

R4(config)#exit

 

 

R5(config)#interface fastEthernet 0/0


R5(config-if)#ipv6 enable

R5(config-if)#ipv6


R5(config-if)#ipv6 address autoconfig

R5(config-if)#no shutdown

*Mar 1 00:28:47.743: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:28:48.743: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up


R5(config)#exit

*Mar 1 00:28:58.479: %SYS-5-CONFIG_I: Configured from console by console

Enter configuration commands, one per line. End with CNTL/Z.
R5(config)#ipv6 route 2001:db8:050:1::/64 2001:db8:050:b::1
R5(config)#ipv6 route 2001:db8:050:2::/64 2001:db8:050:b::1
R5(config)#ipv6 route 2001:db8:050:a::/64 2001:db8:050:b::1

R5(config)#exit

 

 

 

 

 

R1 PING R2(学号050)

 

R4 PING R1(学号050)

 

 136

 

             

 

128

129、

135

 

 

 

 

 

posted on 2019-03-21 15:59  与风同行  阅读(248)  评论(1编辑  收藏  举报