Route Sources – In-Depth Explanation
In routing, a route source refers to where or how a route to a destination network is learned by a router. Understanding route sources is fundamental for effective routing design and troubleshooting.
There are three primary route sources:
- Connected Routes
- Static Routes
- Dynamic Routes
✅ Route Sources – Concept Checklist
Route Source | How Learned | Admin Distance (Default) | Metric Use | Manual Config | Example Protocols |
---|---|---|---|---|---|
Connected | Interface up with IP | 0 | Not needed | ❌ No | N/A |
Static | Manually configured | 1 | Optional | ✅ Yes | N/A |
Dynamic | Learned via protocols | Varies | ✅ Yes | ✅ Yes | RIP, OSPF, EIGRP |
🔹 1. Connected Routes
🔸 Definition
A connected route is automatically added to the routing table when a router interface is configured with an IP address and is up.
🔸 Example
interface GigabitEthernet0/0
ip address 192.168.10.1 255.255.255.0
This adds: C 192.168.10.0/24 is directly connected, GigabitEthernet0/0
🔸 Administrative Distance
AD = 0 (Most preferred)
🔸 Impact of Interface Status
- Up = route appears
- Down = route removed
🔸 Connected Routes in Static/Dynamic Routing
ip route 10.0.0.0 255.255.255.0 192.168.10.2
🔹 2. Static Routes
🔸 Definition
Manually configured paths using next-hop IP or exit interface.
🔸 AD = 1
🔸 Examples
ip route 10.0.0.0 255.255.255.0 192.168.1.2
ip route 10.0.0.0 255.255.255.0 GigabitEthernet0/1
ip route 10.0.0.0 255.255.255.0 192.168.1.2 GigabitEthernet0/1
🔸 Floating Static Route
ip route 10.0.0.0 255.255.255.0 192.168.1.2 5
🔸 Comparison
Method | Use Case | Pros | Cons |
---|---|---|---|
Next-hop IP | Multi-access | ARP handling | Needs ARP |
Interface only | Point-to-point | Fast lookup | Broadcast issues |
Fully specified | Best control | Clarity | Complex config |
🔹 3. Dynamic Routes
🔸 Definition
Routes learned automatically through routing protocols.
🔸 Examples
- RIP – Hop count
- OSPF – Cost
- EIGRP – Bandwidth + delay
- BGP – Policy
🔸 AD Values
Protocol | AD |
---|---|
EIGRP | 90 |
OSPF | 110 |
RIP | 120 |
BGP (eBGP) | 20 |
BGP (iBGP) | 200 |
🔸 Benefits
- Scalability
- Redundancy
- Adaptability
🔹 4. Comparative Understanding
Feature | Connected | Static | Dynamic |
---|---|---|---|
Config Needed | No | Yes | Yes |
Admin Distance | 0 | 1 | 90–120+ |
Learning Method | Interface up | Manual | Protocols |
Scalability | Low | Low | High |
Flexibility | None | Moderate | High |
Convergence | Instant | Manual | Automatic |
✅ Summary Table
Route Type | AD | Configurable? | Auto Failover | Scalable | Common Use |
---|---|---|---|---|---|
Connected | 0 | No | No | No | Base for dynamic, local |
Static | 1 | Yes | Yes (floating) | No | Small networks, backup |
Dynamic | 90+ | Yes | Yes | Yes | Large networks |