Posts Tagged ‘ cli

Intro to Routing & Packet Forwarding 18 August 2008 at 11:32 pm by admin

Routing & Packet Forwarding

Routing Protocols & Concepts

Router as a Computer:

Computers that specialize in sending packets over the data network.
Responsible for interconnecting networks.
Routers are the network center.
Generally have a min of 2 connections:
WAN connection (Connection to ISP).
LAN connection.
In addition to packet forwarding, routers provide other services as well.
A router connects multiple networks.
This means that it has multiple interfaces that each belong to a different IP network.
Each network that a router connects to typically requires a separate interface.

Routing Table:

Used to determine the best path.
Incoming packets’ dest IP address is looked up in the table.
The table includes an exit interface or next hop.
Once a match is found, the router encapsulates the IP packet into the L2 frame of the exit interface.

Router as a computer:

Router components and their functions:
CPU – Executes OS instructions.
RAM – Contains the running copy of config, routing table, buffers, etc. Contents lost when pwr is off.
ROM – Holds diagnostic software used @ startup and the bootstrap prgm.
NVRAM – Stores startup config.
Flash – Contains the OS, non-volitile.
Interfaces – usually multiple physical interfaces. Examples of interface types:
Ethernet / Fast Ethernet interfaces.
Serial interfaces.
Management interfaces (concole).

Internetwork Operating System:

IOS
A multitasking OS integrated with routing, switching, internetworking, and telecomm functions.
Stored as an image. Many different IOS images available.
IOS interface is CLI
On boot, the startup-config file in NVRAM is copied into RAM and stored as the running-config file.
Changes entered by the admin are stored in the running-config and are immediately implemented by the IOS.

Read the rest of this entry →

Tags: switch, ip, 802.1q, guides, router, study