GNS3-SWITCHING (PART 1)
Cisco R&S lab ေαြα
αုα္αဲ့ααα္းα GNS3 αဲα Switching emulator αို α
ိα္αိုုα္းαα်αဲ့αါαူး။ Router IOS ေαြαို Real IOS αဲα α
α္းαိုαααဲ့ေααဲ့ Switching αိုေαာ့ αααဲ့αါ။ α‘αα္αုα္းααားαα္αားαာα GNS3 α switching hardware level αို emulated ααုα္ႏိုုα္αူးေαါ့။ αိုα္ααα္း CCNP αΏαီးαိုααဲ α‘αိα Focus αားαဲ့αာαိုေαာ့ αိα္αα္း α‘ာαံုေαာα္αံαေαေαာ့αူး။ α်ားေαာα‘ားျαα့္ αုα္ေαα်α‘αိုα္း ( 3725 or 3745) router αို NM-16ESW module ေαးαံုးαΏαီးαဲα
α္းαဲ့ααာေαါ့။ αါေααဲ့αိαဲ့α‘αိုα္း Switching αဲα αα္αα္αိုα ααα္ α
α္းα်α္αΏαီαို GNS3 α Packet Tracer ေαာα္ေαာα္ αံုးαိုαα‘αα္ αေျααူး။ Packet Tracer ααα္း ααα့္ hands-on experience α‘αြα္αို α‘αα္αေျααါαူး။ αီααα္ေαာ့ α
ိα္ေαါα္ေαါα္αွိαာαဲα ααα္αံုး α
α္းαΏαီး Switching αို 90% αီးαါး emaulated αုα္αိုαα αဲ့αီးေαး ααာαဲα ေααွ်αိုα္αါαα္။ CCNP Switching ေျααဲ့αူေαြα‘αြα္ေαာ့ ေαာ္ေαာ္ α‘αံုးαα္αွာαါ။
α‘ေျααံα‘ားျαα့္ Switching αို GNS3 ေαααွာ αα္းαα္း α αြα္ αဲα α
α္းαိုαααါαα္။
- Use the 3725 router with ether-switch module. It works as a layer 2 switch but is missing some of the features of a real switch
- Use IOU (IOS On Unix). There are IOS version compiled for Linux that can integrate with gns3. There are layer 2 and layer 3 images that have almost the full functionality of real switches. It takes a bit of effort to get set up and IOU is not available to the general public - its only licensed to internal Cicso employees, but there are leaks that can be found...
- Use the built in gns3 "switch". It'll give you basic layer 2 connectivity between devices (and virtual machines) and even vlans. But other than defining which port is on which vlan, they are non-configurable.
α‘ေαααွာ ေαာ္ျααားααိုαဲ 1 αဲα 3 αေαာ့ GNS3 αွာ αွိαΏαီးαား Feature αိုαံုးαΏαီး αုα္αြားαာαိုေαာ့ αေျαာေαာ့αါαူး။ αα½ြα္ေαာ္αိုα α
ိα္αα္α
ားαာα No.2 αါ။ αူေျαာαားαါαα္။ Almost the full functionality of real switch αဲ့။ αα½ြα္ေαာ္αေαာ့ 90% αိုαေျαာαဲ့αါαα္။ αာαဲျαα
္ျαα
္ Switching αို Router IOS ေαြαိုαဲ GNS3 αွာ α
α္းαိုααေαΎαာα္းαα½ြႏ္ေαာ္αိုααိαြားαΏαီαိုေαာ့ α
αΎααေα‘ာα္။
αα½ြα္ေαာ္αီα
ာα‘ုα္αို ေαာα္αံုးαြα္ GNS3 1.5.2 ေαααွာ GNS3 VM version 0.10.9 αိုαα္αΏαီးေαးαဲ့ αာαါ။ α‘ဲαီαွာ Bugs ေαးαα္းαα္းαွိαိုα αိုα့္αာαာ α
α္းαΎαα့္αα္းαဲα Workaround ေαးေαြααိုα α‘αα္ေျααြားαါαα္။
Error α‘ေαΎαာα္းααီαွာαα္αါ။ https://www.gns3.com/qa/invalid-json-expecting-value
αါα αα½ြα္ေαာ္ GNS3 Community αွာ αα္αဲ့αဲ့ Post ေαးαါ။ ααုαုαα‘ေααဲααါ။
GNS3-SWITCHING (PART 2)
Part 1 αွာ αိုα‘α္αဲ့ α‘ေျααံေαးေαြ ေαြးေႏြးαΏαီးαΏαီαိုေαာ့ αα½ြα္ေαာ္αိုα LAB αို α
αုα္αΎααေα‘ာα္။
GNS3 (v 1.5.2) αို run αုိα္αါ။ GNS3 αဲα GNS3 VM αို VMWare Workstation Player αဲα configure αုα္αုံαုα္αα္းေαြ ααိαα္ αα½ြα္ေαာ္ ေαးαဲ့αဲ့ ASAv Learning ေαးαို αွာαΏαီးျαα္αα္ေαးαါ။
WinSCP/Putty αို Install αုα္αားαါ။
αံုαွα္α‘αိုα္းαို Cisco IOU VM αို GNS3 VM αွာ Run αိုααိုα‘α္αဲ့ Script ေαြ Image ေαြαို GNS3 αဲ့ Browser windows αေα upload αုα္αံုαါαဲ။ αါေααဲ့ αα္αွိ version 1.5.2 αွာα browser αေααုα္αα္ Error αα္αါαα္။ αα½ြα္ေαာ္ α‘ေαααွာ αα္း αီα‘ေαΎαာα္း αွα္းαဲ့αΏαီαါαΏαီ။ α‘ဲαီေαာ့ Workaround α‘ေααဲα Winscp αို α‘αံုးျαဳαΏαီး αုα္αါαα္။ GNS3 Version 2 αြα္αာαα္ေαာ့ αုိα်α္αွαိုαါαိα့္αα္။
GNS3 VM αို WinSCP αဲα α်ိα္αုိα္αါ။ Protocol α SCP αါ။
GNS3 VM αဲα File Explorer windows αိုျαα္ααါαိα့္αα္။
αိုα‘α္αဲ့ Cisco L2 L3 image file ေαြαα္ IOURC license file αို ααိုα Google αွာ Cisco-IOU-L2-L3-Collection-v4.7z αိုααွာαΏαီး download αုα္αိုα္αါ။
ααΏαီαိုαα္ Layer 3 Switch α‘αြα္ i86bi-linux-l2-adventerprisek9-15.6.0.9S.bin αα္ IOURC File α‘αြα္ keygen.py ႏွα
္αုα္ို αα္αα္ Folder αα
္αုေαာα္αΏαီး αိα္းαားαိုα္αါ။
Keygen.py αို αုααြα့္αားαဲ့ GNS3 VM file explorer αဲα αီ αα္းေαΎαာα္းေα‘ာα္αွာ αိα္းαိုα္αါ။
Putty αိုαံုးαΏαီး GNS3 VM αို α်ိα္αိုα္αါ။ αါαွααုα္ GNS3 VMware player console αေααဲ αα္αိုαααါαα္။ ေα‘ာα္ααံုေαးαိုျαα္ααါαိα့္αα္။ Console αဲαိုαα္αိုα္αါ။
Command αွာ cd /opt/gns3/images/IOU/scripts/ αိုααိုα္αΏαီး αုα keygen.py script αိα္းαားαဲ့ Location αိ αြားαိုα္αါ။
Command αွာ Cisco IOU License αို Generate αုα္αါαα္။ python3 keygen.py αိုααိုα္ိαိုα္αါ။
α‘ဲαီααာαဲ့ license key ေαးαို ေα‘ာα္αွာျααားαဲ့α‘αိုα္း iourc.txt αိုαဲ့ file name ေαးေαးαΏαီးαိα္းαိုα္αါ။
αဲαါαိုαα္ α‘ားαံုးαီးαါးα‘αα္αα့္ျαα
္αါαΏαီ။ GNS3 software αဲαြားαိုα္αါ။
GNS3\Help\Setup Wizard αိုႏွိα္αိုα္αါ။
αီα‘αα့္αွာ αုαα αα½ြα္ေαာ္αိုα αိα္းαားαဲ့ image file αို ေαြးေαးαါ။
αΏαီးαα္ Finish αိုႏွိα္αိုα္αါ။ αΏαီးαα္ ေα‘ာα္ααံုαွာျααားαဲ့α‘αိုα္း αα
္αα့္α်α္းαုα္αြားαိုα္αါ။
αါαိုαα္αα½ြα္ေαာ္αိုα Cisco L2-L3 switch αို ေα‘ာα္ျαα္α
ြာαဲα Create αုα္αိုααΏαီးαါαΏαီ။
αα½ြα္ေαာ္αိုα Create αုα္αားαဲ့ L2-L3-Switch αα
္αံုးαို Power On αΏαီး Console αဲα α်ိα္αိုα္αါ။
Layer 3 command αα
္αုျαα
္αဲ့ No switch port αို Run αΏαီး Test αုα္αΎαα့္αါ။
αဲαါαိုျαα့္α
ံုαါαΏαီ။ αα½ြα္ေαာ္αိုα αုαို L3 Switching LAB ေαြ αို 100% αီးαါး Emulate αုα္αိုαααါαΏαီ။
Interface ေαြαေαာ့ Preference\Network αွာ αိုα္αိုα်α္ααို Adjust αုα္ေαါ့။ Ethernet Adaptor αα
္αုαို Interface 4 αုααါαα္။
How to configure GNS3-L3 SWITCHING Lab αΏαီးαါαΏαီ။
Super Putty in GNS3
https://github.com/GNS3/gns3-gui/issues/1931
1)Install Windows 10
a) Press “Windows Logo” + “R” keys on the keyboard.
b) Type “appwiz.cpl” in the “Run” command box and press “ENTER”.
c) In the “Programs and Features” window, click on the link “Turn Windows features on or off”.
d) Check if the “.NET Framework 3.5 (includes .NET 2.0 and 3.0)” option is available in it.
e) If yes, then enable it and then click on “OK”.
f)If you have Windows 10 DVD inserted, it will be installed from it offline. Otherwise you will be prompted to download it.
a. Start SuperPutty and press F2
b. Specify putty.exe location as C:\Program Files\GNS3\putty.exe
c. Specify Settings folder as C:\Program Files\GNS3
d. GUI tab > Tab Text: Dynamic
e. Advanced tab > Select "Only allow single instance of SuperPutty to run"
f. Advanced tab> Uncheck "automatically check for updates"
SuperPuTTY.settings.txt
Console Applications > Edit > Select SuperPutty from the list.
the below predefined settings will work just fine.
SuperPutty.exe -telnet "%h -P %p -wt \"%d\""