![Picture](/uploads/2/1/1/3/21136920/4914609.png?366)
Requirement:
- show mac address of interface
- change mac address of interface
- Configure link local ipv6 addresses on interfaces
- ping and check connectivity
! ipv61 configuration hostname ipv61 interface FastEthernet0/0 mac-address bcde.9988.22aa no shutdown ipv6 enable | ! ipv62 configuration hostname ipv62 interface FastEthernet0/0 mac-address dcaa.4433.0066 no shutdown ipv6 enable |
Verification:
ipv61#show interface fastEthernet 0/0 ;
FastEthernet0/0 is administratively down, line protocol is down
Hardware is Gt96k FE, address is c400.1ad4.0000 (bia c400.1ad4.0000)
Note: Compare both addresses mentioned above. Both are same. We have checked this before giving mac-address command to router
After giving mac-address bcde.9988.22aa command to router
------------------------------------------------------------------------------------------------------------------------------------------------
ipv61(config-if)#mac-address bcde.9988.22aa
ipv61#sh int f0/0
FastEthernet0/0 is administratively down, line protocol is down
Hardware is Gt96k FE, address is bcde.9988.22aa (bia c400.1ad4.0000)
Note: Compare both addresses mentioned above. Both are now different
------------------------------------------------------------------------------------------------------------------------------------------------
ipv61# debug ipv6 packet
IPv6 unicast packet debugging is on
ipv61(config-if)#ipv6 enable
*Mar 1 01:16:45.395: IPv6-IDB: FastEthernet0/0 is up, IPv6 is (up, enabled): enabling
*Mar 1 01:16:45.411: IPV6: source :: (local)
*Mar 1 01:16:45.411: dest FF02::1:FF88:22AA (FastEthernet0/0)
*Mar 1 01:16:45.411: traffic class 224, flow 0x0, len 64+16, prot 58, hops 255, originating
*Mar 1 01:16:45.411: IPv6: Sending on FastEthernet0/0
*Mar 1 01:16:45.427: IPV6: source :: (local)
*Mar 1 01:16:45.427: dest FF02::16 (FastEthernet0/0)
*Mar 1 01:16:45.427: traffic class 224, flow 0x0, len 76+0, prot 0, hops 1, originating
*Mar 1 01:16:45.427: IPv6: Sending on FastEthernet0/0
*Mar 1 01:16:46.191: IPV6: source :: (local)
ipv61(config-if)#
*Mar 1 01:16:46.191: dest FF02::16 (FastEthernet0/0)
*Mar 1 01:16:46.191: traffic class 224, flow 0x0, len 76+0, prot 0, hops 1, originating
*Mar 1 01:16:46.195: IPv6: Sending on FastEthernet0/0
*Mar 1 01:16:46.411: IPV6: source FE80::BEDE:99FF:FE88:22AA (local)
*Mar 1 01:16:46.411: dest FF02::1 (FastEthernet0/0)
*Mar 1 01:16:46.411: traffic class 224, flow 0x0, len 72+8, prot 58, hops 255, originating
*Mar 1 01:16:46.415: IPv6: Sending on FastEthernet0/0
*Mar 1 01:16:46.415: IPV6: source FE80::BEDE:99FF:FE88:22AA (local)
*Mar 1 01:16:46.415: dest FF02::16 (FastEthernet0/0)
ipv61(config-if)#
*Mar 1 01:16:46.419: traffic class 224, flow 0x0, len 76+0, prot 0, hops 1, originating
*Mar 1 01:16:46.419: IPv6: Sending on FastEthernet0/0
*Mar 1 01:16:46.419: IPv6-IDB: FastEthernet0/0 is up, IPv6 is (up, enabled): came up
ipv61(config-if)#
*Mar 1 01:16:47.423: IPV6: source FE80::BEDE:99FF:FE88:22AA (local)
*Mar 1 01:16:47.423: dest FF02::16 (FastEthernet0/0)
*Mar 1 01:16:47.423: traffic class 224, flow 0x0, len 76+0, prot 0, hops 1, originating
*Mar 1 01:16:47.427: IPv6: Sending on FastEthernet0/0
------------------------------------------------------------------------------------------------------------------------------------------------
ipv61#show ipv6 interface brief
FastEthernet0/0 [up/up]
FE80::BEDE:99FF:FE88:22AA
FastEthernet0/1 [administratively down/down]
ipv62#ping ipv6 FE80::BEDE:99FF:FE88:22AA
Output Interface: fastethernet0/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FE80::BEDE:99FF:FE88:22AA, timeout is 2 seconds:
Packet sent with a source address of FE80::DEAA:44FF:FE33:66
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/57/176 ms
FastEthernet0/0 is administratively down, line protocol is down
Hardware is Gt96k FE, address is c400.1ad4.0000 (bia c400.1ad4.0000)
Note: Compare both addresses mentioned above. Both are same. We have checked this before giving mac-address command to router
After giving mac-address bcde.9988.22aa command to router
------------------------------------------------------------------------------------------------------------------------------------------------
ipv61(config-if)#mac-address bcde.9988.22aa
ipv61#sh int f0/0
FastEthernet0/0 is administratively down, line protocol is down
Hardware is Gt96k FE, address is bcde.9988.22aa (bia c400.1ad4.0000)
Note: Compare both addresses mentioned above. Both are now different
------------------------------------------------------------------------------------------------------------------------------------------------
ipv61# debug ipv6 packet
IPv6 unicast packet debugging is on
ipv61(config-if)#ipv6 enable
*Mar 1 01:16:45.395: IPv6-IDB: FastEthernet0/0 is up, IPv6 is (up, enabled): enabling
*Mar 1 01:16:45.411: IPV6: source :: (local)
*Mar 1 01:16:45.411: dest FF02::1:FF88:22AA (FastEthernet0/0)
*Mar 1 01:16:45.411: traffic class 224, flow 0x0, len 64+16, prot 58, hops 255, originating
*Mar 1 01:16:45.411: IPv6: Sending on FastEthernet0/0
*Mar 1 01:16:45.427: IPV6: source :: (local)
*Mar 1 01:16:45.427: dest FF02::16 (FastEthernet0/0)
*Mar 1 01:16:45.427: traffic class 224, flow 0x0, len 76+0, prot 0, hops 1, originating
*Mar 1 01:16:45.427: IPv6: Sending on FastEthernet0/0
*Mar 1 01:16:46.191: IPV6: source :: (local)
ipv61(config-if)#
*Mar 1 01:16:46.191: dest FF02::16 (FastEthernet0/0)
*Mar 1 01:16:46.191: traffic class 224, flow 0x0, len 76+0, prot 0, hops 1, originating
*Mar 1 01:16:46.195: IPv6: Sending on FastEthernet0/0
*Mar 1 01:16:46.411: IPV6: source FE80::BEDE:99FF:FE88:22AA (local)
*Mar 1 01:16:46.411: dest FF02::1 (FastEthernet0/0)
*Mar 1 01:16:46.411: traffic class 224, flow 0x0, len 72+8, prot 58, hops 255, originating
*Mar 1 01:16:46.415: IPv6: Sending on FastEthernet0/0
*Mar 1 01:16:46.415: IPV6: source FE80::BEDE:99FF:FE88:22AA (local)
*Mar 1 01:16:46.415: dest FF02::16 (FastEthernet0/0)
ipv61(config-if)#
*Mar 1 01:16:46.419: traffic class 224, flow 0x0, len 76+0, prot 0, hops 1, originating
*Mar 1 01:16:46.419: IPv6: Sending on FastEthernet0/0
*Mar 1 01:16:46.419: IPv6-IDB: FastEthernet0/0 is up, IPv6 is (up, enabled): came up
ipv61(config-if)#
*Mar 1 01:16:47.423: IPV6: source FE80::BEDE:99FF:FE88:22AA (local)
*Mar 1 01:16:47.423: dest FF02::16 (FastEthernet0/0)
*Mar 1 01:16:47.423: traffic class 224, flow 0x0, len 76+0, prot 0, hops 1, originating
*Mar 1 01:16:47.427: IPv6: Sending on FastEthernet0/0
------------------------------------------------------------------------------------------------------------------------------------------------
ipv61#show ipv6 interface brief
FastEthernet0/0 [up/up]
FE80::BEDE:99FF:FE88:22AA
FastEthernet0/1 [administratively down/down]
ipv62#ping ipv6 FE80::BEDE:99FF:FE88:22AA
Output Interface: fastethernet0/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FE80::BEDE:99FF:FE88:22AA, timeout is 2 seconds:
Packet sent with a source address of FE80::DEAA:44FF:FE33:66
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/57/176 ms