How to connect your GNS3 lab to the internet in Mac OS X 

sudo /Applications/GNS3.app/Contents/MacOS/gns3

drag out a new cloud from the devices list in the left pane, right click it and choose Configure, Expand the cloud group in the left pane then choose the NIO TAP tab in the right pane.

/dev/tap0
sudo ifconfig tap0 10.0.0.2/24 up
config t
int fa0/0
ip address 10.0.0.1 255.255.255.0
no shut
do wr
do ping 10.0.0.2
sudo ifconfig bridge0 create
sudo ifconfig bridge0 addm en0
sudo ifconfig bridge0 addm tap0
sudo ifconfig bridge0 up
sudo ifconfig set bridge0 DHCP
OR sudo ifconfig bridge0 x.x.x.x/y up
ip route 0.0.0.0 0.0.0.0 192.168.0.1
access-list permit 1 10.0.0.0 0.0.0.255
int fa0/1
ip nat inside
int fa0/0
ip nat outside
exit
ip nat inside source list 1 interface fa0/0 overload

Source: How to connect your GNS3 lab to the internet in Mac OS X – fixedByVonnie

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s