[ ROUTER ] How to Configure a Simple Static Routing in Packet Tracer
How to Configure a Simple Static Routing in Packet Tracer
How to configure a simple static routing in packet tracer using a simple topology with two routershere we go
Steps : Step 1:First Create a topology like this

R1(config)#interface fastethernet 0/0R1(config-if)#ip address 10.0.0.1 255.0.0.0R1(config-if)#no shutdownR1(config-if)#exitInterface Serial 2/0R1(config)#interface serial 2/0R1(config-if)#ip address 20.0.0.1 255.0.0.0R1(config-if)#clock rate 64000R1(config-if)#encapsulation pppR1(config-if)#no shutdownR1(config-if)#exit
In Router 2Interface Fastethernet 0/0R2(config)#interface fastethernet 0/0R2(config-if)#ip address 30.0.0.1 255.0.0.0R2(config-if)#no shutdownR2(config-if)#exit
Interface Serial 2/0R2(config)#interface serial 2/0R2(config-if)#ip address 20.0.0.2 255.0.0.0R2(config-if)#encapsulation pppR2(config-if)#no shutdownR2(config-if)#exit
Step 3 : Assign ip address for both Pc's with appropriate ip and subnetmask and default gateway How ?

R1(config)#ip route 30.0.0.0 255.0.0.0 20.0.0.2
In Router R2
R2(config)#ip route 10.0.0.0 255.0.0.0 20.0.0.1Thats it!!..Now both routers know all networks,check by ping ip address of host
Step 5:Double click PC move to desktop then command prompt give the command ping 30.0.0.10 in PC 0 you will get reply from 30.0.0.10 like this

From PC1

No comments: