Static Routing






IP Configuration on Router-1:-
------------------------------
Router>
Router>enable
Router#configure terminal
Router(config)#hostname R-1
R-1(config)#interface serial 1/0
R-1(config-if)#ip address 192.168.1.1 255.255.255.224
R-1(config-if)#clock rate 64000
R-1(config-if)#no shutdown
R-1(config-if)#exit
R-1(config)#interface FastEthernet 0/0
R-1(config-if)#ip address 192.168.1.33 255.255.255.224
R-1(config-if)#no shutdown
R-1(config-if)#exit

IP Configuration on Router-2:-
------------------------------
Router>
Router>enable
Router#configure terminal
Router(config)#hostname R-2
R-2(config)#interface serial 1/0
R-2(config-if)#ip address 192.168.1.2 255.255.255.224
R-2(config-if)#no shutdown
R-2(config-if)#exit
R-2(config)#interface FastEthernet 0/0
R-2(config-if)#ip address 192.168.1.65 255.255.255.224
R-2(config-if)#no shutdown
R-2(config-if)#exit

IP Configuration on PC-1:-
---------------------------
IP- 192.168.1.34
SM- 255.255.255.224
DG- 192.168.1.32


IP Configuration on PC-2:-
---------------------------
IP- 192.168.1.67
SM- 255.255.255.224
DG- 192.168.1.64

Static Routing Configuration on Router-1:-
-------------------------------------------
R-1(config)#ip route 192.168.1.64 255.255.255.224 192.168.1.2

Static Routing Configuration on Router-1:-
-------------------------------------------
R-2(config)#ip route 192.168.1.32 255.255.255.224 192.168.1.1

No comments:

Post a Comment

Computer Hardware_(A+) & Operating System with Networking

Microprocessor Motherboard About Operating System Create Bootable Pen Drive via Command Map Network Drive File Transfer Protocol in Windows ...