SoFunction
Updated on 2025-04-11

Network routing technology and application 4

4. Set up routing on the router

Currently, the most popular ones are CISCO and 3COM routers, and dynamic routing protocols (such as RIP, IGRP, OSPF, EIGRP) are widely used to realize network interconnection. Let’s take the CISCO router as an example to briefly describe it.

If a small or medium-sized network has no or only a small network expansion, the static route is entered manually and managed manually. However, if the network increases or the network changes frequently, the overhead of static routing management will be very large.

The advantages of static routing are: (1) In terms of bandwidth, static routing has no overhead. In dynamic routing, the routing protocol has a related bandwidth problem to maintain its relationship with the adjacent router. In particular, the distance vector-based protocol has higher bandwidth requirements. (2) In terms of security, static routing can manually limit the access rights of IP addresses, so it is very necessary for high-security networks.

There are many books on setting up routing on CISCO. We will briefly introduce the following methods for adding static routes. We will not elaborate on the others.

Static routing is set through the ip route command, which is complete as follows:

CISCO(config)#ip route /interface X。

It is the destination network address, the subnet mask, the IP address of the next hop, or the Interface is the interface name of the next hop. X represents the jurisdictional distance (1 to 255).

There is a requirement that a certain bank and water plant are connected to the network (using DDN physical link) to collect water fees for it. Both parties have a network firewall on their respective network ends. The specific network topology diagram and network configuration are as follows:

To implement routing between router 1 and router 2, the following routes can be added to router 1 and router 2 respectively:

ip route 0.0.0.0 0.0.0.0 162.0.0.2(router1)

ip route 0.0.0.0 0.0.0.0 162.0.0.1 (rotuer2)

This allows communication between two routes to be achieved. Of course, network security policies can be defined on the firewall (usually, in-port swivel chairs or IP address mapping and application port restrictions).

Configuring routing on 3COM allows you to enter the configuration menu by entering the ME-IP command, which is also very simple.

[1]

Article entry: csh     Editor in charge: csh