here we go
Steps:
Step 1:First Create a topology like this
You will get a red light, the first is a custom topology
Step 2: Configure the router global configuration mode to configure the interface IP address of R1 and R2 connected
Router 1
Fastethernet0/0 interface global configuration mode
R1(config)#interface fastethernet 0/0
R1(config-if)#ip address 10.0.0.1 255.0.0.0
R1(config-if)#no shutdown
R1(config-if)#exit
Interface Serial 2/0
R1(config)#interface serial 2/0
R1(config-if)#ip address 20.0.0.1 255.0.0.0
R1(config-if)#clock rate 64000
R1(config-if)#encapsulation ppp
R1(config-if)#no shutdown
R1(config-if)#exit
In Router 2
Interface Fastethernet 0/0
R2(config)#interface fastethernet 0/0
R2(config-if)#ip address 30.0.0.1 255.0.0.0
R2(config-if)#no shutdown
R2(config-if)#exit
Interface Serial 2/0
R2(config)#interface serial 2/0
R2(config-if)#ip address 20.0.0.2 255.0.0.0
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, your router network known only to connections 1 here know only 10. don't know 0.0 and 20.0.0.0 this unit 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 destination route network | Address of subnet mask n/w of next hop destinations |
Router R1, give this command, in this case 30.0.0.0 is the destination and 255.0.0.0 subnet mask address of next hop is 20.0.0.2
R1(config)#ip route 30.0.0.0 255.0.0.0 20.0.0.2
In Router R2
R2 (configuration) #IP route 10.0.0.0 255.0.0.0
This is it! Now the routers know all social network, check ping IP address of the host
By 5:Double clicking mobile PC desktop and then 30.0.0.10 ping command 0 PC's response will be 30.0.0.10
From PC 1
0 comments:
Post a Comment