Presentation is loading. Please wait.

Presentation is loading. Please wait.

IP Routing using Packet Tracer Simulator

Similar presentations


Presentation on theme: "IP Routing using Packet Tracer Simulator"— Presentation transcript:

1 IP Routing using Packet Tracer Simulator
Dr.Faisal Alzyoud

2 Routing protocol and Routed protocol
A routing protocol is used by routers to dynamically find all the networks in the internetwork and to ensure that all routers have the same routing table. Basically, a routing protocol determines the path of a packet through an internetwork. Examples of routing protocols are: RIP, RIPv2, EIGRP, and OSPF. Dr.Faisal Alzyoud 2

3 Routing protocol and Routed protocol
Once all routers know about all networks a routed protocol can be used to send user data (packets) through the established enterprise. Routed protocols are assigned to an interface and determine the method of packet delivery. Examples of routed protocols are: IP and IPv6. Dr.Faisal Alzyoud

4 Routing basis The term routing is used for taking a packet from one device and sending it through the network to another device on a different network. Routers don’t really care about hosts, they only care about networks and the best path to each network. The router learns about remote networks from neighbor routers or from an administrator. Dr.Faisal Alzyoud

5 Routing basis The router then builds a routing table that describes how to find the remote networks. If a network is directly connected, then the router already knows how to get to it.  If a network isn’t directly connected to the router, the router must use one of two ways to learn how to get to the remote network: static routing, meaning that someone must hand-type all network locations into the routing table, or something called dynamic routing. Dr.Faisal Alzyoud

6 Dynamic routing a protocol on one router communicates with the same protocol running on neighbor routers. The routers then update each other about all the networks they know about and place this information into the routing table. If a change occurs in the network, the dynamic routing protocols automatically inform all routers about the event. Dr.Faisal Alzyoud

7 Static routing The administrator is responsible for updating all changes by hand into all routers. Typically, in a large network, a combination of both dynamic and static routing is used. Dr.Faisal Alzyoud

8 Static routing benefits:
There is no overhead on the router CPU, which means you could possibly buy a cheaper router than you would use if you were using dynamic routing. There is no bandwidth usage between routers, which means you could possibly save money on WAN links. It adds security because the administrator can choose to allow routing access to certain networks only. Dr.Faisal Alzyoud

9 Static routing disadvantages:
The administrator must really understand the internetwork and how each router is connected in order to configure routes correctly. If a network is added to the internetwork, the administrator has to add a route to it on all routers by hand. It’s not feasible in large networks because maintaining it would be a full-time job in itself. Dr.Faisal Alzyoud

10 Instructions Dr.Faisal Alzyoud

11 Instructions Router(config)# ip route [destination_network] [mask] [next-hop_address or exitinterface] [administrative_distance] [permanent] used to add static route records to the routing table for example: Router(config) #ip route The ip route command tells us simply that it is a static route. is the remote network we want to send packets to. is the mask of the remote network. is the next hop, or router, we will send packets to Dr.Faisal Alzyoud

12 Default route We use default routing to send packets with a remote destination network not in the routing table to the next-hop router. You should only use default routing on stub networks, those with only one exit path out of the network. router(config)#ip route Dr.Faisal Alzyoud

13 Using packet tracer in router addressing
1- Connect the network devices as shown in the Figure . The cables used are : · Straight : between switch, pc and router, switch. · Cross : between switch, switch . · Serial : between the two routers . Dr.Faisal Alzyoud

14 Using packet tracer in addressing
2- We put the IP address for each device as the following : We have in the figure 3 networks : Dr.Faisal Alzyoud

15 Using packet tracer in addressing
To distribute the Ip's on the router interfaces the following instructions are done : Router 0: Dr.Faisal Alzyoud

16 Using packet tracer in addressing
For the second router (Router1 ) : Dr.Faisal Alzyoud

17 Using packet tracer in addressing
Give each PC it’s IP address , Subnet Mask and Default Gateway: For PC0 : From IP configuration : Dr.Faisal Alzyoud

18 Using packet tracer in addressing
How to ping from PC0 to the default gateway : For PC0 : Dr.Faisal Alzyoud

19 Using packet tracer in addressing
Choose command promot and ping on the default gateway : Dr.Faisal Alzyoud

20 Routing using packet tracer
To let serial work you must give clock to DCE terminals : Use (show controllers serial Name ) in privilage mode to examine the serial terminal then we put the clock using the command ( clock rate rate ) in global configuration mode . Start with router0 : Dr.Faisal Alzyoud

21 Routing using packet tracer
For router 1 : So write: Dr.Faisal Alzyoud

22 Static Route For Router 0: The routing table : Dr.Faisal Alzyoud

23 Static Route Give static route for Router 0 : Dr.Faisal Alzyoud

24 Static Route For Router 1: The routing table : Dr.Faisal Alzyoud

25 Static Route Give static route for Router 1 : Dr.Faisal Alzyoud

26 Static Route Now you can ping from PC to any other PCs to make sure they see each other : From PC0 to PC3 & PC6 Dr.Faisal Alzyoud

27 Practical part 2 We connect the following network : Dr.Faisal Alzyoud

28 Routing using packet tracer
For each PC put the Ip address, gateway and subnet mask. For PC0 : Dr.Faisal Alzyoud

29 Routing using packet tracer
Now distribute the IP's on routers' interfaces : For router0 : Dr.Faisal Alzyoud

30 Routing using packet tracer
For router1 : Dr.Faisal Alzyoud

31 Routing using packet tracer
For router2 : Dr.Faisal Alzyoud

32 Routing using packet tracer
To let serial work you must give clock to DCE terminals : Use (show controllers serial Name ) in privilage mode to examine the serial terminal then we put the clock using the command ( clock rate rate ) in global configuration mode . Begin with router0 : Dr.Faisal Alzyoud

33 Routing using packet tracer
Notice that the two terminals are DCE . Dr.Faisal Alzyoud

34 Routing using packet tracer
We give it clock since it's DCE : Dr.Faisal Alzyoud

35 Routing using packet tracer
for router1 : Dr.Faisal Alzyoud

36 Routing using packet tracer
for router2 : Dr.Faisal Alzyoud

37 Routing using packet tracer
Now you must do static routing to let the PC's of each network see the PCs in the remote network : Begin with router0 : There are two remote networks which have the Ips : , and three neighbors networks you know them by ( show ip route ): Dr.Faisal Alzyoud

38 Routing using packet tracer
Dr.Faisal Alzyoud

39 Routing using packet tracer
For router 1 : Dr.Faisal Alzyoud

40 Routing using packet tracer
Dr.Faisal Alzyoud

41 Routing using packet tracer
For router 2 : Dr.Faisal Alzyoud

42 Routing using packet tracer
Now ping from PC to any other PCs to make sure they see each other : Ping from PC 1 to PC0 & PC2: Dr.Faisal Alzyoud

43 DHCP router To let the router distribute the IPs on the network we do the following : Router 0 : Dr.Faisal Alzyoud

44 DHCP Notice that the PC1 took a dynamic IP : Dr.Faisal Alzyoud


Download ppt "IP Routing using Packet Tracer Simulator"

Similar presentations


Ads by Google