Sunteți pe pagina 1din 14

Integrate VMware Fusion with GNS3 on your Mac

http://binarynature.blogspot.sg/2013/09/integrate-vmware-fus...

22nd September 2013

Integrate VMware Fusion with GNS3 on your Mac

[https://dl.dropboxusercontent.com/u/1030586/blog/img/mac-gns3-vmf.png]

At long last, we can nally integrate VMware Fusion with GNS3. VMware Workstation for Windows and Linux has had this capability for quite some time, but Mac users were limited to VirtualBox, QEMU and Parallels for GNS3 integration. Not to take anything away from those virtualization products, but VMware is the virtualization standard in regards to broad industry support and compatibility. The following components were used for this tutorial: Mac OS X 10.8 [http://www.apple.com/osx] (also tested with Mac OS X 10.9) VMware Fusion 6.0 Professional [http://www.vmware.com/products/fusion] GNS3 [http://www.gns3.net] TunTap [http://tuntaposx.sourceforge.net] This tutorial assumes you have, at the very least, a basic amount of experience with each of the listed components. You can refer to my previous post Install and congure GNS3 with TunTap on the Mac [http://binarynature.blogspot.com/2010/07/mac-install-and-congure-gns3-with.html] for the GNS3 and TunTap elements. Another prerequisite is that all components are installed and set with a base conguration.

1 1.. V VM Mw wa ar re eF Fu us siio on n
VMware Fusion 6 6 is a hard requirement for this tutorial. VMware has made modications to the VMnet virtual switches (in version 6) to allow Ethernet bridging with other virtual network interfaces (e.g. TAP [http://en.wikipedia.org/wiki/TUN/TAP] ). If you use this tutorial with version 5 or below, you may encounter kernel panics [https://communities.vmware.com/message/2208054] on your Mac. I'm also using VMware Fusion 6.0 P Pr ro offe es ss siio on na all in my setup. The non-Professional [http://www.vmware.com/products/fusion-professional/compare.html] edition does not include the GUI Network Editor. # #1 1..1 1V Viir rt tu ua all N Ne et tw wo or rk kS Sw wiit tc ch he es s Our network conguration will use two host-only network switches. A host-only network (switch) is a network that is completely contained within the host computer. Host-only networking provides a network connection between the virtual machine and the host system by using a virtual network adapter that is visible on the host operating system. v vm mn ne et t1 1 is available by default and is listed as P Pr riiv va at te et to om my yM Ma ac c in the GUI. Lets now add the other one. 1. Open the P Pr re effe er re en nc ce es s window for VMware Fusion Professional. 2. Select N Ne et tw wo or rk k. 3. Click the + + symbol to add a new virtual switch. In my example, v vm mn ne et t5 5 is added. As the following screenshot shows, we will leave the A Allllo ow wv viir rt tu ua all m ma ac ch hiin ne es so on nt th hiis sn ne et tw wo or rk kt to oc co on nn ne ec ct tt to oe ex xt te er rn na all n ne et tw wo or rk ks s ((u us siin ng gN NA AT T)) and P Pr ro ov viid de ea ad dd dr re es ss se es so on nt th hiis sn ne et tw wo or rk kv viia a D DH HC CP P options unchecked. 4. Click the A Ap pp plly y button to save the setting, then close the P Pr re effe er re en nc ce es s window.

1 of 14

9/2/14 10:18 pm

Integrate VMware Fusion with GNS3 on your Mac

http://binarynature.blogspot.sg/2013/09/integrate-vmware-fus...

[https://dl.dropboxusercontent.com/u/1030586/blog/img/vmware-networks.png]

FYI: v vm mn ne et t1 1 and v vm mn ne et t8 8 are the default h ho os st t-o on nlly y and N NA AT T virtual switches, respectively. v vm mn ne et t8 8 is listed as S Sh ha ar re ew wiit th hm my yM Ma ac c in the GUI. We can list all network interfaces (physical and virtual) with the iiffc co on n g g command from the terminal.
!"!"#$%"!&

# #1 1..2 2V Viir rt tu ua all M Ma ac ch hiin ne es s This section will assume you've already installed the operating system in each of your virtual machines, or you have opted to import a virtual appliance. Just verify a vNIC is connected to the correct virtual network (switch). In my example, I have both a Windows and Linux virtual machine. The Windows VM is linked to the v vm mn ne et t1 1 switch and the Linux VM will use v vm mn ne et t5 5.

2 of 14

9/2/14 10:18 pm

Integrate VMware Fusion with GNS3 on your Mac

http://binarynature.blogspot.sg/2013/09/integrate-vmware-fus...

[https://dl.dropboxusercontent.com/u/1030586/blog/img/vmware-vnic.png]

After each virtual machine's hardware prole is set, we can go ahead and start the VMs. Set the network conguration in each operating system: Static IP Address Subnet Mask Gateway DNS Server(s) My conguration for each VM:

3 of 14

9/2/14 10:18 pm

Integrate VMware Fusion with GNS3 on your Mac

http://binarynature.blogspot.sg/2013/09/integrate-vmware-fus...

[https://dl.dropboxusercontent.com/u/1030586/blog/img/netconf-stack.png]

2 2.. G GN NS S3 3
With the VMware Fusion section complete, we can now focus on GNS3. The remainder of the tutorial will be referencing this network diagram:

4 of 14

9/2/14 10:18 pm

Integrate VMware Fusion with GNS3 on your Mac

http://binarynature.blogspot.sg/2013/09/integrate-vmware-fus...

[https://dl.dropboxusercontent.com/u/1030586 /blog/img/gns3-vmware-nettop.png]

Go ahead and add the GNS3 objects to a new project. My conguration has R1 using a Cisco 3725 IOS image but feel free to use any GNS3-compatible IOS image for your virtual router. SW1 and SW2 are simple GNS3 Ethernet switches. The VMs are Host objects (not VirtualBox guest), and the object that looks like a cloud is ... wait for it ... a Cloud object. # #2 2..1 1C Cllo ou ud da an nd dH Ho os st ts s We need to congure each of the Cloud and Host objects before we wire them to the switches. Each object will be using a T TA AP P virtual network interface. Lets start with the Cloud object. 1. 2. 3. 4. 5. 6. 7. 8. Right-click the Cloud object. Select C Co on n g gu ur re e. Select the subnode (ex. C1). Select N NIIO OT TA AP P. Enter / /d de ev v/ /t ta ap p0 0 into the top eld. Click the A Ad dd d button to add the interface. Click the A Ap pp plly y button to save the setting. Then click the O OK K button to close the window.

5 of 14

9/2/14 10:18 pm

Integrate VMware Fusion with GNS3 on your Mac

http://binarynature.blogspot.sg/2013/09/integrate-vmware-fus...

[https://dl.dropboxusercontent.com/u/1030586/blog/img/gns3-cloudconf.png]

Repeat the steps for each of the Host objects. Just substitute the t ta ap pX X value. The Windows VM will use / /d de ev v/ /t ta ap p1 1 and the Linux VM will use / /d de ev v/ /t ta ap p2 2. These are labeled in the network diagram screenshot. Connect all the objects with Fast Ethernet links. By linking the Cloud and Host objects with the switches, it should have brought up the T TA AP P network interfaces on the physical Mac host. Lets check. Run the following commands from the terminal:
!"!"#$%"!&'()*+ #$%&'"()$*+,--./012345647892:;;<;=97<>?@AB9>:@8<6478C"D#E"FG&& "H#IHJ"&/'HK'/L'-/'.L'(-" "M%HN"O%PL"GQQQR !"!"#$%"!&'()*, #$%F'"()$*+,--./012345647892:;;<;=97<>?@AB9>:@8<6478C"D#E"FG&& "H#IHJ"HH'.S'TG'&S'UQ'H$" "M%HN"O%PL"GQQQR !"!"#$%"!&'()*#$%/'"()$*+,--./012345647892:;;<;=97<>?@AB9>:@8<6478C"D#E"FG&& "H#IHJ"&H'UL'KT'&H'(K'V(" "M%HN"O%PL"GQQQR

# #2 2..2 2R R1 1R Ro ou ut te er r Start the R1 router. Emulate a console connection by establishing a telnet session to the virtual device. In my conguration, R1 (Dynamips) is listening on port 2101, so I run the following command in the terminal:

6 of 14

9/2/14 10:18 pm

Integrate VMware Fusion with GNS3 on your Mac

http://binarynature.blogspot.sg/2013/09/integrate-vmware-fus...

!"(./%.(',-01+1+1,'-,+,

We now need to set the network conguration for the Fast Ethernet interfaces in IOS. In my example:
2FW"#$%"'( 2FOVMN(P*RW"!%('"+2+ 2FOVMN(P*XP(RW"!*')334',+1,,1,1-56'-551-551-551+ 2FOVMN(P*XP(RW"%$'789( 2FOVMN(P*XP(RW"!%('"+2, 2FOVMN(P*XP(RW"!*')334',0-1,:1,;51-56'-551-551-551+ 2FOVMN(P*XP(RW"%$'789( 2FOVMN(P*XP(RW".%3 2FW"#$*<'49%'7()4(

Verify the conguration and state of the Fast Ethernet interfaces.


2FW"78'49%'='7.#'!%( PN#HJ($VH"Y$+#A#IHJNH#&Z& "P%"$LLJH++"F&[FF[F[/G."/GG[/GG[/GG[& "LE%)H\"$E#M "+%HHL"$E#M PN#HJ($VH"Y$+#A#IHJNH#&ZF "P%"$LLJH++"FS/[FU[FKG[/G."/GG[/GG[/GG[& "LE%)H\"$E#M "+%HHL"$E#M 2FW"78'!*'!%('>4 <N#HJ($VH""""""""""""""""""<?X4LLJH++""""""3]^">H#IML"7#$#E+""""""""""""""""?JM#MVM) Y$+#A#IHJNH#&Z&""""""""""""F&[FF[F[/G."""""_A7"D$NE$)"E%""""""""""""""""""""E%"""""" Y$+#A#IHJNH#&ZF""""""""""""FS/[FU[FKG[/G.""_A7"D$NE$)"E%""""""""""""""""""""E%""

3 3.. E Et th he er rn ne et tB Br riid dg ge e
Now, the big question is: How do we integrate our Windows and Linux VMs with the GNS3 environment? The answer is by creating an Ethernet bridge. An Ethernet bridge represents the software analog to a physical ethernet switch. For our purposes, this will bind two separate virtual network segments (vmnetX and tapX) into a single virtual network interface attached to the Mac host. We will be creating two bridge interfaces. One for the Windows VM and the other for the Linux VM. # #3 3..1 1B Br riid dg ge e ffo or rW Wiin nd do ow ws sV VM M We rst need to clear the IP conguration for the v vm mn ne et t1 1 virtual network interface before adding it as a member to the rst bridge interface. Run the following from the terminal:
!"793$'!"#$%"!&'?@%.(,'3$A% !"793$'!"#$%"!&'?@%.(,'!%.('3./.(.

Create the rst bridge interface for the Windows VM.


!"793$'!"#$%"!&'>4!3&.+'#4.)(.

Add the member network interfaces (v vm mn ne et t1 1 and t ta ap p1 1) to the bridge.


!"793$'!"#$%"!&'>4!3&.+')33@'?@%.(, !"793$'!"#$%"!&'>4!3&.+')33@'()*,

Bring the bridge interface up.


!"793$'!"#$%"!&'>4!3&.+'9*

Verify the b br riid dg ge e0 0 conguration.


!"!"#$%"!&'>4!3&.+ TJPL*H&'"()$*+,--UQ0:?912345647897>42892:;;<;=97<>?@AB9>:@8<6478C"D#E"FG&&

7 of 14

9/2/14 10:18 pm

Integrate VMware Fusion with GNS3 on your Mac

http://binarynature.blogspot.sg/2013/09/integrate-vmware-fus...

"H#IHJ"$V'LH'.-'HL'L$'G$" "6MN(P*EJ$#PMN' ""%JPMJP#`"&"IH))M#PDH"&"(aLLH)$`"&"D$\$*H"& ""P%(P)#HJ"LP+$T)HL"()$*+"&\/ "DHDTHJ'"bDNH#F"()$*+,Q0@A42;<;=95<763cA2C """"""""""%MJ#"S"%JPMJP#`"&"%$#I"VM+#"& "DHDTHJ'"#$%F"()$*+,Q0@A42;<;=95<763cA2C """"""""""%MJ#"F."%JPMJP#`"&"%$#I"VM+#"& "4LLJH++"V$VIH"OD$\"V$VIH'"F&&9"#PDHME#'"F/&&R'

# #3 3..2 2B Br riid dg ge e ffo or rL Liin nu ux xV VM M Just like with v vm mn ne et t1 1, we need to clear the IP conguration for the v vm mn ne et t5 5 virtual network interface before adding it as a member to the second bridge interface. Run the following from the terminal:
!"793$'!"#$%"!&'?@%.(5'3$A% !"793$'!"#$%"!&'?@%.(5'!%.('3./.(.

Create the second bridge interface for the Linux VM.


!"793$'!"#$%"!&'>4!3&.,'#4.)(.

Add the member network interfaces (v vm mn ne et t5 5 and t ta ap p2 2) to the bridge.


!"793$'!"#$%"!&'>4!3&.,')33@'?@%.(5 !"793$'!"#$%"!&'>4!3&.,')33@'()*-

Bring the bridge interface up.


!"793$'!"#$%"!&'>4!3&.,'9*

Verify the b br riid dg ge e1 1 conguration.


!"!"#$%"!&'>4!3&., TJPL*HF'"()$*+,--UQ0:?912345647897>42892:;;<;=97<>?@AB9>:@8<6478C"D#E"FG&& "H#IHJ"$V'LH'.-'UL'/-'QS" "6MN(P*EJ$#PMN' ""%JPMJP#`"&"IH))M#PDH"&"(aLLH)$`"&"D$\$*H"& ""P%(P)#HJ"LP+$T)HL"()$*+"&\/ "DHDTHJ'"bDNH#G"()$*+,Q0@A42;<;=95<763cA2C """"""""""%MJ#"K"%JPMJP#`"&"%$#I"VM+#"& "DHDTHJ'"#$%/"()$*+,Q0@A42;<;=95<763cA2C """"""""""%MJ#"FG"%JPMJP#`"&"%$#I"VM+#"& "4LLJH++"V$VIH"OD$\"V$VIH'"F&&9"#PDHME#'"F/&&R' ""V/'&'F.'LG'&'F"#$%/"FFG-"()$*+,&0C

4 4.. T Ta ap p0 0 IIn nt te er rf fa ac ce e
The t ta ap p0 0 interface will not be part of a bridge interface, but we still need to set the IP conguration for it as it will be a node interface on the 1 10 0..1 11 1..1 1..0 0/ /2 24 4 network.
!"793$'!"#$%"!&'()*+'!%.(',+1,,1,1,2-6'9*

5 5.. T T e es st tiin ng ga an nd dV Ve er rii c ca at tiio on n


At this stage, we should be ready to do some basic connectivity testing. Ping the Linux VM from the Windows VM.
6'dC"*!%&',0-1,:1,;51,, ?PN*PN*"FS/[FU[FKG[FF"aP#I"Q/"T`#H+"M("L$#$' 2H%)`"(JMD"FS/[FU[FKG[FF'"T`#H+,Q/"#PDH,FD+"88@,U.

8 of 14

9/2/14 10:18 pm

Integrate VMware Fusion with GNS3 on your Mac

http://binarynature.blogspot.sg/2013/09/integrate-vmware-fus...

2H%)`"(JMD"FS/[FU[FKG[FF'"T`#H+,Q/"#PDH0FD+"88@,U. 2H%)`"(JMD"FS/[FU[FKG[FF'"T`#H+,Q/"#PDH0FD+"88@,U. 2H%)`"(JMD"FS/[FU[FKG[FF'"T`#H+,Q/"#PDH0FD+"88@,U. ?PN*"+#$#P+#PV+"(MJ"FS/[FU[FKG[FF' """"?$VeH#+'"7HN#",".9"2HVHPbHL",".9"@M+#","&"O&f")M++R9 4%%JM\PD$#H"JMENL"#JP%"#PDH+"PN"DP))PX+HVMNL+' """">PNPDED","&D+9">$\PDED","FD+9"4bHJ$*H","&D+

Ping the R1 f0/1 interface (default gateway) from the Windows VM.
6'dC"*!%&',0-1,:1,;51-56 ?PN*PN*"FS/[FU[FKG[/G."aP#I"Q/"T`#H+"M("L$#$' 2H%)`"(JMD"FS/[FU[FKG[/G.'"T`#H+,Q/"#PDH,FUD+"88@,/GG 2H%)`"(JMD"FS/[FU[FKG[/G.'"T`#H+,Q/"#PDH,KD+"88@,/GG 2H%)`"(JMD"FS/[FU[FKG[/G.'"T`#H+,Q/"#PDH,UD+"88@,/GG 2H%)`"(JMD"FS/[FU[FKG[/G.'"T`#H+,Q/"#PDH,GD+"88@,/GG ?PN*"+#$#P+#PV+"(MJ"FS/[FU[FKG[/G.' """"?$VeH#+'"7HN#",".9"2HVHPbHL",".9"@M+#","&"O&f")M++R9 4%%JM\PD$#H"JMENL"#JP%"#PDH+"PN"DP))PX+HVMNL+' """">PNPDED","GD+9">$\PDED","FUD+9"4bHJ$*H","KD+

Ping the R1 f0/0 interface from the Windows VM.


6'dC"*!%&',+1,,1,1-56 ?PN*PN*"F&[FF[F[/G."aP#I"Q/"T`#H+"M("L$#$' 2H%)`"(JMD"F&[FF[F[/G.'"T`#H+,Q/"#PDH,FSD+"88@,/GG 2H%)`"(JMD"F&[FF[F[/G.'"T`#H+,Q/"#PDH,KD+"88@,/GG 2H%)`"(JMD"F&[FF[F[/G.'"T`#H+,Q/"#PDH,UD+"88@,/GG 2H%)`"(JMD"F&[FF[F[/G.'"T`#H+,Q/"#PDH,SD+"88@,/GG ?PN*"+#$#P+#PV+"(MJ"F&[FF[F[/G.' """"?$VeH#+'"7HN#",".9"2HVHPbHL",".9"@M+#","&"O&f")M++R9 4%%JM\PD$#H"JMENL"#JP%"#PDH+"PN"DP))PX+HVMNL+' """">PNPDED","UD+9">$\PDED","FSD+9"4bHJ$*H","KD+

Everything looks good so far. Lets now try to ping the t ta ap p0 0 network interface.
6'dC"*!%&',+1,,1,1, ?PN*PN*"F&[FF[F[F"aP#I"Q/"T`#H+"M("L$#$' 2HgEH+#"#PDHL"ME#[ 2HgEH+#"#PDHL"ME#[ 2HgEH+#"#PDHL"ME#[ 2HgEH+#"#PDHL"ME#[ ?PN*"+#$#P+#PV+"(MJ"F&[FF[F[F' """"?$VeH#+'"7HN#",".9"2HVHPbHL","&9"@M+#","."OF&&f")M++R9

Now, why did it fail? Lets break it down logically. The Windows VM can ping each interface on its own subnet and also the R1 f0/0 interface on the remote 1 10 0..1 11 1..1 1..0 0/ /2 24 4 subnet, but for some reason it doesn't receive an ICMP Echo reply from t ta ap p0 0. Remember that routing is a "two-way street". The packets may get to the destination, but do they know how to get back? R1 knows about both subnets as they are direct (connected) routes in the routing table, so let us think from the viewpoint of the t ta ap p0 0 interface on the Mac. Does it know how to get to the remote subnet? Lets check the routing table, on the Mac, for the 172.16.195.0 network entry. Run the following command from the terminal:
!"%.(7()('B4%'='&4.*',0-1,:1,;5

9 of 14

9/2/14 10:18 pm

Integrate VMware Fusion with GNS3 on your Mac

http://binarynature.blogspot.sg/2013/09/integrate-vmware-fus...

Nothing. Therein lies the problem. The Mac needs a route for the remote 1 17 72 2..1 16 6..1 19 95 5..0 0 subnet. Create the static route by running the following command from the terminal:
!"793$'4$9(.'B%?')33'B%.(',0-1,:1,;51+',+1,,1,1-56 E'"PNH#"FS/[FU[FKG[&h"E'"PNH#"F&[FF[F[/G.h"28>i455'"4LL"2ME#H'")HN"FQ/9"%PL'"&9"+Hg"F9"HJJNM"&9"()$*+' 0:?9=48Aj4_97848<6C )MVe+'""PNP#+'" +MVe$LLJ+'"05789=48Aj4_9;A8>47]C "FS/[FU[FKG[&"F&[FF[F[/G."O&R"&"(((("(( $LL"NH#"FS/[FU[FKG[&'"*$#Ha$`"F&[FF[F[/G.

Verify.
!"%.(7()('B4%'='.&4.*'CD7.=,0-1,:1,;5C 5H+#PN$#PMN""""""""=$#Ha$`""""""""""""Y)$*+""""""""2H(+"""""":+H""";H#P("A\%PJH FS/[FU[FKGZ/.""""""F&[FF[F[/G."""""""":=7V""""""""""""&""""""""&""""#$%&

Lets ping the t ta ap p0 0 interface again from the Windows VM.


6'dC"*!%&',+1,,1,1, ?PN*PN*"F&[FF[F[F"aP#I"Q/"T`#H+"M("L$#$' 2H%)`"(JMD"F&[FF[F[F'"T`#H+,Q/"#PDH,QGD+"88@,UQ 2H%)`"(JMD"F&[FF[F[F'"T`#H+,Q/"#PDH,F/D+"88@,UQ 2H%)`"(JMD"F&[FF[F[F'"T`#H+,Q/"#PDH,FGD+"88@,UQ 2H%)`"(JMD"F&[FF[F[F'"T`#H+,Q/"#PDH,FQD+"88@,UQ ?PN*"+#$#P+#PV+"(MJ"F&[FF[F[F' """"?$VeH#+'"7HN#",".9"2HVHPbHL",".9"@M+#","&"O&f")M++R9 4%%JM\PD$#H"JMENL"#JP%"#PDH+"PN"DP))PX+HVMNL+' """">PNPDED","F/D+9">$\PDED","QGD+9"4bHJ$*H","F-D+

We should now have full connectivity among all devices in our virtual network.

6 6.. N No oM Ma an n IIs sA An n IIs slla an nd d


Lets take this a step further. Lets extend the reach of our virtual network to the Internet. We have at least two different methods of implementing this. We can either congure NAT on the R1 router (and also have the physical Mac host perform routing) or have our physical Mac host perform both the NAT and IP routing process. We will use the latter method. N No ot te e: A w wiir re ed d (i.e., no Wi-Fi) Ethernet connection is required. As newer Mac laptops don't have a physical Ethernet port, the StarTech USB31000S (Black) | USB31000SW (White) [http://forum.gns3.net/topic6143-30.html] is a viable solution. # #6 6..1 1 IIP PR Ro ou ut tiin ng g You may be thinking: How can my Mac route packets with only a single, active, physical network interface with a single IP address? Think virtual. The t ta ap p0 0 network interface is the link to our virtual network. It is the "other arm", so to speak. Get the current IP Routing conguration by running the following command in the terminal:
!"7<7#(/'B)'='&4.*'!*1"$4A)43!%& NH#[PNH#[P%[(MJa$JLPN*'"&

If the value is 0, enable IP forwarding. When IP forwarding is enabled, the operating system kernel will act as a router.
!"793$'7<7#(/'BA'%.(1!%.(1!*1"$4A)43!%&E, NH#[PNH#[P%[(MJa$JLPN*'"&"XC"F

# #6 6..2 2N NA AT T Start the Network Address Translation (NAT) daemon with these options. The iin nt te er rffa ac ce e parameter value being the wired Ethernet network interface that accesses the Internet.
!"793$'%)(3'B!%(.4")#.'.%+'B97.F7$#G.(7'B7)@.F*$4(7'B9%4.&!7(.4.3F$%/<'B3<%)@!#'B#/)@*F@77

10 of 14

9/2/14 10:18 pm

Integrate VMware Fusion with GNS3 on your Mac

http://binarynature.blogspot.sg/2013/09/integrate-vmware-fus...

Verify the NAT daemon status.


!"*7')9H'='&4.*'%)(3'='&4.*'.%+ JMM#""""""""""""S./."""&[&""&[&""/.Q/K/."""".FU"""^^""7+"""".'QF?>"""&'&&[.-"N$#L"XPN#HJ($VH"HN&"XE+Hi+MVeH#+" X+$DHi%MJ#+"XENJH*P+#HJHLiMN)`"XL`N$DPV"XV)$D%iD++

# #6 6..3 3F Fiir re ew wa allll The IP rewall will also need to be enabled. Is the rewall already enabled?
!"7<7#(/'B)'='&4.*'!*1"A1.% NH#[PNH#[P%[(a[HN$T)H'"F

If the value is 0, we can enable it with the s sy ys sc ct tll utility.


!"793$'7<7#(/'BA'%.(1!%.(1!*1"A1.%)>/.E,

Add a rewall rule for the NAT daemon. Remember to modify the network interface value following the v viia a token if need be.
!"793$'!*"A')33'3!?.4('%)(3'!*'"4$@')%<'($')%<'?!)'.%+ &&F&&"LPbHJ#"-UU-"P%"(JMD"$N`"#M"$N`"bP$"HN&

Verify the rewall rule has been added.


!"793$'!*"A'78$A &&F&&"""""""F&"""""""""U//"LPbHJ#"-UU-"P%"(JMD"$N`"#M"$N`"bP$"HN& UGGQG"F&QK&/G."F&SFU/FQKQ."$))Ma"P%"(JMD"$N`"#M"$N`

# #6 6..4 4R R1 1R Ro ou ut te er r IOS for R1 will also need to be congured before R1 and the VMs can access the Internet. Emulate a console connection by establishing a telnet session to the virtual device. In my conguration, R1 is listening on port 2101, so I run the following command in the terminal:
!"(./%.(',-01+1+1,'-,+,

Enable DNS translation and set to the Google Public DNS.


2FW"#$%"'( 2FOVMN(P*RW"!*'3$@)!%B/$$G9* 2FOVMN(P*RW"!*'%)@.B7.4?.4'I1I1I1I

And nally, add a static default route for any unknown destination. Use the t ta ap p0 0 IP address for the next-hop IP address value. Also, save the conguration.
2FOVMN(P*RW"!*'4$9(.'+1+1+1+'+1+1+1+',+1,,1,1, 2FOVMN(P*RW".%3 2FW"#$*<'49%'7()4(

# #6 6..5 5O On ne eM Mo or re eT T e es st t The moment of truth.


W"@(4'AAA1&$$&/.1#$@

11 of 14

9/2/14 10:18 pm

Integrate VMware Fusion with GNS3 on your Mac

http://binarynature.blogspot.sg/2013/09/integrate-vmware-fus...

[https://dl.dropboxusercontent.com/u/1030586/blog/img/gns3vm-test.png]

Posted 22nd September 2013 by Marc Weisel Labels: Cisco, GNS3, Linux, Mac, VMware, Windows
11

View comments

12 of 14

9/2/14 10:18 pm

Integrate VMware Fusion with GNS3 on your Mac

http://binarynature.blogspot.sg/2013/09/integrate-vmware-fus...

11 comments

Add a comment

Top comments

Marc Weisel 4 months ago - IT Professionals (Career Advice\Training) Create the ultimate virtual network with the latest #VMware Fusion and #GNS3 on your #Mac.
+5 6

Todd Roy 2 months ago Marc really wanted to thank you for your GNS3 info on using with Fusion and MAC to build labs!! I set it up last night with Cisco call manager and have already registered IPcommunicator and placed calls!! Very helpful!! I will be using this to learn VOIP over the next few months! YOU ROCK! Read more Marc Weisel 2 months ago +Todd Roy You're welcome, Todd! Thanks for the complimentary feedback.

Marisol Glover via Google+ 4 months ago - Shared publicly Marc Weisel originally shared this Create the ultimate virtual network with the latest #VMware Fusion and #GNS3 on your #Mac.

Reply

Chris Redding 2 weeks ago - Shared publicly Is this type of integration not possible over the wifi connection? Awesome article BTW...
Reply

Marc Weisel 2 weeks ago Only the integration of the virtual network with the physical world (Step 6) may not work. I don't have the hardware (Mac Pro w/ no wireless network adapter) to test this, but I've read from multiple sources the wireless network adapter doesn't work with this type of configuration. I encourage you to test it and reply with your results. Thanks.

Yassine el 1 month ago (edited) - Shared publicly Thank you for your interesting tutoriel, but i still have some problem, like ping from windows -> router ( all the too interface) , but ping from router -> windows dont work, do you have any idea ???
Reply

Marc Weisel 1 month ago Is the Windows Firewall on for the Windows VM? If so, you will need to verify the 'File and Printer Sharing (Echo Request - ICMPv4-In)' rule is enabled.

Sherief El Hamalawy 4 months ago - Shared publicly i know that this is more of a linux question, but everytime i try to setup an IP address on a linux host ( mostly debian based) either from GUI or from terminal, the IP wouldn't be configured. in other words, when i type ifconfig eth0 add 10.0.0.1

13 of 14

9/2/14 10:18 pm

Integrate VMware Fusion with GNS3 on your Mac

http://binarynature.blogspot.sg/2013/09/integrate-vmware-fus...

14 of 14

9/2/14 10:18 pm

S-ar putea să vă placă și