In a nutshell:
- A static route is the most obvious. You need to be able to reach a certain prefix and you specify the next-hop. This is useful when you are not running dynamic routing protocols and/or when you want to override what a dynamic protocol dictates (since the protocol-preference for a static-route is lower -preferred- than that of any dynamic RP).
- An aggregate route is a route you define but which is not used for forwarding traffic (next-hop is discard or reject). It is purely used to advertise this router's connectivity which is why it needs at least one contributing route (a route which belongs to the advertised subnet but with a longer mask - these are the ones used to forward the traffic). Typically, the aggregate route would be advertised into BGP (if it is active thanks to contributing routes) - BGP does not like dealing with routes which are too specific - it prefers aggregates.
- A generated route is technically an aggregate route but which can be used to forward traffic. Traffic which matches the generated route (and not more specific routes) will be forwarded using the same next-hop as the first contributing route. A generated-route is typically combined with a policy to match which routes we want to be contributing and thus used as NHs. The generated-route is typically the default 0/0 with a policy matching to upstream routes - ie: provide connectivity if certain upstream routes exist.
Order of Preference of Nexthop in Generate Route.
- route with lowest protocol preference (eg: statics are preferred)
- route with numerically lowest IP address as tie breaker (eg: 10.1.1.0/24 is preferred over 11.1.1.0/30)
Generated routes are very similar to aggregate routes, with one exception: generated routes inherit a real next-hop interface, while aggregate routes only allow discard or reject as next-hops.
For example, the following config:
routing-options {
aggregate {
route 192.168.16.0/21;
}
generate {
route 10.0.0.0/16;
}
}
Results in:
lab@lab> show route protocol aggregate
inet.0: 57 destinations, 60 routes (57 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.0.0/16 *[Aggregate/130] 00:00:04
> via so-0/0/0.0 <<<<<<REAL NEXT HOP (inherited from contributor)
192.168.16.0/21 *[Aggregate/130] 1d 08:33:02
Reject <<<<<<Reject is the default (can be configured to discard)
Note that they both show up in the routing table as protcol type Aggregate.
- A static route is the most obvious. You need to be able to reach a certain prefix and you specify the next-hop. This is useful when you are not running dynamic routing protocols and/or when you want to override what a dynamic protocol dictates (since the protocol-preference for a static-route is lower -preferred- than that of any dynamic RP).
- An aggregate route is a route you define but which is not used for forwarding traffic (next-hop is discard or reject). It is purely used to advertise this router's connectivity which is why it needs at least one contributing route (a route which belongs to the advertised subnet but with a longer mask - these are the ones used to forward the traffic). Typically, the aggregate route would be advertised into BGP (if it is active thanks to contributing routes) - BGP does not like dealing with routes which are too specific - it prefers aggregates.
- A generated route is technically an aggregate route but which can be used to forward traffic. Traffic which matches the generated route (and not more specific routes) will be forwarded using the same next-hop as the first contributing route. A generated-route is typically combined with a policy to match which routes we want to be contributing and thus used as NHs. The generated-route is typically the default 0/0 with a policy matching to upstream routes - ie: provide connectivity if certain upstream routes exist.
Order of Preference of Nexthop in Generate Route.
- route with lowest protocol preference (eg: statics are preferred)
- route with numerically lowest IP address as tie breaker (eg: 10.1.1.0/24 is preferred over 11.1.1.0/30)
Generated routes are very similar to aggregate routes, with one exception: generated routes inherit a real next-hop interface, while aggregate routes only allow discard or reject as next-hops.
For example, the following config:
routing-options {
aggregate {
route 192.168.16.0/21;
}
generate {
route 10.0.0.0/16;
}
}
Results in:
lab@lab> show route protocol aggregate
inet.0: 57 destinations, 60 routes (57 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.0.0/16 *[Aggregate/130] 00:00:04
> via so-0/0/0.0 <<<<<<REAL NEXT HOP (inherited from contributor)
192.168.16.0/21 *[Aggregate/130] 1d 08:33:02
Reject <<<<<<Reject is the default (can be configured to discard)
Note that they both show up in the routing table as protcol type Aggregate.
Nice post. Great blog. Thanks for the share. Keep updating such kind of information on your blog. I Just bookmarked it for continuous visit.
ReplyDeletehtml5 audio player
I absolutely love your website.. Great colors & theme.
ReplyDeleteDid you build this amazing site yourself? Please reply back as I'm looking to create my very
own site and want to learn where you got this from or what
the theme is called. Appreciate it!
Look into my site: mud runs 2014
When aggregated routes do not have any contributed route active it will be marked as rejected or discarded as per the selected action. But what will be the o/p if one of the contributed route is active, will the aggregated route will show as discarded or rejected?
ReplyDeleteI was banging my head against the JNCIA study manual trying to understand the deal with aggregate routes only having options of "reject" and "discard", but NOW I understand - it's used for ADVERTISING routes. Thank you so much!
ReplyDeleteGreat post. Answered my question about aggregate routing in Juniper better than anything else I've read. Thanks for putting this together
ReplyDeleteCISCO Routers
ReplyDeleteCISCO Routers services in bangalore
Network Enhancers - "Delivering Beyond Boundaries": Difference Between Static, Aggregate And Generate Routes In Junos. >>>>> Download Now
ReplyDelete>>>>> Download Full
Network Enhancers - "Delivering Beyond Boundaries": Difference Between Static, Aggregate And Generate Routes In Junos. >>>>> Download LINK
>>>>> Download Now
Network Enhancers - "Delivering Beyond Boundaries": Difference Between Static, Aggregate And Generate Routes In Junos. >>>>> Download Full
>>>>> Download LINK
Network Enhancers - "Delivering Beyond Boundaries": Difference Between Static, Aggregate And Generate Routes In Junos. >>>>> Download Now
ReplyDelete>>>>> Download Full
Network Enhancers - "Delivering Beyond Boundaries": Difference Between Static, Aggregate And Generate Routes In Junos. >>>>> Download LINK
>>>>> Download Now
Network Enhancers - "Delivering Beyond Boundaries": Difference Between Static, Aggregate And Generate Routes In Junos. >>>>> Download Full
>>>>> Download LINK Gj
Iğdır
ReplyDeleteAdana
Karabük
Diyarbakır
Antep
BGXSK
Ankara
ReplyDeleteVan
Hakkari
Edirne
Yozgat
APOE
Kocaeli
ReplyDeleteDenizli
Bartın
Kocaeli
Adana
NAEB
Erzurum
ReplyDeleteElazığ
Konya
Zonguldak
Eskişehir
7HİBQ5
ordu evden eve nakliyat
ReplyDeletebursa evden eve nakliyat
konya evden eve nakliyat
osmaniye evden eve nakliyat
bitlis evden eve nakliyat
XCZ
FE2C6
ReplyDeleteKayseri Lojistik
Pursaklar Parke Ustası
Isparta Şehir İçi Nakliyat
Ordu Lojistik
Bibox Güvenilir mi
Erzincan Şehirler Arası Nakliyat
Amasya Şehirler Arası Nakliyat
Muş Parça Eşya Taşıma
Çerkezköy Mutfak Dolabı
237B6
ReplyDeleteAntalya Rent A Car
Trabzon Şehirler Arası Nakliyat
Sinop Şehirler Arası Nakliyat
Ankara Boya Ustası
Çankırı Şehir İçi Nakliyat
Sakarya Parça Eşya Taşıma
Niğde Parça Eşya Taşıma
AAX Güvenilir mi
Ordu Lojistik
D33A9
ReplyDeleteAnkara Fayans Ustası
Kütahya Şehir İçi Nakliyat
Manisa Parça Eşya Taşıma
Eskişehir Şehirler Arası Nakliyat
Tekirdağ Parke Ustası
Şırnak Lojistik
Çankırı Lojistik
Sinop Şehir İçi Nakliyat
Urfa Şehir İçi Nakliyat
225F0
ReplyDeletehttps://referanskodunedir.com.tr/
3BABF
ReplyDeleteyozgat telefonda canlı sohbet
sakarya yabancı görüntülü sohbet uygulamaları
canlı sohbet odası
kastamonu bedava sohbet
karabük goruntulu sohbet
afyon tamamen ücretsiz sohbet siteleri
Kayseri Parasız Görüntülü Sohbet Uygulamaları
görüntülü sohbet ücretsiz
telefonda kızlarla sohbet
675A1
ReplyDeleteMazgirt
Kızılören
Hemsin
Yayladere
Pülmür
Kofçaz
Ovacık
Avcılar
Pertek
B12AE
ReplyDeleteOmlira Coin Hangi Borsada
Arbitrum Coin Hangi Borsada
Kripto Para Kazanma Siteleri
Tumblr Takipçi Satın Al
Threads Yeniden Paylaş Satın Al
Dlive Takipçi Hilesi
Pinterest Takipçi Hilesi
Binance Referans Kodu
Okex Borsası Güvenilir mi
C1B96
ReplyDeletedefilama
uwu lend
bitbox
sushi
ledger live
poocoin
arculus
dappradar
shiba
GFNHGHNJ
ReplyDeleteشركة تسليك مجاري بالدمام
asdfasfsgdsgfdfhfjhg
ReplyDeleteتصليح افران غاز مكه
sefsegdfgfdhghfjhg
ReplyDeleteتصليح افران غاز مكه
صيانة افران الغاز بمكة llGPSjZH1B
ReplyDeleteشركة تنظيف خزانات بخميس مشيط we6wdR6hW7
ReplyDeleteشركة تسليك مجاري L8MXhJT3l2
ReplyDelete