bloxHub

www.infoblox.com/community

Using GNS3 to Model a Simple IPv6 Network (part 3)

Picking up where we left off, let’s take a look at some packet captures using Wireshark that will give us more insight into what’s happening with SLAAC (Stateless Address Autoconfiguration) as it auto-configures an IPv6 address.

Start GNS3 and recreate the topology and configuration from the last post.

In the topology window right click on the link between the router and host. Choose capture then select the interface (if you’ve used the router/host topology, only the router ethernet interface will appear as a choice). Note: if you have enabled the router interface GNS will complain that there is no traffic to capture (even if you have, you may get the error anyway but you should see the router interface in the “Captures” portion of the GNS3 screen).

using gns3 part3 - 1

In the “Captures” window, right click on the interface and choose Start Wireshark.

using gns3 part3 - 1

X11, then Wireshark will start and you should get a screen that looks similar to the one below.

using gns3 part3 - 3

Let’s filter out the packets not related to IPv6 by typing ipv6 in the filter box then pressing Apply.

using gns3 part3 - 4

Unless you’ve just configured the IPv6 address you’ll see only router advertisements. Let’s take a closer look at one.

using gns3 part3 - 5

First, expand the “Ethernet II” heading in the middle window.

using gns3 part3 - 6

Note the EtherType is set for 0x86DD indicating IPv6. Now expand the “Internet Protocol Version 6″ heading.

using gns3 part3 - 7

The Next header field is set to a value of 56 indicating that the packet is an ICMPv6 packet. The Hop limit is set to 255 meaning the packet is restricted to the local segment and will be discarded by any routers.

The source address will be the link-local address of the originating router while the destination address is the link-local scoped all-nodes multicast address of ff02::1.

Finally, expand the “Internet Control Message Protocol v6″ heading then the “ICMPv6 Option” subheading.

using gns3 part3 - 8

The type of ICMPv6 packet is specified as 134, the code for Router Advertisements and under the “ICMPv6 Option” subheading you can see the advertised prefix of whatever /64 you configured on your router interface (in our example 2001:db8:cafe:1::).

Try removing and re-adding the /64 prefix on the router interface. This will generate some other neighbor discovery packets, such as neighbor solicitations and advertisements.

By now, you should have a grasp of how GNS3 can help you “peek under the hood” with IPv6. Be sure to try modeling your particular IPv6 network challenges with GNS3.

 

File attachments: 
Archived: 
Select a category: 
Section: 

Tags:

dynamips, gns3, ipv6, ipv6 lab, ipv6 validation, packet capture

Add comment

Log in or register to post comments

Welcome to bloxHub

Welcome to bloxHub, our community for users of Infoblox products. Most of our content can be viewed as a guest, but if you wish to contribute or join a conversation, you will need to log in. If you don't have a bloxHub account, we invite you to register an account and join us.

Follow us on Twitter

Follow us on Twitter at @bloxHub and we'll keep you notified of new content on the community as well as webinars and other items of interest to Infoblox users.