This project demonstrates a basic network design and configuration using Cisco IOSv in GNS3. The setup includes configuring IP addressing, static routing, VLANs, and Inter-VLAN routing in a simulated environment. This will help us understand and implement fundamental networking concepts using GNS3 in a Virtualized Environment.
- Design and configure a small network topology with 3 Ubuntu docker containers, 2 Switches and a single Router.
- Implement basic IP addressing and subnetting.
- GNS3
- HyperV (For GNS3-VM)
- Cisco IOSv
- PuTTY
The network consists of:
- Ubuntu-Docker-1
- Ubuntu-Docker-2
- Ubuntu-Docker-3
- Switch-1
- Switch-2
- Router
- Ubuntu-Docker-1: 192.168.1.2/24 (Interface connected to Switch1)
- Ubuntu-Docker-2: 192.168.2.2/24 (Interface connected to Switch2)
- Ubuntu-Docker-3: 192.168.2.3/24 (Interface connected to Switch2)
- Router G0/0 (192.168.1.1) G0/1 (192.168.2.1)
Open GNS3 and create a new project by going to File -> New Project
-
Add Devices: For a basic setup, we use 3 Ubuntu Docker containers, 2 Switches and 1 Router
-
Connect Devices:
- Open console for Router
enable
conf t
int g0/0
ip address 192.168.1.1 255.255.255.0
int g0/1
ip address 192.168.2.1 255.255.255.0
no shut
end
wr
- Open console for Ubuntu-Docker-1
ip addr add 192.168.1.2/24 dev eth0
ip link set dev eth0 up
route add default gw 192.168.1.1 dev eth0
- Open console for Ubuntu-Docker-2
ip addr add 192.168.2.2/24 dev eth0
ip link set dev eth0 up
route add default gw 192.168.0.1 dev eth0
- Open console for Ubuntu-Docker-3
ip addr add 192.168.2.3/24 dev eth0
ip link set dev eth0 up
route add default gw 192.168.2.1 dev eth0
From Ubuntu-Docker-1 to Ubuntu-Docker-3
ping 192.168.2.3
Output: