In the above diagram pc1 on subnet 10.0.0.0/24 wants to send some data to pc2 on subnet 20.0.0.0/8 . step1- now pc1 is having 10.0.0.1 as the default gateway so now pc1 want to send some data to some other network 20.0.0.0 so he will forward his data to the default gateway means to the router as both pcs are not on common subnet . step2- when pc1 will send data to pc2 source ip will be 10.0.0.1 and destination ip will be 20.0.0.2 and source mac address will be of pc1 ie OA and destination mac address will be O1 so that data can reach default gateway when that frame will arrive on router interface f0/0 router will recieve that frame as destination mac is of router.
step 3 - router will strip off the layer 2 header that contains the source and the destination mac and left with packet only now as the destination ip of the packet is 20.0.0.2 so he will perform the routing table lookup to exit that packet out. routing process simply means to find out an exit interface for the incoming packet on the basis of destination ip in the packet so from the routing table router find f0/1 as the exit interface of the packet.
step4 now when router will send that packet out of interface f0/1 ip packet will be encapsulated again in a layer 2 header with source mac of interface f0/1 mac add ie o1 and destination mac address will be of pc2 ie OB Aand then data will be delivered to the pc1 and for reply from pc2 same process will be repeated in other direction
note- here i did not include the arp process
- How can you guarantee a job for students who has no experience in Networking field?
- How to configure VPN between Cisco Router and ASA Firewall?
- How to configure RIPV2 with no auto summary?
- How to configure PAT (Port Address Translation)?
- How to configure Default Routing on Cisco Routers?
- What is the scope of CCNA course in India?
- What is scope of CCIE?
- How to remember 7 layers of OSI Model?
- How much salary can we get after doing CCNA course in Delhi Gurgaon?
- How many CCIE’s are there worldwide?
- Is it possible to pass CCIE Certification in 1st attempt?