Powered by Blogger.

IP Routing – RIP

You are the network administrator at Ranet, and have to config the routers both Ranet-HQ and Ranet-BR to make the connection throughout Ranet network and with the Internet. So all you have to do are:

(Config via console of each router.)
    1. Enable and set IP address on LAN interface of each router to be the first assignable IP of each subnet.
    2. Enable serial interface on each router and set IP address on each interface as:
          – s0/0/0 on Ranet-BR: first IP of 98.83.165.72/30
          – s0/0/0 on Ranet-HQ: last IP of 98.83.165.72/30
          – s0/1/0 on Ranet-HQ: last IP of 52.9.236.20/30
          all serial interface use HDLC as encapsulation protocol and do not forget to set clock rate at 64 kbps on Ranet-BR side.
    3. Set RIPv2 as routing protocol on each router to let Host1 connect to Host2.
    4. Set default route on each router to let both Host1 and Host2 be able to connect to the Online Server        (55.8.92.3) in the internet.
——————————– The End ———————————–
Solution:

Ranet-HQ config:
(copy & paste these commands to Ranet-HQ router)
en
conf t
int fa0/0
no sh
ip add 98.83.165.65 255.255.255.248
int s0/0/0
no sh
ip add 98.83.165.74 255.255.255.252
int s0/1/0
no sh
ip add 52.9.236.22 255.255.255.252
exit
router rip
version 2
network 98.0.0.0
no auto-summary
exit
ip route 0.0.0.0 0.0.0.0 s0/1/0
Ranet-HQ#sh ip protocol 
Routing Protocol is “rip”
Sending updates every 30 seconds, next due in 21 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 2, receive 2
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 2 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
98.0.0.0
Passive Interface(s):
Routing Information Sources:
Gateway Distance
Distance: (default is 120)
Ranet-HQ#copy run start 
Destination filename [startup-config]?
Building configuration…
[OK]
Ranet-HQ#
Ranet-BR config:
(copy & paste these commands to Ranet-HQ router)
en
conf t
int fa0/0
no sh
ip add 98.83.165.81 255.255.255.240
int s0/0/0
no sh
clock rate 64000
ip add 98.83.165.73 255.255.255.252
exit
router rip
version 2
network 98.0.0.0
no auto-summary
exit
ip route 0.0.0.0 0.0.0.0 s0/0/0
end
Ranet-BR#sh ip route 
Codes: C – connected, S – static, I – IGRP, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – IS-IS, L1 – IS-IS level-1, L2 – IS-IS level-2, ia – IS-IS inter area
* – candidate default, U – per-user static route, o – ODR
P – periodic downloaded static route
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
98.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
R 98.83.165.64/29 [120/1] via 98.83.165.74, 00:00:27, Serial0/0/0
C 98.83.165.72/30 is directly connected, Serial0/0/0
C 98.83.165.80/28 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 is directly connected, Serial0/0/0
Ranet-BR#copy run start
Destination filename [startup-config]?
Building configuration…
[OK]
Ranet-BR#
Everything is ok!!
———————————-  End  ——————————
    Blogger Comment
    Facebook Comment