En este ejercicio se muestra como unir tres redes con tres routers cisco utilizando enrutamiento estático. El comando para ver las tablas de enrutamiento es. Laboratorio de enrutamiento OSPF con enlaces PPP: Clase de CCNA 4 del 2 de Diagrama en Packet Tracer (layout decente). Desarrollo. LABORATORIO DE ENRUTAMIENTO ESTÁTICODiseño de la red a ser configurada: Se Configuraciones para un enrutamiento estático en Packet Tracer.
|Published (Last):||19 June 2017|
|PDF File Size:||8.91 Mb|
|ePub File Size:||7.50 Mb|
|Price:||Free* [*Free Regsitration Required]|
First of all…what is a router or what is routing exactly? The only concern for our switch is to know when an Ethernet frame enters one of its interfaces where it should send this Ethernet frame by looking at the destination MAC address. Switches make decisions based on Data Link layer information layer 2.
Routers have a similar task but this time we are going to look at IP packets and as you might recall IP is on the Network layer layer 3. Routers look at the destination IP address in an IP packet and send it out the correct interface. Maybe you are thinking…what is the big difference here? Why do we need to look at IP addresses and route? We have two switches and to each switch are computers connected. Now if all computers want to communicate with each switch has to learn MAC addresses.
The need to know the MAC addresses of the computers on the left and right side. Now think about a really large network…for example the Internet. There are millions of devices! Would it be possible to have millions of entries in your MAC-address table? For each device on the Internet? What we have here is our computers on the left are connected to router A and in the.
Router B has computers behind it and the network we use over there is Router B only needs to know that the Are you following me here? Switches use mac address tables to forward Ethernet frames and routers use a routing table to learn where to forward IP packets to. ComputerB has IP address On our router we have configured IP address Since we also configured a subnet mask with the IP enrutamient our router knows the network addresses and will store these in its routing table.
Whenever ComputerA wants to send something to ComputerB this will happen:. Are you following me so far? Above you see the IP addresses and the default gateways.
Router config-if no shutdown. Router config-if ip address Now we can check the routing table:. Approximate round trip times in milli-seconds: Excellent the ping is working!
Be aware that estwtico you try to ping from one Windows computer to another that your firewall might be blocking ICMP traffic….
If you are reaching some server on the Internet you are going through a lot of routers to reach your destination. If you want you can see through which routers your IP packets are traveling in order to reach the destination. You can do this with traceroute. This is what it looks like if I want to reach www.
Resumen Practico Como funciona el Enrutamiento IP Estatico! | Cisco Paso a Paso
Tracing route to e Above you can see that I travel through 10 routers in order to reach www. Traceroute uses the ICMP protocol. Traceroute can also be used on Cisco routers.
Just type the traceroute command and the IP address you want to reach. The router needs access to both VLANs so the link between the router and switch will be a trunk! R1 config-if no shutdown R1 config-if exit. R1 config-subif encapsulation dot1Q R1 config-subif ip address Above you can see my two sub-interfaces and the IP addresses that I assigned to them. One important command is the encapsulation dot1Q.
There is no way for our router to know which VLAN belongs to which sub-interface so we have to use this command. You can see both sub-interfaces in the routing table.
This allows the router to route between the two VLANs. This time we have two routers:.
Laboratorio de enrutamiento estático:
We have two routers called router Spade and router Hearts. If we look at their routing table this is what you will find:. One of the differences between routers and switches is that we configure an unique IP address on each interface that the router has. Both routers have this routing table with only their directly connected interfaces. You can see that they stored this enrutamifnto in their routing table.
Now the trick is that router Spade wants to know about the 2. Router Hearts wants to know about the 1. This information has to make it into the routing table somehow. Now the big question is…how do router Spade and router Hearts know that there is a network behind each other? There are 2 ways how they estafico learn this information:.
If you enrutamuento static routing you will have to do everything by yourself. Dynamic routing means we use a routing protocol that will exchange network information between routers. Look at the network in the picture above. We have a network with two sites, headquarters and a branch office. The headquarters is connected to the Branch office.
Behind the branch office enrutamiehto a network with the 2.
We want to make sure that the headquarters can reach the. Headquarters config-if no shutdown. Headquarters config-if ip address Branch config-if no shutdown. Branch config-if ip address Branch config-if ip address 2.
Use the show ip route command to tracsr the routing table. This is what a router uses to make decisions where to forward IP packets to. By default a router only knows its directly connected networks.
We configured an IP address with a subnet mask on the interface so the router also knows the network address. At this moment our Headquarters router has no idea how to reach network 2. What will happen when we try to reach it? The ping will fail.
Headquarters config ip route 2. We use the ip route command to create a static route. Let me break it down for you:. We can now see an entry enritamiento network 2. Whenever router Headquarters has traffic for network eshatico. Type escape sequence to abort.
Router Headquarters knows how to reach network 2. Whenever an IP packet arrives at a router it will check its routing table to see if it knows about the destination network. If it does it will forward the IP packet and if it has estqtico idea where to send traffic it will trace the IP packet. There is another situation where a static route might be useful, let me demonstrate another network:. There are many networks on the Internet so do we require all of those networks on the Internet in our routing table?
The answer is no because we can use a default routelet me show you what it is:. Headquarters config-if ip address 1.
Cisco Packet Tracer. Enrutamiento dinámico, protocolo RIP.
Headquarters config-if no shutdown Headquarters config-if exit. Right now the Headquarters router only knows how to reach network 1. Headquarters config ip route 0. Something important to know about routers is that they always will use the most specific match in their routing table.
Let estatoco give you an example:. Imagine the router above receives an IP packet with destination IP address Will it send the IP packet towards