Sie sind auf Seite 1von 6

Static Routing Lab

Now first of all we’ll configure the devices without any kind of routing as shown in figure and
in commands attached

Make sure before you start to insert the WIC-2T to the router before turning it on and
connecting the two routers using serial cable

Router 0 configuration :

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#interface fas

Router(config)#interface fastEthernet 0/0

Router(config-if)#no shutdown
Router(config-if)#ip address 192.168.1.1 255.255.255.0

Router(config-if)#exit

Router(config)#interface serial 0/0/0

Router(config-if)#no shutdown

Router(config-if)#ip address 192.168.2.1 255.255.255.0

Router(config-if)#clock rate 64000

Router(config-if)#exit

Router 0 copy configuration :

Router>enable

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#int s0/0/0

Router(config-if)#no shutdown

Router(config-if)#ip address 192.168.2.2 255.255.255.0

Router(config-if)#clock rate 64000

Router(config-if)#exit

Router(config)#int f0/0

Router(config-if)#no shutdown

Router(config-if)#ip address 192.168.3.1 255.255.255.0

Router(config-if)#exit
Now we want to route network 192.168.1.0 and network 192.168.3.0

Configuration Router 0

Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2

Configuration Router copy 0

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1

Now the ping test from both PC’s 

Router 0 IP routing table

#show ip route

Notice that it learnt a new static entry 


Dynamic RIPv1 Routing Lab

We’re gonna carry on with the same project but we have first of all to remove the static route
entry we just made in order to be replaced by RIP protocol.
Configuration Router 0

Router(config)#no ip route 192.168.3.0 255.255.255.0 192.168.2.2

Configuration Router copy 0

Router(config)#no ip route 192.168.1.0 255.255.255.0 192.168.2.1

If we carry out “show ip route” command we’ll find out that the static entry was removed

Now we’ll start by configuring Router Rip on each router

Configuration Router 0

Router(config)#router rip

Router(config-router)#network 192.168.1.0

Router(config-router)#network 192.168.2.0

Configuration Router copy 0

Router(config)#router rip

Router(config-router)#network 192.168.2.0

Router(config-router)#network 192.168.3.0

Let’s carry a show ip route on Router 0

Notice that it now knows about network 192.168.3.0 through R (rip) now you can ping
successfully between both PC’s
Assignment

1- Identify your own network scheme for the following diagram


2- Make sure that PC0 can ping both PC1 and PC2
3- Use routing protocol RIP for configuration

Any questions or debugs send an email to


ee.ccna@gmail.com

Das könnte Ihnen auch gefallen