I. Purpose and preparation
Use gns3 and VMWare to simulate the real environment and use prtg to monitor the status of Cisco Routers
Preparations: gns3 simulation routing software and VMWare virtual software, prtg.
Ii. Experiment steps
1) Build the following topology Environment
650) This. width = 650; "Title =" wps23f6. TMP "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "border =" 0 "alt =" wps23f6. TMP "src =" http://img1.51cto.com/attachment/201409/6/6212447_14100220552p7c.png "Height =" 135 "/>
VMware Server has two NICs. One (out) Bridge is connected to the NIC of the real host (windows7), and the other (in) is connected to the E1/0 of the R1 router of gns3; the E1/1 of the R1 router is connected to the NIC of vmwar WINXP.
A) VMware installs a server2003 system and an XP system, and virtualizes three virtual NICs. In the virtual network Editor, click Add:
650) This. width = 650; "Title =" wps2407.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2407.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022055YF1o.png "Height =" 236 "/>
Vmnet1, vmnet2, and vmnet3 are the three added virtual NICs.
Server2003 first Nic named out custom Virtual Network vmnet3
650) This. width = 650; "Title =" wps2408.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2408.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022055Q9TQ.png "Height =" 280 "/>
Server2003 second Nic named in custom Virtual Network vmnet1
650) This. width = 650; "Title =" wps2418.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2418.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022055qA1C.png "Height =" 242 "/>
B) enable server2003 to set the NIC IP Address: out to be automatically obtained, and in to 192.168.0.254.
650) This. width = 650; "Title =" wps2419.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2419.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022055oNdX.png "Height =" 204 "/>
Nic in configuration
650) This. width = 650; "Title =" wps241a. TMP "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "border =" 0 "alt =" wps241a. TMP "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022056LTEX.png "Height =" 358 "/>
C) Enable Routing and Remote Access:
650) This. width = 650; "Title =" wps242b. TMP "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "border =" 0 "alt =" wps242b. TMP "src =" http://img1.51cto.com/attachment/201409/6/6212447_14100220565OtE.png "Height =" 380 "/>
Configure and enable remote access:
650) This. width = 650; "Title =" wps242c. TMP "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "border =" 0 "alt =" wps242c. TMP "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022056ljrh.png "Height =" 408 "/>
650) This. width = 650; "Title =" wps243d. TMP "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "border =" 0 "alt =" wps243d. TMP "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022056HWko.png "Height =" 430 "/>
650) This. width = 650; "Title =" wps243e. TMP "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "border =" 0 "alt =" wps243e. TMP "src =" http://img1.51cto.com/attachment/201409/6/6212447_14100220566DPQ.png "Height =" 440 "/>
650) This. width = 650; "Title =" wps243f. TMP "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "border =" 0 "alt =" wps243f. TMP "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022056OOmu.png "Height =" 264 "/>
In this case, if severa 2003 cannot access the Internet, check the above steps. If you can access the Internet, continue the following steps.
650) This. width = 650; "Title =" wps244f. TMP "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "border =" 0 "alt =" wps244f. TMP "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022056J0c1.png "Height =" 199 "/>
D) set a static route to access the network segment of winxp192.168.1.0:
Enter route add 192.168.1.0 mask 255.255.255.0 192.168.0.1 in the command prompt.
192.168.1.0 is the destination address 192.168.0.1 is the egress address, that is, the next hop address.
650) This. width = 650; "Title =" wps2450.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2450.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022056GJja.png "Height =" 340 "/>
E) R1 router configuration:
Interface ethernet1/0
IP address 192.168.0.1 255.255.255.0
Interface ethernet1/1
IP address 192.168.1.254 255.255.255.0
IP Route 0.0.0.0 0.0.0.0 192.168.0.254
IP name-server 192.168.3.1 set DNS (you can view DNS in ipconfig/all on server2003)
WR save Configuration
At this time, the vro should be able to access the Internet. Use Ping test.
650) This. width = 650; "Title =" wps2451.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2451.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_14100220577Guz.png "Height =" 113 "/>
F) configuration on Windows XP
The custom Nic is vmnet2.
650) This. width = 650; "Title =" wps2462.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2462.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022057JR4R.png "Height =" 307 "/>
Set the IP address and gateway of the local connection:
650) This. width = 650; "Title =" wps2463.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2463.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022057JKiI.png "Height =" 128 "/>
After the settings, ping the Internet or the IP address of server2003.
650) This. width = 650; "Title =" wps2464.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2464.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_14100220575ZGr.png "Height =" 173 "/>
650) This. width = 650; "Title =" wps2474.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2474.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022057Dn46.png "Height =" 172 "/>
Enable IE and access the Internet
650) This. width = 650; "Title =" wps2475.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2475.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022057bojt.png "Height =" 386 "/>
2) test prtg
A) Configure SNMP on router r1:
SNMP-server community tuanti Ro sets the SNMP Group Life to tuanti and the permission is read-only.
SNMP-server trap-source ethernet1/0 sets the monitoring source port. If you do not enter this command, the device's router ID will be used as the monitoring Source
SNMP-server host 192.168.1.1 version 2C tuanti sets the management host to 192.168.1.1 and allows the management host to access tuanti with the group name.
SNMP-server enable traps to enable monitoring control.
WR save Configuration
B) add the SNMP service to XP
Make sure that the SNMP service and SNMP Trap Service are automatically enabled.
Add group tuanti
650) This. width = 650; "Title =" wps2486.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2486.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022057sq2b.png "Height =" 287 "/>
650) This. width = 650; "Title =" wps2487.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2487.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022057rfpH.png "Height =" 452 "/>
Install prtg network monitor 14.2.9.1689 in XP
Open "Run configuration guru ",
Open prtg Network Monitor, enter the device page, and add devices to the 1st groups,
650) This. width = 650; "Title =" wps2488.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2488.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_14100220581p3d.png "Height =" 179 "/>
650) This. width = 650; "Title =" wps2499.tmp "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" wps2499.tmp "src =" http://img1.51cto.com/attachment/201409/6/6212447_14100220581VQc.png "Height =" 139 "/>
Other options are default. If you select "Manual", you need to add the sensor yourself. In this case, you can add only the port sensor and only monitor the port status.
Select "automatic device identification (standard, recommended)" and click "continue". The style in the red box appears in the first group, indicating that the device is successfully added.
650) This. width = 650; "Title =" wps249a. TMP "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "border =" 0 "alt =" wps249a. TMP "src =" http://img1.51cto.com/attachment/201409/6/6212447_14100220588pvl.png "Height =" 219 "/>
You can view the status of each sensor in real time through charts.
650) This. width = 650; "Title =" wps249b. TMP "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "border =" 0 "alt =" wps249b. TMP "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022058dMY0.png "Height =" 257 "/>
If no configuration error occurs, XP may occasionally fail to access the Internet. If the routers in gns3 can access the Internet, restart XP. If the vro cannot access the Internet, restart gns3.
3. How does prtg monitor network and bandwidth utilization?
Prtg can run on a Windows system 24 hours a day and continuously record network utilization parameters. The recorded data is stored in the internal database of the software for future reference.
With its easy-to-use Windows interface, you can configure monitored sensors and create utilization reports. For remote access, prtg provides a built-in web server, which allows you to access various charts. These charts reflect your usage of the network.
The following figure shows the actual traffic data of E1/1:
650) This. width = 650; "Title =" wps24ab. TMP "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "border =" 0 "alt =" wps24ab. TMP "src =" http://img1.51cto.com/attachment/201409/6/6212447_1410022086gFVK.png "Height =" 257 "/>
SNMP: Simple Network Management Protocol (SNMP) is the basic method for collecting bandwidth and network utilization data. SNMP can be used to monitor the bandwidth utilization of vrouters and vswitch ports, as well as CPU load and memory usage. With this technology, prtg can query the counters of each port in the device (router, switch, server. Among the three methods described here, the CPU and network bandwidth usage of this technology is the least.
Packet sniffing: With its built-in packet sniffing tool, prtg can check all network packets passing through the LAN or virtual LAN (WLAN) to calculate bandwidth utilization. To calculate bandwidth utilization, prtg checks all network packets that flow through the computer Nic, or the packets sent by the monitoring port of a switch (this switch should have a built-in packet sniffer ). Among the three technologies, this method consumes the largest CPU and network load, so it can only be used for small and medium networks, or only for personal computers.
NetFlow: in fact, most Cisco routers support the NetFlow protocol, which can calculate bandwidth utilization. Although its configuration is the most complex, it is still the most powerful and suitable method for networks with large network communication traffic. Cisco devices that support NetFlow can track the bandwidth utilization of the network from the inside, and only send the total amount of data in advance to the prtg program for statistics purposes. This method is used to minimize the prtg computing load. Therefore, we recommend that you use a network with large traffic.
Iv. prtg features
1. Monitor local and remote CPU, memory, page files, disks, and network performance
You can create charts for disk space and memory. These charts can be real-time, current month, or even one year's data. Monitors any Windows systems that can be accessed, as well as some non-Windows systems (such as Cisco routers and VMWare)
2. Monitor uncommon system information, such as available disk space, processes, services, and Event Logs.
You can monitor multiple types of systems, such as VMware ESX Server, web server, email server, network device, SQL Server, file server, and printer.
3. view all network devices in one graph
Prtg network monitor can be used to monitor network devices, classify these devices, and view them in a unified graph. In other words, in a graph, you can immediately view the alarms, CPU loads, and response times displayed on the Windows network.
4. Use email or short message service to send a warning
5. Monitor applications on the network and other servers, such as SMTP, HTTP, VMWare, etc.
This article from the "unyielding posture crazy" blog, please be sure to keep this source http://doerj.blog.51cto.com/6212447/1549717
Use prtg to monitor the CPU load and port traffic of Cisco Routers