Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TOPOLOGY
- http://joxi.ru/v29aW86u3Pbxj2
- CONFIG:
- R1:
- /interface bridge
- add name=bridge1
- /routing ospf instance
- set [ find default=yes ] redistribute-connected=as-type-2
- /ip address
- add address=10.0.0.1/24 interface=ether1 network=10.0.0.0
- add address=192.168.1.1/24 interface=bridge1 network=192.168.1.0
- add address=192.168.2.1/24 interface=bridge1 network=192.168.2.0
- add address=192.168.3.1/24 interface=bridge1 network=192.168.3.0
- /routing ospf network
- add area=backbone network=10.0.0.0/24
- /system identity
- set name=R1-ASBR-bb
- R2:
- /routing ospf area
- add area-id=0.0.0.1 default-cost=1 inject-summary-lsas=no name=nssa-area1 translator-role=\
- translate-never type=nssa
- /ip address
- add address=10.0.0.2/24 interface=ether1 network=10.0.0.0
- add address=10.0.1.1/24 interface=ether2 network=10.0.1.0
- /routing ospf network
- add area=backbone network=10.0.0.0/24
- add area=nssa-area1 network=10.0.1.0/24
- /system identity
- set name=R2-ABR
- R3:
- /routing ospf area
- add area-id=0.0.0.1 default-cost=1 name=nssa-area1 type=nssa
- /ip address
- add address=10.0.1.2/24 interface=ether1 network=10.0.1.0
- /routing ospf network
- add area=nssa-area1 network=10.0.1.0/24
- /system identity
- set name=R3-IR-NSSA
- STATE:
- R1:
- [admin@R1-ASBR-bb] > ip ro print
- Flags: X - disabled, A - active, D - dynamic,
- C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
- B - blackhole, U - unreachable, P - prohibit
- # DST-ADDRESS PREF-SRC GATEWAY DISTANCE
- 0 ADC 10.0.0.0/24 10.0.0.1 ether1 0
- 1 ADo 10.0.1.0/24 10.0.0.2 110
- 2 ADC 192.168.1.0/24 192.168.1.1 bridge1 0
- 3 ADC 192.168.2.0/24 192.168.2.1 bridge1 0
- 4 ADC 192.168.3.0/24 192.168.3.1 bridge1 0
- R2:
- [admin@R2-ABR] > ip ro print
- Flags: X - disabled, A - active, D - dynamic,
- C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
- B - blackhole, U - unreachable, P - prohibit
- # DST-ADDRESS PREF-SRC GATEWAY DISTANCE
- 0 ADC 10.0.0.0/24 10.0.0.2 ether1 0
- 1 ADC 10.0.1.0/24 10.0.1.1 ether2 0
- 2 ADo 192.168.1.0/24 10.0.0.1 110
- 3 ADo 192.168.2.0/24 10.0.0.1 110
- 4 ADo 192.168.3.0/24 10.0.0.1 110
- R3:
- [admin@R3-IR-NSSA] > ip ro print
- Flags: X - disabled, A - active, D - dynamic,
- C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
- B - blackhole, U - unreachable, P - prohibit
- # DST-ADDRESS PREF-SRC GATEWAY DISTANCE
- 0 ADo 0.0.0.0/0 10.0.1.1 110
- 1 ADo 10.0.0.0/24 10.0.1.1 110
- 2 ADC 10.0.1.0/24 10.0.1.2 ether1 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement