0% found this document useful (0 votes)
39 views3 pages

Ccna Command

There are three types of routing: static, dynamic, and default. Static routing requires manually configuring routes on each router, while dynamic routing uses routing protocols like RIP to automatically share route information between routers. Default routing will forward traffic to a default gateway when no other routes are specified.

Uploaded by

Nitin Yadav
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views3 pages

Ccna Command

There are three types of routing: static, dynamic, and default. Static routing requires manually configuring routes on each router, while dynamic routing uses routing protocols like RIP to automatically share route information between routers. Default routing will forward traffic to a default gateway when no other routes are specified.

Uploaded by

Nitin Yadav
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

ROUTING

There are three types


1-static routing
2-dynamic routing
3-defult routing

STATIC ROUTING

If you have a one commpny. And if you want to cmmunncat the two different network..
If you have the one router.
You give the this command.

>no
>enable
#conf t
#interface fastinternet 0/0
#ip address 192.168.1.1 255.255.255.0
#no shutdown
#exit
#interface siriol0/0/0
#ip address 1.1.1.1 255.0.0.0
#clock rate 64000
#end
#exit
AND OTHER SIDE OF ROUTER

>no
>enable
#conf t
#interface fastinternet 0/0
#ip address 192.168.2.2 255.255.255.0
#no shutdown
#exit
#interface siriol0/0/0
#ip address 1.1.1.2 255.0.0.0
#no shutdown

NOW YOU ASSINE THE STATIC ROUTING

#conf t
#ip route second site of network address and subnet mask and seriol port of network
address
Mins
#ip route 192.168.2.0 255.255.255.0 1.1.1.0
#end
AND NOW YOU GIVE THE SAME STATC ROUTING OF SECOND ROUTER

#conf t
#ip route 192.168.1.0 255.255.255.0 1.1.1.0
#end
So you can communicate the two different network
THIS IS A STETIC ROUTING

DYNAMIC ROUTING

SAME SENARIO OF THE DYNAMIC ROUTING

#conf t
#router rip
#first side of the network address
#first side router of network address
#network 192.168.1.0
#network 1.1.1.0
#end

AND SAME SENARIO OF SECOND SITE OF ROUTER

#conf t
#router rip
#second side of the network address
#second side router of network address
#network 192.168.2.0
#network 1.1.1.0
#end

SO THIS IS A DYNAMIC ROUTING

BUT THIS A ROUTE RIP 1


BUT ROUTER RIP 2 IS A DEFFRENT

Scopes you have the one of the public ip address so if you want to give the more pc of ip
address of subnet mask will different.
So if you want to communicate the two the different subnet mask same but ip will
different network address
So you assine the route rip 2 routing

#conf t
#route rip 2
#network 192.168.1.0
#network 1.1.1.0
#end

AND SECOND SIDE OF ROUTER FOR SAME SENARIO


#conf t
#route rip 2
#network 192.168.2.0
#network 1.1.1.0
#end

THIS IS A ROUTIPG RIP 2

You might also like