Simple static routing configuration in the GNS3 1.3.10
Summary:
GNS3 is a with a graphical interface can run multiple platforms (including Windows, Linux, and MacOS, etc.) network virtualization software. Cisco network device administrator or want can be done by the relevant experiments to simulate the actions stakeholders CCNA, CCNP, CCIE and other Cisco certification exam through it. It also can be used for virtual experience Cisco IOS IOS or test to be deployed configuration implemented on a real router.
Static Routing (Static routing), A route way, routing entries (routing entry) by the manual configuration, rather than dynamic decision. Unlike dynamic routing, static routing is fixed and will not change, even if network conditions have changed or re-configuration. Generally, static routes are itemized by the network administrator added to the routing table.
Experimental operation:
- First, add in the topology area equipment required
1. points to open the route panel, press and hold the left mouse button c372 version of the router is not loose, add two routers in the topology area by dragging
2. opening the computer panel, press and hold the left mouse button VPCS not loose, adding two PC topology area by dragging
3. click the connection panel, the two PC connected to the router with the connection line, respectively, note that each router interface connected only to an interface
4. click display interface name so distinguished
5. Note the IP address and subnet mask function devices and interfaces required for each set recorded next, it is noted with the two interfaces of a router, the IP address can not be set to the same network segment
6. click above the start button, start all equipment -
Second, the IP address of the device to set a static route and router
1. Double-click to open the PC and the router interface for all Secure CRT simulation device
2. Set the router R1 f0 / 0 IP address and subnet mask of an interface, the interface and open进入全局模式:conf t 进入f0/0接口:int f0/0 设置IP和子网掩码:ip address 192.168.10.1 255.255.255.0 开启接口:no shutdown
(Direct copy the code, paste the simulation interface)
3. Next enter f0 / 1 interface provided f0 / IP address and subnet mask 1 interface, and the interface opening进入f0/1接口:int f0/1 设置IP和子网掩码:ip address 192.168.20.1 255.255.255.0 开启接口:no shutdown
4. look at the IP address and routing table查看IP地址:do show ip int b 查看路由表:do show ip route
5. not discovered by reviewing the routing table static routing, static routing below退出接口模式:exit 设置静态路由:ip route 192.168.30.0 255.255.255.0 192.168.20.2 查看路由表:do show ip route
(Static routes include the network number and subnet mask of non-directly connected network, together with the next hop IP address)
in the same manner 6. Set the IP address of the router R2 and static routes, first set f0 / 0 Interface the IP address and subnet mask进入全局模式:conf t 进入f0/0接口:int f0/0 设置IP和子网掩码:ip address 192.168.20.2 255.255.255.0 开启接口:no shutdown
7. Set f0 / IP address and subnet mask of Interface 1进入f0/1接口:int f0/1 设置IP和子网掩码:ip address 192.168.30.1 255.255.255.0 开启接口:no shutdown
8. Set a static route退出接口模式:exit 设置静态路由:ip route 192.168.10.0 255.255.255.0 192.168.20.1 查看路由表:do show ip route
9. Set the IP address of PC1设置IP:192.168.10.10 192.168.10.1
(PC1 input IP address and gateway)
10. Set the IP address of PC2设置IP:192.168.30.30 192.168.30.1
- Third, verify whether the exchange PC1 and PC2
input PC1 ping command in simulation interface, display two PC can communicate