Multicast Lab Preparation

My idea of studying the CCIE topics includes sniffing the packets using Wireshark and study the contents of the packet. This I think, is a good way to understand how a protocol works and what components/ fields make up a packet of a certain protocol. I also will continue making use of VMware to host operating systems to be used for my studies of Multicast, QoS and other topics. Here I will show I set up my Guest OS and install the Multicast Traffic Generator I will be using.

Requirements:

VMware Server Installer
MINT software for Linux (Multicast Application)
GNS3
Ubuntu image
Wireshark

Steps:

1. Install VMware software. After installation, create a new virtual machine. For steps, on how to create a virtual machine in VMware click here. Use the Ubuntu ISO image downloaded as the ISO for the virtual CD drive in the virtual machine. This would automatically boot the live cd. It will display a menu and choose "Try Ubuntu without any change to your computer." Screenshot from Ubuntu site seen below.



2. Let the Live CD run and when it fully boots up and shows the desktop, click Install Icon as seen below.


3. Once Ubuntu is done installing on your VMware, run it and it should be ready to be used the first time. Make sure the virtual NIC is set to NAT or Bridge. If this is set to bridge, your internet router should lease an ip addresses to this virtual NIC and would be on the same subnet as your real NIC connected to your internet router.

4. Check if you can browse the internet using Firefox on your Ubuntu VM. Download the MINT from http://mc-mint.sourceforge.net/. Download the latest version 1.2.

5. Ubuntu might need an update to install or compile *.tar files so we would need to update and install those updates. Execute the commands below on the Applications -> Accessories ->Terminal, just make sure you have internet connectivity on your Ubuntu VM.

sudo apt-get update

sudo apt-get install build-essential


6. Now its time to install MINT. Copy the downloaded mint to your /home/username directory. Unzip the file using commands below.

gzip -d mint-1.2.tar.gz

tar -xvf mint-1.2.tar


7. Go to the new mint directory created and execute the command "make" to compile.

8. If you want to install it to /usr/local/bin execute "make install". Open the README file for more details on how to install and run MINT by going to the directory ./mint and execute "more README".

9. Integrate your Ubuntu VM to your GNS by dragging a cloud as seen below(Click on the image to enlarge). Click on the cloud and Choose the VMware NIC and click add. Connect your GNS3 routers ethernet interface to the cloud and then configure the interface with same subnet IP as your VMware interface. Mine defaulted to 192.168.18.0/24. Check your Ubuntu ip address by executing "ifconfig" on the terminal and then ping it from the router to test connectivity. This should be ready for the exercises I will do in my studies.


10. Download Wireshark, on your host Operating System, (I assume its Windows) then install it. It should be ready to sniff any traffic on the VMware virtual NIC's.

Now, I am ready to start my mini labs for Multicasting. :)

Comments

8 Responses to "Multicast Lab Preparation"

Anonymous said... October 29, 2009 at 4:13 PM

Where I can download this video?

Pete said... October 29, 2009 at 4:52 PM

This is not a video. Its merely instructions with screenshots how I set this up.

Senthil said... November 22, 2009 at 4:38 AM

hi good post .. keep it up ,
Please try to visit http://l2l3.blogspot.com if u find time

mattiwei said... May 14, 2010 at 7:48 PM

I have submitted a patch to mint-1.2 to specify on which interface mint binds to when acting as a receiver on a multi-homed host. Check Mint's project page on Sourceforge.

Anonymous said... December 3, 2010 at 5:00 PM

Hi there,

From 7. Go to the new mint directory created and execute the command "make" to compile.---

After I execute make I am getting error. See below

=======================
ubuntu@billy:~$ tar -xvf mint-1.2.tar
mint-1.2/
mint-1.2/AUTHORS
mint-1.2/ChangeLog
mint-1.2/gpl.txt
mint-1.2/Makefile
mint-1.2/README
mint-1.2/TODO
mint-1.2/src/
mint-1.2/src/ipv4_net.c
mint-1.2/src/ipv6_net.c
mint-1.2/src/log.c
mint-1.2/src/mint.c
mint-1.2/src/transmit.c
mint-1.2/src/errors.h
mint-1.2/src/mint.h
mint-1.2/src/transmit.h


ubuntu@billy:~$ cd mint-1.2
ubuntu@billy:~/mint-1.2$ ls
AUTHORS ChangeLog gpl.txt Makefile README src TODO


ubuntu@billy:~/mint-1.2$ make
gcc -W -Wall -O3 -g src/mint.c -c
In file included from src/mint.c:32:
src/mint.h:18: warning: conflicting types for built-in function ‘log’
src/mint.c:68: warning: built-in function ‘logf’ declared as non-function
src/mint.c: In function ‘usage’:
src/mint.c:248: warning: format not a string literal and no format arguments
gcc -W -Wall -O3 -g src/ipv4_net.c -c
In file included from src/ipv4_net.c:17:
src/mint.h:18: warning: conflicting types for built-in function ‘log’
gcc -W -Wall -O3 -g src/ipv6_net.c -c
In file included from src/ipv6_net.c:15:
src/mint.h:18: warning: conflicting types for built-in function ‘log’
src/ipv6_net.c: In function ‘host2addr’:
src/ipv6_net.c:43: error: ‘struct in6_addr’ has no member named ‘in6_u’
make: *** [ipv6_net.o] Error 1



What should I see when I type the make?

صداي بي صدا said... January 23, 2013 at 7:29 AM

Hi I get the same output when I issue make.
ahmadhr@ubuntu:~/Downloads/mint-1.2$ make
gcc -W -Wall -O3 -g src/mint.c -c
In file included from src/mint.c:32:0:
src/mint.h:18:6: warning: conflicting types for built-in function ‘log’ [enabled by default]
src/mint.c:68:7: warning: built-in function ‘logf’ declared as non-function [enabled by default]
src/mint.c: In function ‘usage’:
src/mint.c:248:2: warning: format not a string literal and no format arguments [-Wformat-security]
gcc -W -Wall -O3 -g src/ipv4_net.c -c
In file included from src/ipv4_net.c:17:0:
src/mint.h:18:6: warning: conflicting types for built-in function ‘log’ [enabled by default]
gcc -W -Wall -O3 -g src/ipv6_net.c -c
In file included from src/ipv6_net.c:15:0:
src/mint.h:18:6: warning: conflicting types for built-in function ‘log’ [enabled by default]
src/ipv6_net.c: In function ‘host2addr’:
src/ipv6_net.c:43:7: error: ‘struct in6_addr’ has no member named ‘in6_u’
make: *** [ipv6_net.o] Error 1
ahmadhr@ubuntu:~/Downloads/mint-1.2$
ahmadhr@ubuntu:~/Downloads/mint-1.2$ cd /usr/local/bin/
ahmadhr@ubuntu:/usr/local/bin$
ahmadhr@ubuntu:/usr/local/bin$ make install
make: *** No rule to make target `install'. Stop.

Anonymous said... June 29, 2013 at 9:07 PM

gcc -W -Wall -O3 -g src/ipv6_net.c -c
In file included from src/ipv6_net.c:15:0:
src/mint.h:18:6: warning: conflicting types for built-in function ‘log’ [enabled by default]
src/ipv6_net.c: In function ‘host2addr’:
src/ipv6_net.c:43:7: error: ‘struct in6_addr’ has no member named ‘in6_u’
make: *** [ipv6_net.o] Error 1


Everytime.

Ulf said... July 8, 2014 at 3:50 PM

Hi,
in src/ipv6_net.c
replace:
if (! IN6_IS_ADDR_MULTICAST (group6_addr-> in6_u.u6_addr8))
with:
if (! IN6_IS_ADDR_MULTICAST (group6_addr-> __in6_u.__u6_addr8))

make clean
make

regards,
ulf

Post a Comment

Certifications

Certifications

The Dreamer

A fun loving person who enjoys learning new things. Currently working as a Network Engineer supporting the global network of a Fortune 500 company. This blog serves as my notes for the labs I created for my CCIE journey. I can guarantee there are errors in my posts. If you spot them, please let me know.

Join my Facebook Page I WANT TO BE A CCIE

Donate to the Cause

My aim is to create materials for free and possibly a free lab. If you wish to help out, please send any amount. Thanks.

Join my Bandwagon

Blogs that I Read