I recently did a post on Layer 2 switches in GNS3 now I’m going to show you how to setup a layer 3 switch with in GNS3. What is the difference? Well there are many but this is not that kind of article. For starters show VLAN will give you an ambiguous command off the bat on a layer 3 switch. But basically a layer 3 or core switch can route between VLAN’s whether they or private or not ,etc.
The layer 2 switch i talked about in my other article uses IOS on Unix IOU. This method for the layer 3 switch basically uses a router image with a switching module. And yes you can do the same thing on real equipment!
- Go into the preferences Edit > Preferences and select the IOS routers under Dynamips
- You can select one of your previously decompressed images in your GNS3 images folder (it’s ok if it’s already used for another router) I’m using the 3725 image
- In this step make sure you select This is an EtherSwitch router and click Next
- In the next step you can change the RAM but 127mb is fine. Then GNS3 will automatically select the switching module for you! as shown here. Click next
- In the next few dialogues it’s just like adding any other image. Set the IDLE PC value ,etc then the EtherSwitch should appear in your list:
- Now you should have a working layer 3 switch with about 16 ports!
I hope this helps! remember you can use any router image all though I have only used the 3725 with this example.
This article was viewed (29437) times!