# Router

1\) Router is an Intelligent Device. 2) As soon as a Router receives a packet on itss port it will read IP Address Refer Routing Table & take the Forwarding decision. 3) IP Address is a L3 Address, Routing Table is a L3 Table. Hence, a Router is a L3 [Networking device](https://app.gitbook.com/@mudassirs46/s/network-fundamentals/~/drafts/-MRZ8l67L5MHnaQIEh9W/types-of-networking-devices). 4) On receiving a packet on its port Router will open L3 information, Refer Routing Table & forward the packet only if it has a route to reach that Network or else discard it. 5) Because Router refers to Routing Table to take the forwarding decision hence Routing Table should be populated with Routes.

### A Router can be populated in 3 ways:

i) Directly connected Routes will automatically reflect in Router's Routing Table. ii) Administrator can make Static Rote Entry in Router's Routing Table iii) [Dynamic Routing Protocols](https://app.gitbook.com/@mudassirs46/s/network-fundamentals/~/drafts/-MRZ8l67L5MHnaQIEh9W/dynamic-routing-protocol) will learn Routes Dynamically in Router's Routing Table.

6\) Switch switches within the Subnet & Router routes between the Network. Because Router routes between the Network hence every port of Router must be in the different Network. No two ports of the Router can belong to the same [Subnet](https://app.gitbook.com/@mudassirs46/s/network-fundamentals/~/drafts/-MRZ8l67L5MHnaQIEh9W/subnetting). 7) Routers will never forward a broadcast received on a port to other ports. A Router has been created to break the Broadcast Domain. 8) Every port of a Router is a member of separate collision domain. Similarly, every port of Router is a member of a Separate Broadcast Domain hence Router is a multiple Collision & Broadcast Domain Device. 9) Multiple Ports of a Router can have the same MAC Address or Multiple MAC Addresses.

* Router/Switch contains 4 different Types of [Memory](https://app.gitbook.com/@mudassirs46/s/network-fundamentals/~/drafts/-MRZ8l67L5MHnaQIEh9W/memory-types)

## References:

RST Notes


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mudassirs46.gitbook.io/network-fundamentals/router.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
