AIM To make Static Routing between computers in the network.
PROCEDURE :
1) Create
a topology using 2 Routers and 2 Computers
2) Configure
IP address to routers go to global configuration mode in R1 and R2 configure
connected interfaces
3) Assign
IP address for both Pc's with appropriate IP and subnet mask and default
gateway
4) Configure
both router with static route
5) Double
click PC move to desktop then command prompt give the command ping
TOPOLOGY CONFIGURATION
Router
0
Router> enable
Router# configure
terminal
Router(config)# interface fastEthernet 0/0
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# no shutdown
Router(config-if)# exit
Router(config)# interface fastethernet 0/1
Router(config-if)# ip address 192.168.2.1 255.255.255.0
Router(config-if)# no shutdown
Router(config-if)# exit
ROUTER
1
Router> enable
Router# configure
terminal
Router(config)# interface fastethernet 0/1
Router(config-if)# ip address 192.168.2.2 255.255.255.0
Router(config-if)# no shutdown
Router(config-if)# exit
Router(config)# interface fastethernet 0/0
Router(config-if)# ip address 192.168.3.1 255.255.255.0
Router(config-if)# no shutdown
ROUTER 0
Router(config-if)# exit
Router(config)# ip route 192.168.3.0 255.255.255.0 fastethernet 0/1
Router 1
Router(config-if)# exit
Router(config)# ip route 192.168.1.0 255.255.255.0 fastethernet 0/1
PC
0
IP ADDRESS : 192.168.1.2
SUBNET MASK : 255.255.255.0
DEFAULT GATEWAY : 192.168.1.1
PC
1
IP ADDRESS : 192.168.3.2
SUBNET MASK : 255.255.255.0
DEFAULT GATEWAY : 192.168.3.1
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.