Привет всем!
Подскажите плиз новичку как default получаемый по BGP от внешних роутеров вставить в OSPF?
Вот так не получается:
182 interface FastEthernet0/1.8
183 description GKK
184 encapsulation dot1Q 8
185 ip address 172.16.8.17 255.255.255.0
186 ip policy route-map fromGKK
187 ip ospf cost 2
188 ip ospf 1 area 0
189 no snmp trap link-status
190 no cdp enable209 interface Virtual-Template1
210 ip unnumbered Loopback1
211 ip ospf cost 4
212 ip ospf priority 0
213 ip ospf 1 area 0
214 peer default ip address pool l2tp
215 ppp encrypt mppe auto
216 ppp authentication chap ms-chap218 router ospf 1
219 log-adjacency-changes
220 no capability lls
221 redistribute connected subnets
222 redistribute static subnets
вот что на выходе:
megarouter#sh ip ospf neighborNeighbor ID Pri State Dead Time Address Interface
192.168.100.1 0 FULL/ - 00:00:33 192.168.100.1 Virtual-Access3
192.168.100.1 1 FULL/BDR 00:00:32 172.16.8.30 FastEthernet0/1.8
-------------------
megarouter#sh ip ospf databaseOSPF Router with ID (1.1.1.1) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 945 0x8000004B 0x00FF38 2
192.168.100.1 192.168.100.1 1530 0x8000004A 0x00A80B 3Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
172.16.8.17 1.1.1.1 1534 0x80000001 0x00721BType-5 AS External Link States
Link ID ADV Router Age Seq# Checksum Tag
1.1.1.1 1.1.1.1 945 0x80000001 0x009BFC 0
10.0.0.0 1.1.1.1 956 0x80000024 0x00016E 0
172.16.8.0 1.1.1.1 943 0x80000001 0x00EBEB 0
192.168.0.0 1.1.1.1 206 0x80000022 0x003D01 0
192.168.10.0 1.1.1.1 206 0x80000022 0x00B283 0
192.168.11.0 192.168.100.1 1539 0x80000025 0x00C6A5 0
192.168.100.1 1.1.1.1 956 0x80000020 0x007F2F 0
192.168.111.0 192.168.100.1 1539 0x80000024 0x00BD6A 0
>Привет всем!
>Подскажите плиз новичку как default получаемый по BGP от внешних роутеров вставить
>в OSPF?
>Вот так не получается:
> 182 interface FastEthernet0/1.8
> 183 description GKK
> 184 encapsulation dot1Q 8
> 185 ip address 172.16.8.17 255.255.255.0
>
> 186 ip policy route-map fromGKK
>
> 187 ip ospf cost 2
>
> 188 ip ospf 1 area
>0
> 189 no snmp trap link-status
>
> 190 no cdp enable
>
> 209 interface Virtual-Template1
> 210 ip unnumbered Loopback1
> 211 ip ospf cost 4
>
> 212 ip ospf priority 0
>
> 213 ip ospf 1 area
>0
> 214 peer default ip address
>pool l2tp
> 215 ppp encrypt mppe auto
>
> 216 ppp authentication chap ms-chap
>
>
> 218 router ospf 1
> 219 log-adjacency-changes
> 220 no capability lls
> 221 redistribute connected subnets
> 222 redistribute static subnets
>вот что на выходе:
>megarouter#sh ip ospf neighbor
>
>Neighbor ID Pri State
> Dead Time
> Address Interface
>
>192.168.100.1 0 FULL/ -
> 00:00:33 192.168.100.1
> Virtual-Access3
>192.168.100.1 1 FULL/BDR
> 00:00:32 172.16.8.30
> FastEthernet0/1.8
>-------------------
>megarouter#sh ip ospf database
>
>
>OSPF Router with ID (1.1.1.1) (Process ID 1)
>
>Router Link States (Area 0)
>
>Link ID ADV Router
> Age
> Seq# Checksum
>Link count
>1.1.1.1 1.1.1.1
> 945
> 0x8000004B 0x00FF38 2
>192.168.100.1 192.168.100.1 1530
> 0x8000004A 0x00A80B 3
>
>Net Link States (Area 0)
>
>Link ID ADV Router
> Age
> Seq# Checksum
>
>172.16.8.17 1.1.1.1
> 1534 0x80000001
>0x00721B
>
>Type-5 AS External Link States
>
>Link ID ADV Router
> Age
> Seq# Checksum
>Tag
>1.1.1.1 1.1.1.1
> 945
> 0x80000001 0x009BFC 0
>10.0.0.0 1.1.1.1
> 956
> 0x80000024 0x00016E 0
>172.16.8.0 1.1.1.1
> 943
> 0x80000001 0x00EBEB 0
>192.168.0.0 1.1.1.1
> 206
>0x80000022 0x003D01 0
>192.168.10.0 1.1.1.1
> 206 0x80000022
>0x00B283 0
>192.168.11.0 192.168.100.1 1539
> 0x80000025 0x00C6A5 0
>192.168.100.1 1.1.1.1
>956 0x80000020 0x007F2F
>0
>192.168.111.0 192.168.100.1 1539
> 0x80000024 0x00BD6A 0
Если тебе нужно проанонсить, что default на твоем маршрутере, то
default-information originateили я чего-то недопонял?