How to configure a simple static route tracer data simple topology for using two routers
We walked
Follow these steps:
Like step one: create a topology
You will get a red light first of all, it is the topology configuration
Step 2: Configuring the router's IP address to the global configuration mode configured on the R1 and R2 attached interfaces
Router 1
Interface global configuration mode Fastethernet0/0
R1 (config) #interface fastethernet 0/0
R1 (config-if) #IP address 10.0.0.1
R1 (config-if) #no shutdown
R1(config-if) #exit
Interface serial two-zeros
R1 (config) # #interface serial # two-zeros
R1 (config-if) the #IP address is 20.0.0.1
R1 (config-if) the #clock rate of 64,000
R1(config-if) #encapsulation ppp
R1 (config-if) #no shutdown
R1(config-if) #exit
On Router 2
Fastethernet interface zero-zero
R2 (configuration) #interface FastEthernet zero-zero
R2 (config-if) #IP address 30.0.0.1
R2 (config-if) #no shutdown
R2(config-if) #exit
Interface serial two-zeros
R2 (configuration) #interface serial two-zeros
R2 (config-if) #IP address 20.0.0.2
R2(config-if) #encapsulation ppp
R2 (config-if) #no shutdown
R2(config-if) #exit
3rd step: how to for both the Pc and the appropriate distribution of IP and subnet mask, and default gateway IP address?
4th step: now uses a static route configured both routers
By default, network router router know only for connections 1 here know only 10. it don't know 0.0 and 20.0.0.0 like this R2 30.0.0.0 don't know 10.0.0.0.So we want to add static routes to the two routers
R1 (config) #IP route destination network | N/W subnet mask address of the next hop destinations |
Router R1 but give this command, in this case 30.0.0.0 is the destination and the subnet mask is 255.0.0.0 next-hop address is 20.0.0.2
R1 (config) #IP route 30.0.0.0 255.0.0.0
Router R2
R2 (configuration) #IP route 10.0.0.0 255.0.0.0
This is it! ... Now the routers know all social network through ping IP address of host checks
Like 5:Double click the PC to the desktop, and then command prompt command ping 30.0.0.10 PC 0 responses you get from 30.0.0.10
We walked
Follow these steps:
Like step one: create a topology
You will get a red light first of all, it is the topology configuration
Step 2: Configuring the router's IP address to the global configuration mode configured on the R1 and R2 attached interfaces
Router 1
Interface global configuration mode Fastethernet0/0
R1 (config) #interface fastethernet 0/0
R1 (config-if) #IP address 10.0.0.1
R1 (config-if) #no shutdown
R1(config-if) #exit
Interface serial two-zeros
R1 (config) # #interface serial # two-zeros
R1 (config-if) the #IP address is 20.0.0.1
R1 (config-if) the #clock rate of 64,000
R1(config-if) #encapsulation ppp
R1 (config-if) #no shutdown
R1(config-if) #exit
On Router 2
Fastethernet interface zero-zero
R2 (configuration) #interface FastEthernet zero-zero
R2 (config-if) #IP address 30.0.0.1
R2 (config-if) #no shutdown
R2(config-if) #exit
Interface serial two-zeros
R2 (configuration) #interface serial two-zeros
R2 (config-if) #IP address 20.0.0.2
R2(config-if) #encapsulation ppp
R2 (config-if) #no shutdown
R2(config-if) #exit
3rd step: how to for both the Pc and the appropriate distribution of IP and subnet mask, and default gateway IP address?
4th step: now uses a static route configured both routers
By default, network router router know only for connections 1 here know only 10. it don't know 0.0 and 20.0.0.0 like this R2 30.0.0.0 don't know 10.0.0.0.So we want to add static routes to the two routers
R1 (config) #IP route destination network | N/W subnet mask address of the next hop destinations |
Router R1 but give this command, in this case 30.0.0.0 is the destination and the subnet mask is 255.0.0.0 next-hop address is 20.0.0.2
R1 (config) #IP route 30.0.0.0 255.0.0.0
Router R2
R2 (configuration) #IP route 10.0.0.0 255.0.0.0
This is it! ... Now the routers know all social network through ping IP address of host checks
Like 5:Double click the PC to the desktop, and then command prompt command ping 30.0.0.10 PC 0 responses you get from 30.0.0.10
0 comments:
Post a Comment