This is an old revision of the document!
ip route 192.168.100+X.0 255.255.255.0 192.168.X.10
no ip route 192.168.100+X.0 255.255.255.0 192.168.X.10
!!! Не забыть про установку ПО !!!
server# route delete default
router ospf 100 network 192.168.X.0 0.0.0.255 area 0 default-information originate
router#show ip ospf neighbor router#show ip route
server### ifdown eth0 server# telnet localhost ospfd
router ospf network 192.168.X.0/24 area 0 redistribute connected
server# telnet localhost ospfd
! access-list ACL_IP_NET permit 192.168.100+X.0/24 ! route-map RM_IP_NET permit 1 ! match ip address ACL_IP_NET router ospf network 192.168.X.0/24 area 0 redistribute connected ! route-map RM_IP_NET service_ospfd# show ip ospf neighbor
server# telnet localhost zebra
service_zebra# show ip route
router bgp 100+X network 192.168.X.0 mask 255.255.255.0 redistribute connected neighbor 192.168.X.10 remote-as 200+X neighbor 192.168.X.10 default-originate
router bgp 200+X network 192.168.X.0/24 redistribute connected neighbor 192.168.X.1 remote-as 100+X