NEWS 63 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374
  1. * Changes in Quagga 0.96.4
  2. - Further fixes to ospfd, some relating to the PtP revert. Interface
  3. lookups should be a lot more robust now.
  4. - Fix for a remote triggerable crash in vty layer.
  5. - Improvements to ripd, and addition of split horizon support.
  6. - Improved bgpd table support, now dumps at time of day intervals rather
  7. than time from startup intervals. Much improved support for IPv6 table
  8. dumps. show commands for views improved.
  9. * Changes in Quagga 0.96.3
  10. - revert the 'generic PtP' patch. Means Quagga will no longer work with
  11. FreeSWAN, however, on the plus side this gets rid of a lot of niggly bugs
  12. which the PtP patch introduced.
  13. * Changes in Quagga 0.96.2
  14. - Fix crash in ospfd
  15. * Changes in Quagga 0.96.1
  16. - Iron out problem with the privileges definitions
  17. * Changes in Quagga 0.96
  18. - Privilege support, daemons now run with the minimal privileges needed, see
  19. the documentation for details.
  20. - NSSA ABR support in ospfd.
  21. - OSPF-API support merged in.
  22. - 6WIND patch merged in.
  23. * Changes in zebra-0.93
  24. * Changes in bgpd
  25. ** Configuration is changed to new format.
  26. * Changes in ospfd
  27. ** Crush bugs which reported on Zebra ML is fixed.
  28. ** Opaque LSA and TE LSA support is added by KDD R&D Laboratories,
  29. Inc.
  30. * Chages in ospf6d
  31. ** Many bugs are fixed.
  32. * Changes in zebra-0.92a
  33. * Changes in bgpd
  34. ** Fix "^$" community list bug.
  35. ** Below command's Address Family specific configurations are added
  36. nexthop-self
  37. route-reflector-client
  38. route-server-client
  39. soft-reconfiguration inbound
  40. * Changes in zebra
  41. ** Treat kernel type routes as EGP routes.
  42. * Changes in zebra-0.92
  43. ** Overall security is improved. Default umask is 0077.
  44. * Changes in ripd
  45. ** If output interface is in simple password authentication mode,
  46. substruct one from rtemax.
  47. * Changes in bgpd
  48. ** IPv4 multicast and IPv6 unicast configuration is changed to so
  49. called new config. All of AFI and SAFI specific configuration is
  50. moved to "address-family" node. When you have many IPv6 only
  51. configuration, you will see many "no neighbor X:X::X:X activate" line
  52. in your configuration to disable IPv4 unicast NLRI exchange. In that
  53. case please use "no bgp default ipv4-unicast" command to suppress the
  54. output. Until zebra-0.93, old config is still left for compatibility.
  55. Old config
  56. ==========
  57. router bgp 7675
  58. bgp router-id 10.0.0.1
  59. redistribute connected
  60. network 192.168.0.0/24
  61. neighbor 10.0.0.2 remote-as 7675
  62. ipv6 bgp network 3ffe:506::/33
  63. ipv6 bgp network 3ffe:1800:e800::/40
  64. ipv6 bgp aggregate-address 3ffe:506::/32
  65. ipv6 bgp redistribute connected
  66. ipv6 bgp neighbor 3ffe:506:1000::2 remote-as 1
  67. New config
  68. ==========
  69. router bgp 7675
  70. bgp router-id 10.0.0.1
  71. network 192.168.0.0/24
  72. redistribute connected
  73. neighbor 10.0.0.2 remote-as 7675
  74. neighbor 3ffe:506:1000::2 remote-as 1
  75. no neighbor 3ffe:506:1000::2 activate
  76. !
  77. address-family ipv6
  78. network 3ffe:506::/33
  79. network 3ffe:1800:e800::/40
  80. aggregate-address 3ffe:506::/32
  81. redistribute connected
  82. neighbor 3ffe:506:1000::2 activate
  83. exit-address-family
  84. * Changes in ospfd
  85. ** Internal interface treatment is changed. Now ospfd can handle
  86. multiple IP address for an interface.
  87. ** Redistribution of loopback interface's address works fine.
  88. * Changes in zebra-0.91
  89. ** --enable-oldrib configure option is removed.
  90. ** HAVE_IF_PSEUDO part is removed. Same feature is now supported by
  91. default.
  92. * Changes in ripd
  93. ** When redistributed route is withdrawn, perform poisoned reverse.
  94. * Changes in zebra
  95. ** When interface's address is removed, kernel route pointing out to
  96. the address is removed.
  97. ** IPv6 RIB is now based upon new RIB code.
  98. ** zebra can handle same connected route to one interface.
  99. ** New command for interface address. Currently this commands are
  100. only supported on GNU/Linux with netlink interface.
  101. "ip address A.B.C.D secondary"
  102. "ip address A.B.C.D label LABEL"
  103. * Changes in bgpd
  104. ** BGP flap dampening bugs are fixed.
  105. ** BGP non-blocking TCP connection bug is fixed.
  106. ** "show ip bgp summary" shows AS path and community entry number.
  107. ** New commands have been added.
  108. "show ip bgp cidr-only"
  109. "show ip bgp ipv4 (unicast|multicast) cidr-only"
  110. "show ip bgp A.B.C.D/M longer-prefixes"
  111. "show ip bgp ipv4 (unicast|multicast) A.B.C.D/M longer-prefixes"
  112. "show ipv6 bgp X:X::X:X/M longer-prefixes"
  113. "show ipv6 mbgp X:X::X:X/M longer-prefixes"
  114. ** IPv6 IBGP nexthop change is monitored.
  115. ** Unknown transitive attribute is passed with partial flag bit on.
  116. * Changes in ospfd
  117. ** Fix bug of LSA MaxAge flood.
  118. ** Fix bug of NSSA codes.
  119. * Changes in zebra-0.90
  120. ** From this beta release, --enable-unixdomain and --enable-newrib
  121. becomes default. So both options are removed from configure.in. To
  122. revert old behavior please specify below option.
  123. --enable-tcp-zebra # TCP/IP socket is used for protocol daemon and zebra.
  124. --enable-oldrib # Turn on old RIB implementation.
  125. Old RIB implementation will be removed in zebra-0.91.
  126. ** From this beta release --enable-multipath is supported. This
  127. option is only effective on GNU/Linux kernel with
  128. CONFIG_IP_ADVANCED_ROUTER and CONFIG_IP_ROUTE_MULTIPATH is set.
  129. --enable-multipath=ARG # ARG must be digit. When ARG is 0 unlimit multipath number.
  130. ** From this release we do not include guile files.
  131. * Changes in lib
  132. ** newlist.[ch] is merged with linklist.[ch].
  133. ** Now Zebra works on MacOS X public beta.
  134. ** Access-list can have remark. "access-list WORD remark LINE" define
  135. remark for specified access-list.
  136. ** Key of key-chain is sorted by it's idetifier value.
  137. ** prefix-list rule is slightly changed. The rule of "len <= ge-value
  138. <= le-value" is changed to "len < ge-value <= le-value".
  139. ** According to above prefix-list rule change, add automatic
  140. conversion function of an old rule. ex.) 10.0.0.0/8 ge 8 -> 10.0.0.0/8
  141. le 32
  142. ** SMUX can handle SNMP trap.
  143. ** In our event library, event thread is executed before any other
  144. thread like timer, read and write event.
  145. ** Robust method for writing configuration file and recover from
  146. backing up config file.
  147. ** Display "end" at the end of configuration.
  148. ** Fix memory leak in vtysh_read().
  149. ** Fix memroy leak about access-list and prefix-list name.
  150. * Changes in zebra
  151. ** UNIX domain socket server of zebra protocol is added.
  152. ** Fix PointoPoint interface network bug. The destination network
  153. should be installed into routing table instead of local network.
  154. ** Metric value is reflected to kernel routing table.
  155. ** "show ip route" display uptime of RIP,OSPF,BGP routes.
  156. ** New RIB implementation is added.
  157. Now we have enhanced RIB (routing information base) implementation in
  158. zebra. New RIB has many new features and fixed some bugs which exist
  159. in old RIB code.
  160. *** Static route with distance value
  161. Static route can be specified with administrative distance. The
  162. distance value 255 means it is not installed into the kernel.
  163. Default value of distance for static route is 1.
  164. ip route A.B.C.D/M A.B.C.D <1-255>
  165. ip route A.B.C.D/M IFNAME <1-255>
  166. If the least distance value's route's nexthop are unreachable,
  167. select the least distance value route which has reachable nexthop is
  168. selected.
  169. ip route 0.0.0.0/0 10.0.0.1
  170. ip route 0.0.0.0/0 11.0.0.1 2
  171. In this case, when 10.0.0.1 is unreachable and 11.0.0.1 is
  172. reachable. The route with nexthop 11.0.0.1 will be installed into
  173. forwarding table.
  174. zebra> show ip route
  175. S>* 0.0.0.0/0 [2/0] via 11.0.0.1
  176. S 0.0.0.0/0 [1/0] via 10.0.0.1 inactive
  177. If the nexthop is unreachable "inactive" is displayed. You can
  178. specify any string to IFNAME. There is no need of the interface is
  179. there when you configure the route.
  180. ip route 1.1.1.1/32 ppp0
  181. When ppp0 comes up, the route is installed properly.
  182. *** Multiple nexthop routes for one prefix
  183. Multiple nexthop routes can be specified for one prefix. Even the
  184. kernel support only one nexthop for one prefix user can configure
  185. multiple nexthop.
  186. When you configure routes like below, prefix 10.0.0.1 has three
  187. nexthop.
  188. ip route 10.0.0.1/32 10.0.0.2
  189. ip route 10.0.0.1/32 10.0.0.3
  190. ip route 10.0.0.1/32 eth0
  191. If there is no route to 10.0.0.2 and 10.0.0.3. And interface eth0
  192. is reachable, then the last route is installed into the kernel.
  193. zebra> show ip route
  194. S> 10.0.0.1/32 [1/0] via 10.0.0.2 inactive
  195. via 10.0.0.3 inactive
  196. * is directly connected, eth0
  197. '*' means this nexthop is installed into the kernel.
  198. *** Multipath (more than one nexthop for one prefix) can be installed into the kernel.
  199. When the kernel support multipath, zebra can install multipath
  200. routes into the kernel. Before doing that please make it sure that
  201. setting --enable-multipath=ARG to configure script. ARG must be digit
  202. value. When specify 0 to ARG, there is no limitation of the number
  203. of the multipath. Currently only GNU/Linux with netlink interface is
  204. supported.
  205. ip route 10.0.0.1/32 10.0.0.2
  206. ip route 10.0.0.1/32 10.0.0.3
  207. ip route 10.0.0.1/32 eth0
  208. zebra> show ip route
  209. S>* 10.0.0.1/32 [1/0] via 10.0.0.2
  210. * via 10.0.0.3
  211. is directly connected, eth0
  212. *** Kernel message delete installed route.
  213. After zebra install static or dynamic route into the kernel.
  214. R>* 0.0.0.0/0 [120/3] via 10.0.0.1
  215. If you delete this route outside zebra, old zebra does not reinstall
  216. route again. Now the route is re-processed and properly reinstall the
  217. static or dynamic route into the kernel.
  218. ** GNU/Linux netlink socket handling is improved to fix race condition
  219. between kernel message and user command responce.
  220. * Changes in bgpd
  221. ** Add show neighbor's routes command.
  222. "show ip bgp neighbors (A.B.C.D|X:X::X:X) routes"
  223. "show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X) routes"
  224. "show ipv6 bgp neighbors (A.B.C.D|X:X::X:X) routes"
  225. "show ipv6 mbgp neighbors (A.B.C.D|X:X::X:X) routes"
  226. ** BGP passive peer support problem is fixed.
  227. ** Redistributed IGP nexthop is passed to BGP nexthop.
  228. ** On multiaccess media, if the nexthop is reachable nexthop is passed
  229. as it is.
  230. ** Remove zebra-0.88 compatibility commands.
  231. "match ip prefix-list WORD"
  232. "match ipv6 prefix-list WORD"
  233. Instead of above please use below commands.
  234. "match ip address prefix-list WORD"
  235. "match ipv6 address prefix-list WORD"
  236. ** Fix bug of holdtimer is not reset when bgp cleared.
  237. ** "show ip bgp summary" display peer establish/drop count.
  238. ** Change "match ip next-hop" argument from IP address to access-list
  239. name.
  240. ** When "bgp enforce-first-as" is enabled, check EBGP peer's update
  241. has it's AS number in the first AS number in AS sequence.
  242. ** New route-map command "set community-delete COMMUNITY-LIST" is
  243. added. Community matched the CoMMUNITY-LIST is removed from the
  244. community.
  245. ** BGP-MIB implementation is finished.
  246. ** When BGP connection comes from unconfigured IP address, close
  247. socket immediately.
  248. ** Do not compare router ID when the routes comes from EBGP peer.
  249. When originator ID is same, take shorter cluster-list route. If
  250. cluster-list is same take smaller IP address neighbor's route.
  251. ** Add "bgp bestpath as-path ignore" command. When this option is
  252. set, do not concider AS path length when route selection.
  253. ** Add "bgp bestpath compare-routerid". When this option is set,
  254. compare router ID when the routes comes from EBGP peer.
  255. ** Add "bgp deterministic-med" process.
  256. ** BGP flap dampening feature is added.
  257. ** When IBGP nexthop is changed, it is reflected to RIB.
  258. ** Change "neighbor route-refresh" command to "neighbor capability
  259. route-refresh".
  260. * Changes in ripd
  261. ** Change "match ip next-hop" argument from IP address to access-list
  262. name.
  263. ** "no ip rip (send|receive)" command accept version number argument.
  264. ** Memory leak related classfull network generation is fixed.
  265. ** When a route is in garbage collection process (invalid with metric
  266. 16) and a router receives the same route with valid metric then route
  267. was not installed into zebra rib, but only into ripd rib. Moreover ,
  268. it will never get into zebra rib, because ripd wrongly assumes it's
  269. already there.
  270. * Change in ospfd
  271. ** Fix bug of refreshing default route.
  272. ** --enable-nssa turn on undergoing NSSA feature.
  273. ** Fix bug of Hello packet's option is not properly set when interface
  274. comes up.
  275. ** Reduce unconditional logging.
  276. ** Add nexthop to OSPF path only when it is not there.
  277. ** When there is no DR on network (suppose you have only one router
  278. with interface priority 0). It's router LSA does not contain the link
  279. information about this network.
  280. ** When you change a priority of interface from/to 0
  281. ISM_NeighborChange event should be scheduled in order to elect new
  282. DR/BDR on the network.
  283. ** When we add some LSA into retransmit list we need to check whether
  284. the present old LSA in retransmit list is not more recent than the new
  285. one.
  286. ** In states Loading and Full the slave must resend its last Database
  287. Description packet in response to duplicate Database Description
  288. packets received from the master. For this reason the slave must wait
  289. RouterDeadInterval seconds before freeing the last Database
  290. Description packet. Reception of a Database Description packet from
  291. the master after this interval will generate a SeqNumberMismatch
  292. neighbor event. RFC2328 Section 10.8
  293. ** Virtual link can not configured in stub area.
  294. ** Clear a ls_upd_queue queue of the interface when interface goes
  295. down.
  296. ** "no router ospf" unregister redistribution requests from zebra.
  297. ** New command for virtual-link configuration is added.
  298. "area A.B.C.D virtual-link A.B.C.D"
  299. "area A.B.C.D virtual-link A.B.C.D hello-interval <1-65535> retransmit-interval <3-65535> transmit-delay <1-65535> dead-interval <1-65535>"
  300. "area A.B.C.D virtual-link A.B.C.D hello-interval <1-65535> retransmit-interval <3-65535> transmit-delay <1-65535> dead-interval <1-65535> authentication-key AUTH_KEY"
  301. "area A.B.C.D virtual-link A.B.C.D authentication-key AUTH_KEY"
  302. "area A.B.C.D virtual-link A.B.C.D hello-interval <1-65535> retransmit-interval <3-65535> transmit-delay <1-65535> dead-interval <1-65535> message-digest-key <1-255> md5 KEY"
  303. "area A.B.C.D virtual-link A.B.C.D message-digest-key <1-255> md5 KEY"
  304. ** Clear cryptographic sequence number when neighbor status is changed
  305. to NSM down.
  306. ** Make Summary LSA's origination and refreshment as same as other
  307. type of LSA.
  308. ** New OSPF pakcet read method. Now maximum packet length may be 65535
  309. bytes (maximum IP packet length).
  310. ** Checking the age of the found LSA and if the LSA is MAXAGE we
  311. should call refresh instead of originate.
  312. ** Install multipath information to zebra.
  313. ** Fix socket descriptor leak when system call failed.
  314. * Changes in ospf6d
  315. ** Whole functionality has been rewritten as new code. new command
  316. "show ipv6 ospf6 spf node", "show ipv6 ospf6 spf tree", "show ipv6
  317. ospf6 spf table" has been added.
  318. ** Change to do not send garbage route whose nexthop is not linklocal
  319. address.
  320. ** "redistribute ospf6" was generated in "router ospf6" in config
  321. file. It is fixed.
  322. ** LSDB sync bug is fixed.
  323. ** Fix bug of using unavailable route.
  324. * Changes in vtysh
  325. ** route-map and access-list configuration is merged into one
  326. configuration.
  327. ** /usr/local/etc/Zebra.conf is integrated configuration file. "write
  328. memory" in vtysh will write whole configuration to this file.
  329. ** When -b option is specified to vtysh, vtysh read
  330. /usr/local/etc/Zebra.conf file then pass the confuguration to proper
  331. protocol daemon. So make all protocol daemon's configuration file
  332. empty then invoke all daemon. After that vtysh -b will setup saved
  333. configuration.
  334. zebrastart.sh
  335. =============
  336. /usr/local/sbin/zebra -d
  337. /usr/local/sbin/ripd -d
  338. /usr/local/sbin/ospfd -d
  339. /usr/local/sbin/bgpd -d
  340. /usr/local/bin/vtysh -b
  341. * Changes in zebra-0.89
  342. * Changes in lib
  343. ** distribute-list can set all interface's access-list and prefix-list
  344. configuration.
  345. * Changes in ripd
  346. ** "show ip protocols" display proper distribute-list settings and
  347. distance settings.
  348. ** When metric infinity route received withdraw the route from kernel
  349. immediately it used to be wait garbage collection.
  350. ** key-chain can be used for simple password authentication.
  351. ** RIPv2 MIB getnext interface bug is fixed.
  352. * Changes in vtysh
  353. ** --with-libpam enable PAM authentication for vtysh.
  354. ** Now vtysh read vtysh.conf. This file should be
  355. ${SYSCONFDIR}/etc/vtysh.conf for security reason. Usually it is
  356. /usr/local/etc/vtysh.conf.
  357. ** "username WORD nopassword" command is added to vtysh.
  358. * Chagees in ospfd
  359. ** NBMA interface support is added.
  360. ** OSPF area is sorted by area ID.
  361. ** New implementation of OSPF refreesh.
  362. ** OSPF-MIB read function is partly added.
  363. * Changes in bgpd
  364. ** When the peering is done by ebgp-multihop, nexthop is looked up
  365. like IBGP routes.
  366. ** "show ip mbgp" commands are changed to "show ip bgp ipv4
  367. multicast".
  368. ** New terminal commands are added.
  369. "show ip bgp ipv4 (unicast|multicast) filter-list WORD"
  370. "show ip bgp ipv4 (unicast|multicast) community"
  371. "show ip bgp ipv4 (unicast|multicast) community-list WORD"
  372. "show ip bgp ipv4 (unicast|multicast) community-list WORD exact-match"
  373. ** MBGP soft-reconfiguration command is added.
  374. "clear ip bgp x.x.x.x ipv4 (unicast|multicast) in"
  375. "clear ip bgp x.x.x.x ipv4 (unicast|multicast) out"
  376. "clear ip bgp x.x.x.x ipv4 (unicast|multicast) soft"
  377. "clear ip bgp <1-65535> ipv4 (unicast|multicast) in"
  378. "clear ip bgp <1-65535> ipv4 (unicast|multicast) out"
  379. "clear ip bgp <1-65535> ipv4 (unicast|multicast) soft"
  380. "clear ip bgp * ipv4 (unicast|multicast) in"
  381. "clear ip bgp * ipv4 (unicast|multicast) out"
  382. "clear ip bgp * ipv4 (unicast|multicast) soft"
  383. ** MED related commands are added.
  384. "bgp deterministic-med"
  385. "bgp bestpath med confed"
  386. "bgp bestpath med missing-as-worst"
  387. ** "bgp default local-preference" command is added.
  388. ** BGP confederation peer's routes are passed to zebra like IBGP route.
  389. ** Community match command is added.
  390. "show ip bgp community <val>"
  391. "show ip bgp community <val> exact-match"
  392. ** EBGP multihop route treatment bug is fixed. Now nexthop is
  393. resolved by IGP routes.
  394. ** Some commands are added to show routes by filter-list and community
  395. value.
  396. "show ip bgp ipv4 (unicast|multicast) filter-list WORD"
  397. "show ip bgp ipv4 (unicast|multicast) community"
  398. "show ip bgp ipv4 (unicast|multicast) community-list WORD"
  399. "show ip bgp ipv4 (unicast|multicast) community-list WORD exact-match"
  400. * Changes in zebra
  401. ** zebra read interface's address information using getifaddrs() when
  402. it is available.
  403. ** Reflect IPv6 interface's address change to protocol daemons.
  404. * Changes in zebra-0.88
  405. * Changes in lib
  406. ** "exact-match" option is added to "access-list" and "ipv6
  407. access-list" command. If this option is specified, the prefix and
  408. prefix length is compared as exact match mode.
  409. * Changes in zebra
  410. ** New Zebra message ZEBRA_REDISTRIBUTE_DEFAULT_ADD and
  411. ZEBRA_REDISTRIBUTE_DEFAULT_DELTE are added.
  412. ** Default administrative distance value is changed.
  413. Old New
  414. ------------------------------------------
  415. system 10 0
  416. kernel 20 0
  417. connected 30 0
  418. static 40 1
  419. rip 50 120
  420. ripng 50 120
  421. ospf 60 110
  422. ospf6 49 110
  423. bgp 70 200(iBGP) 20(eBGP)
  424. ------------------------------------------
  425. ** Distance value can be passed from protocol daemon to zebra.
  426. ** "show ip route" shows [metric/distance] value pair.
  427. ** Zebra Protocol is changed to support multi-path route and distance
  428. value.
  429. * Changes in ospfd
  430. ** "default-information originate [always]" command is added.
  431. ** "default-metric <0-16777214>" command is added.
  432. ** "show ip ospf database" command is integrated. LS-ID and AdvRouter can
  433. be specifed. The commands are
  434. show ip ospf database TYPE LS-ID
  435. show ip ospf database TYPE LS-ID ADV-ROUTER
  436. show ip ospf database TYPE LS-ID self-originate
  437. show ip ospf database TYPE self-originate
  438. ** route-map support for `redistribute' command are added.
  439. Supported `match' statements are
  440. match interface
  441. match ip address
  442. match next-hop
  443. Supported `set' statements are
  444. set metric
  445. set metric-type
  446. ** Pass OSPF metric value to zebra daemon.
  447. * Changes in ripd
  448. ** When specified route-map does not exist, it means all deny.
  449. ** "default-metric <1-16>" command is added.
  450. ** "offset-list ACCESS-LIST-NAME <0-16>" and "offset-list
  451. ACCESS-LIST-NAME <0-16> IFNAME" commands are added.
  452. ** "redistribute ROUTE-TYPE metric <0-16>" command is added.
  453. ** "default-information originate" command is added.
  454. ** "ip split-horizon" and "no ip split-horizon" is added to interface
  455. configuration.
  456. ** "no router rip" command is added.
  457. ** "ip rip authentication mode (md5|text)" is added to interface
  458. configuration.
  459. ** "ip rip authentication key-chain KEY-CHAIN" is added to interface
  460. configuration.
  461. ** Pass RIP metric value to zebra daemon.
  462. ** Distance manipulation functions are added.
  463. * Changes in bgpd
  464. ** Fix bug of next hop treatment for MPLS-VPN route exchange.
  465. ** BGP peer MIB is updated.
  466. ** Aggregated route has origin IGP, atomic-aggregate and proper
  467. aggregator attribute.
  468. ** Suppressed route now installed into BGP table. It is only
  469. suppressed from announcement.
  470. ** BGP router-id is properly set after "no router bgp ASN" and "router
  471. bgp ASN".
  472. ** Add check for nexthop is accessible or not for IBGP routes.
  473. ** Add cehck for nexthop is on connected or not for EBGP routes.
  474. ** "dump bgp route" command is changed to "dump bgp route-mrt" for
  475. generating MRT compatible dump output.
  476. ** Soft reconfiguration inbound and outbound is supported.
  477. ** Route refresh feature is supported.
  478. * Changes in vtysh
  479. ** VTY shell is now included into the distribution.
  480. * Changes in zebra-0.87
  481. * Changes in lib
  482. ** "show startup-config" command is added.
  483. ** "show history" command is added.
  484. ** Memory statistics command is changed. New command
  485. show memory all
  486. show memory lib
  487. show memory rip
  488. show memory ospf
  489. show memory bgp
  490. are added.
  491. ** Filters can be removed only specify it's name. New command
  492. no access-list NAME
  493. no ip community-list NAME
  494. no ip as-path access-list NAME
  495. no route-map NAME
  496. are added.
  497. ** At any node, user can view/save user configuration.
  498. write terminal
  499. write file
  500. wirte memory
  501. are added to every node in default.
  502. ** LCD completion is added. For example both "ip" and "ipv6" command
  503. are exist, "i" then press TAB will be expanded to "ip".
  504. * Changes in bgpd
  505. ** "show ip bgp" family shows total number of prefixes.
  506. ** "no bgp default ipv4-unicast" command is added.
  507. ** Extended Communities support is added.
  508. ** "no neighbor PEER send-community extended" command is added.
  509. ** MPLS-VPN PE-RR support is added.
  510. New address family vpnv4 unicast is introduced.
  511. !
  512. address-family vpnv4 unicast
  513. neighobr PEER activate
  514. network A.B.C.D rd RD tag TAG
  515. exit-address-family
  516. !
  517. To make it route-reflector, please configure it under normal router
  518. bgp ASN.
  519. !
  520. router bgp 7675
  521. no bgp default ipv4-unicast
  522. bgp router-id 10.0.0.100
  523. bgp cluster-id 10.0.0.100
  524. neighbor 10.0.0.1 remote-as 65535
  525. neighbor 10.0.0.1 route-reflector-client
  526. neighbor 10.0.0.2 remote-as 65535
  527. neighbor 10.0.0.2 route-reflector-client
  528. neighbor 10.0.0.3 remote-as 65535
  529. neighbor 10.0.0.3 route-reflector-client
  530. !
  531. address-family vpnv4 unicast
  532. neighbor 10.0.0.1 activate
  533. neighbor 10.0.0.2 activate
  534. neighbor 10.0.0.3 activate
  535. exit-address-family
  536. !
  537. * Changes in ospfd
  538. ** Many many bugs are fixed.
  539. * Changes in ripd
  540. ** Better interface up/down event handle.
  541. * Changes in zebra
  542. ** Better interface up/down event handle.
  543. * Changes in zebra-0.86
  544. * Changes in lib
  545. ** Fix bug of exec-timeout command which may cause crush.
  546. ** Multiple same policy for "access-list", "ip prefix-list, "as-path
  547. access-list", "ip community-list" is not duplicated.
  548. ** It used to be "ip prefix-list A.B.C.D/M" match routes which mask >=
  549. M. Now default behavior is exact match so it only match routes which
  550. mask == M.
  551. * Changes in bgpd
  552. ** "match ip address prefix-list" is added to route-map.
  553. ** A route without local preference is evaluated as 100 local preference.
  554. ** Select smaller router-id route when other values are same.
  555. ** Compare MED only both routes comes from same neighboring AS.
  556. ** "bgp always-compare-med" command is added.
  557. ** Now MED value is passed to IBGP peer.
  558. ** When neighbor's filter is configured with non-existent access-list,
  559. as-path access-list, ip prefix-list, route-map. The behavior is
  560. changed from all permit to all deny.
  561. * Changes in ospfd
  562. ** Fix bug of external route tag byte order.
  563. ** OSPF Neighbor deletion bug which cause crush is fixed.
  564. ** Some route calculation bug are fixed.
  565. ** Add sanity check with router routing table.
  566. ** Fix bug of memory leak about linklist.
  567. ** Fix bug of 1-WayReceived in NSM.
  568. ** Take care of BIGENDIAN architecture.
  569. ** Fix bug of NSM state flapping between ExStart and Exchange.
  570. ** Fix bug of Network-LSA originated in stub network.
  571. ** Fix bug of MS flag unset.
  572. ** Add to schedule router_lsa origination when the interface cost
  573. changes.
  574. ** Increment LS age by configured interface transmit_delay.
  575. ** distribute-list is reimplemented.
  576. ** Fix bug of refresh never occurs.
  577. ** Fix bug of summary-LSAs reorigination. Correctly copy
  578. OSPF_LSA_APPROVED flag to new LSA. when summary-LSA is reoriginatd.
  579. ** Fix bug of re-origination when a neighbor disappears.
  580. ** Fix bug of segmentation fault with DD retransmission.
  581. ** Fix network-LSA re-origination problem.
  582. ** Fix problem of remaining withdrawn routes on zebra.
  583. * Changes in ripd
  584. ** Do not leave from multicast group when interface goes down bug is
  585. fixed.
  586. * Changes in zebra
  587. ** Remove client structure when client dies.
  588. ** Take care static route when interface goes up/down.
  589. * Changes in zebra-0.85
  590. * Changes in bgpd
  591. ** "transparent-nexthop" and "transparenet-as" commands are added.
  592. ** Route reflector's originator-id bug is fixed.
  593. * Changes in ospfd
  594. ** Fix bug of OSPF LSA memory leak.
  595. ** Fix bug of OSPF external route memory leak.
  596. ** AS-external-LSA origination bug was fixed.
  597. ** LS request treatment is completely rewritten. Now performance is
  598. drastically improved.
  599. * Changes in ripd
  600. ** RIPv1 update is done by class-full manner.
  601. * Changes in zebra-0.84b
  602. * Changes in lib
  603. ** Fix bug of inet_pton return value handling
  604. * Changes in bgpd
  605. ** Fix bug of BGP-4+ link-local address nexthop check for IBGP peer.
  606. ** Don't allocate whole buffer for displaying "show ip bgp". Now it
  607. consume only one screen size memory.
  608. * Changes in ripd
  609. ** Fix debug output string.
  610. ** Add RIP peer handling. RIP peer are shown by "show ip protocols".
  611. * Changes in zebra-0.84a
  612. * Changes in bgpd
  613. ** Fix serious bug of BGP-4+ peering under IPv6 link-local address.
  614. Due to the bug BGP-4+ peering may not be established.
  615. * Changes in zebra-0.84
  616. * Changes in lib
  617. ** IPv6 address and prefix parser is added to VTY by Toshiaki Takada
  618. <takada@zebra.org>. DEFUN string is "X:X::X:X" for IPv6 address,
  619. "X:X::X:X/M" for IPv6 prefix. You can use it like this.
  620. DEFUN (func, cmd, "neighbor (A.B.C.D|X:X::X:X) remote-as <1-65535>")
  621. ** VTY configuration is locked during configuration. This is for
  622. avoiding unconditional crush from two terminals modify the
  623. configuration at the same time. "who" command shows which termnal
  624. lock the configuration. VTY which has '*' character at the head of
  625. line is locking the configuration.
  626. ** Old logging functions are removed. Functions like
  627. log_open,log_close,openlog are deleted. Instead of that please use
  628. zlog_* functions. zvlog_* used in ospf6d are deleted also.
  629. ** "terminal monitor" command is added. "no terminal monitor" is for
  630. disabling. This command simply display logging information to the
  631. VTY.
  632. ** dropline.[ch] files are deleted.
  633. * Changes in bgpd
  634. ** BGP neighbor configuration are sorted by it's IP address.
  635. ** BGP peer configuration and actual peer is separated. This is
  636. preparation for Route Server support.
  637. ** "no neighbor PEER" command is added. You can delete neighbor
  638. without specifying AS number.
  639. ** "no neighbor ebgp-multihop" command is added.
  640. ** "no neighbor port PORT" command is added.
  641. ** To conform RFC1771, "neighbor PEER send-community" is default
  642. behavior. If you want to disable sending community attribute,
  643. please specify "no neighbor PEER send-community" to the peer.
  644. ** "neighbor maximum-prefix NUMBER" command is added.
  645. ** Multi-protocol extention NLRI is proceeded only when the peer is
  646. configured proper Address Family and Subsequent Address Family. If
  647. not, those NLRI are simply ignored.
  648. ** Aggregate-address support is improved. Currently below commands
  649. works.
  650. "aggregate-address"
  651. "aggregate-address summary-only"
  652. "no aggregate-address"
  653. "no aggregate-address summary-only"
  654. "ipv6 bgp aggregate-address"
  655. "ipv6 bgp aggregate-address summary-only"
  656. "no ipv6 bgp aggregate-address"
  657. "no ipv6 bgp aggregate-address summary-only"
  658. ** redistribute route-map bug is fixed.
  659. ** MBGP support becomes default. "configure" option --enable-mbgp is
  660. removed.
  661. ** New command "neighbor PEER timers connect <1-65535>" is added.
  662. ** New command "neighbor PEER override-capability" is added.
  663. ** New command "show ip bgp neighbor A.B.C.D advertised-route" is added.
  664. ** New command "show ip bgp neighbor A.B.C.D routes" is added. To use
  665. this command, you have to configure neighbor with
  666. "neighbor A.B.C.D soft-reconfiguration inbound" beforehand.
  667. * Changes in zebra-0.83
  668. * bgpd
  669. ** Serious bug fix about fetching global and link-local address at the
  670. same time. Due to this bug, corrupted IPv6 prefix is generated. If
  671. you uses bgpd for BGP-4+ please update to this version. The bug is
  672. introduced in zebra-0.82.
  673. ** When bgpd send Notify message, don't use thread manager. It is now
  674. send to neighbor immediately.
  675. * Changes in zebra-0.82
  676. ** Solaris 2.6 support is added by Michael Handler
  677. <handler@sub-rosa.com>.
  678. ** MBGP support is added by Robert Olsson <Robert.Olsson@data.slu.se>.
  679. Please specify --enable-mbgp to configure script. This option will be
  680. removed in the future and MBGP support will be default.
  681. * Changes in zebra
  682. ** When interface goes down, withdraw connected routes from routing
  683. table. When interface goes up, restore the routes to the routing
  684. table.
  685. ** `show interface' show interface's statistics on Linux and BSD with
  686. routing socket.
  687. ** Now zebra can get MTU value on BSDI/OS.
  688. * Changes in bgpd
  689. ** Add capability option support based upon
  690. draft-ietf-idr-bgp4-cap-neg-04.txt.
  691. ** Add `show ipv6 bgp prefix-list' command.
  692. ** Check self AS appeared in received routes.
  693. ** redistribute route-map support is added.
  694. ** BGP packet dump feature compatible with MRT.
  695. * Changes in ripd
  696. ** Fix bug of `timers basic' command's argument format.
  697. * Changes in ripngd
  698. ** Calculate max RTE using interface's MTU value.
  699. * Changes in ospfd
  700. ** Some correction to LSU processing.
  701. ** Add check for lsa->refresh_list.
  702. * Changes in ospf6d
  703. ** Many debug feature is added.
  704. * Changes in zebra-0.81
  705. ** SNMP support is disabled in default.--enable-snmp option is added
  706. to configure script.
  707. * Changes in bgpd
  708. ** Fix FSM bug which introduced in zebra-0.80.
  709. * Changes in zebra-0.80
  710. * access-list
  711. New access-list name space `ipv6 access-list' is added. At the same
  712. time, `access-list' statemant only accepts IPv4 prefix. Please be
  713. careful if you use IPv6 filtering. You will need to change your
  714. configuration. For IPv6 filtering please use `ipv6 access-list'.
  715. As of zebra-0.7x, user can use `access-list' for both IPv4 and IPv6
  716. filtering.
  717. ! zebra-0.7x
  718. access-list DML-net permit 203.181.89.0/24
  719. access-list DML-net permit 3ffe:506::0/32
  720. access-list DML-net deny any
  721. !
  722. Above configuration is not valid for zebra-08x. Please add `ipv6'
  723. before 'access-list' when you configure IPv6 filtering.
  724. ! zebra-0.8x
  725. access-list DML-net permit 203.181.89.0/24
  726. access-list DML-net deny any
  727. !
  728. ipv6 access-list DML-net permit 3ffe:506::0/32
  729. ipv6 access-list DML-net deny any
  730. !
  731. * prefix-list
  732. And also new prefix-list name space `ipv6 prefix-list' is added. It
  733. is the same as the change of `access-list'. `ip prefix-list' now only
  734. accept IPv4 prefix. It was source of confusion that `ip prefix-list'
  735. can be used both IPv4 and IPv6 filtering. Now name space is separated
  736. to clear the meaning of the filter.
  737. If you use `ip prefix-list' for IPv6 filtering, please change the
  738. stetement.
  739. ! zebra-0.7x
  740. ip prefix-list 6bone-filter seq 5 permit 3ffe::/17 le 24 ge 24
  741. ip prefix-list 6bone-filter seq 10 permit 3ffe:8000::/17 le 28 ge 28
  742. ip prefix-list 6bone-filter seq 12 deny 3ffe::/16
  743. ip prefix-list 6bone-filter seq 15 permit 2000::/3 le 16 ge 16
  744. ip prefix-list 6bone-filter seq 20 permit 2001::/16 le 35 ge 35
  745. ip prefix-list 6bone-filter seq 30 deny any
  746. !
  747. Now user can explicitly configure it as IPv6 prefix-list.
  748. ! zebra-0.8x
  749. ipv6 prefix-list 6bone-filter seq 5 permit 3ffe::/17 le 24 ge 24
  750. ipv6 prefix-list 6bone-filter seq 10 permit 3ffe:8000::/17 le 28 ge 28
  751. ipv6 prefix-list 6bone-filter seq 12 deny 3ffe::/16
  752. ipv6 prefix-list 6bone-filter seq 15 permit 2000::/3 le 16 ge 16
  753. ipv6 prefix-list 6bone-filter seq 20 permit 2001::/16 le 35 ge 35
  754. ipv6 prefix-list 6bone-filter seq 30 deny any
  755. !
  756. * RIP configuration
  757. If you want to filter only default route (0.0.0.0/0) and permit other
  758. routes, it was hard to do that. Now `ip prefix-list' can be used for
  759. RIP route filtering.
  760. New statement:
  761. `distribute-list prefix PLIST_NAME (in|out) IFNAME'
  762. is added to ripd. So you can configure on eth0 interface accept all
  763. routes other than default routes.
  764. !
  765. router rip
  766. distribute-list prefix filter-default in eth0
  767. !
  768. ip prefix-list filter-default deny 0.0.0.0/0 le 0
  769. ip prefix-list filter-default permit any
  770. !
  771. * RIPng configuration
  772. Same change is done for ripngd. You can use `ipv6 prefix-list' for
  773. filtering.
  774. !
  775. router ripng
  776. distribute-list prefix filter-default in eth0
  777. !
  778. ipv6 prefix-list filter-default deny ::/0 le 0
  779. ipv6 prefix-list filter-default permit any
  780. !
  781. * BGP configuration
  782. So far, Multiprotocol Extensions for BGP-4 (RFC2283) configuration is
  783. done with traditional IPv4 peering statement like blow.
  784. !
  785. router bgp 7675
  786. neighbor 3ffe:506::1 remote-as 2500
  787. neighbor 3ffe:506::1 prefix-list 6bone-filter out
  788. !
  789. For separating configuration IPv4 and IPv6, and for retaining Cisco
  790. configuration compatibility, now IPv6 configuration is done by IPv6
  791. specific statement. IPv6 BGP configuration is done by statement which
  792. start from `ipv6 bgp'.
  793. !
  794. router bgp 7675
  795. !
  796. ipv6 bgp neighbor 3ffe:506::1 remote-as 2500
  797. ipv6 bgp neighbor 3ffe:506::1 prefix-list 6bone-filter out
  798. !
  799. At the same time some IPv6 specific commands are deleted from IPv4
  800. configuration.
  801. o redistribute ripng
  802. o redistribute ospf6
  803. o neighbor PEER version BGP_VERSION
  804. o neighbor PEER interface IFNAME
  805. Those commands are only accepted as like below.
  806. o ipv6 bgp redistribute ripng
  807. o ipv6 bgp redistribute ospf6
  808. o ipv6 bgp neighbor PEER version BGP_VERSION
  809. o ipv6 bgp neighbor PEER interface IFNAME
  810. And below new commands are added.
  811. o ipv6 bgp network IPV6_PREFIX
  812. o ipv6 bgp redistribute static
  813. o ipv6 bgp redistribute connected
  814. o ipv6 bgp neighbor PEER remote-as <1-65535> [passive]
  815. o ipv6 bgp neighbor PEER ebgp-multihop [TTL]
  816. o ipv6 bgp neighbor PEER description DESCRIPTION
  817. o ipv6 bgp neighbor PEER shutdown
  818. o ipv6 bgp neighbor PEER route-reflector-client
  819. o ipv6 bgp neighbor PEER update-source IFNAME
  820. o ipv6 bgp neighbor PEER next-hop-self
  821. o ipv6 bgp neighbor PEER timers holdtime <0-65535>
  822. o ipv6 bgp neighbor PEER timers keepalive <0-65535>
  823. o ipv6 bgp neighbor PEER send-community
  824. o ipv6 bgp neighbor PEER weight <0-65535>
  825. o ipv6 bgp neighbor PEER default-originate
  826. o ipv6 bgp neighbor PEER filter-list FILTER_LIST_NAME (in|out)
  827. o ipv6 bgp neighbor PEER prefix-list PREFIX_LIST_NAME (in|out)
  828. o ipv6 bgp neighbor PEER distribute-list AS_LIST_NAME (in|out)
  829. o ipv6 bgp neighbor PEER route-map ROUTE_MAP_NAME (in|out)
  830. And some utility commands are introduced.
  831. o clear ipv6 bgp [PEER]
  832. o show ipv6 bgp neighbors [PEER]
  833. o show ipv6 bgp summary
  834. I hope these changes are easy to understand for current Zebra users...
  835. * To restrict connection to VTY interface.
  836. It used to be both IPv4 and IPv6 filter can be specified with one
  837. access-list. Then the access-list can be appried to VTY interface
  838. with `access-class' stetement in `line vty' node. Below is example in
  839. zebra-0.7x.
  840. !
  841. access-list local-only permit 127.0.0.1/32
  842. access-list local-only permit ::1/128
  843. access-list local-only deny any
  844. !
  845. line vty
  846. access-class local-only
  847. !
  848. Now IPv4 and IPv6 filter have each name space. It is not possible to
  849. specify IPv4 and IPv6 filter with one access-list. For setting IPv6
  850. access-list in `line vty', `ipv6 access-class' statement is
  851. introduced. Let me show the configuration in zebra-0.8x.
  852. !
  853. access-list local-only permit 127.0.0.1/32
  854. access-list local-only deny any
  855. !
  856. ipv6 access-list local-only permit ::1/128
  857. ipv6 access-list local-only dny any
  858. !
  859. line vty
  860. access-class local-only
  861. ipv6 access-class local-only
  862. !
  863. * route-map
  864. New IPv6 related route-map match commands are added.
  865. o match ipv6 address
  866. o match ipv6 next-hop
  867. Please change your configuration if you use IP match statement for
  868. IPv6 route.
  869. zebra-0.7x config
  870. =================
  871. !
  872. access-list all permit any
  873. !
  874. route-map set-nexthop permit 10
  875. match ip address all
  876. set ipv6 next-hop global 3ffe:506::1
  877. set ipv6 next-hop local fe80::cbb5:591a
  878. !
  879. zebra-0.8x config
  880. =================
  881. !
  882. ipv6 access-list all permit any
  883. !
  884. route-map set-nexthop permit 10
  885. match ipv6 address all
  886. set ipv6 next-hop global 3ffe:506::1
  887. set ipv6 next-hop local fe80::cbb5:591a
  888. !
  889. * zebra connection
  890. Protocol daemon such as ripd, bgpd, ospfd will reconnect zebra daemon
  891. when the connection fail. Those daemons try to connect zebra every 10
  892. seconds first three trial, then the interval changed to 60 seconds.
  893. After all, if ten connections are fail, protocol daemon give up the
  894. connection to the zebra daemon.
  895. * SNMP support (is not yet finished)
  896. Zebra uses SMUX protocol (RFC1227) for making communication with SNMP
  897. agent. Currently lib/smux.c can be compiled only with ucd-snmp-4.0.1
  898. and http://ucd-snmp.ucdavis.edu/patches/012.patch. It can not be
  899. compiled with ucd-snmp-3.6.2.
  900. After applying the patch to ucd-snmp-4.0.1, please configure it with
  901. SMUX module.
  902. % configure --with-mib-modules=smux
  903. After compile & install ucd-snmp-4.0.1, you will need to configure
  904. smuxpeer. I'm now using below configuration.
  905. /usr/local/share/snmp/snmpd.conf
  906. ================================
  907. smuxpeer 1.3.6.1.6.3.1 test
  908. Above 1.3.6.1.6.3.1 and test is temporary configuration which is hard
  909. coded in lib/smux.c. Yes, I know it is bad, I'll change it ASAP.
  910. * HUP signal treatment
  911. From zebra-0.80, ripd will reload it's configuration file when ripd
  912. receives HUP signal. Other daemon such as bgpd, ospfd will support
  913. HUP signal treatment soon.
  914. * Changes in zebra-0.79
  915. * Changes in zebra
  916. ** Broadcast address setting on Linux box bug is fixed.
  917. ** Protocol daemon can install connected IPv6 route into the kernel.
  918. ** Now zebra can handle blackhole route.
  919. * Changes in ripd
  920. ** Add route-map feature for RIP protocol.
  921. ** In case of RIP version 2 routing table entry has IPv4 address and
  922. netmask pair which host part bit is on, ignore the entry.
  923. * Changes in ripngd
  924. ** Change CMSG_DATA cast from (u_char *) to (int *). (u_char *) does
  925. not work for NetBSD-currnet on SparcStation 10.
  926. * Changes in ospfd
  927. ** MaxAge LSA treatment is added.
  928. ** ABR/ASBR functionality is added.
  929. ** Virtual Link funtionality is added.
  930. ** ABR behaviors IBM/Cisco/Shortcut is added.
  931. * Changes in ospf6d
  932. ** Enclosed KAME specific part with #ifdef #endif
  933. * Changes in zebra-0.78
  934. * Changes in lib
  935. ** SNMP support is started.
  936. ** Now Zebra can work on BSD/OS 4.X.
  937. ** Now Zebra can compiled on vanilla OpenBSD 2.5 but not yet working correcltly.
  938. * Changes in zebra
  939. ** Interface index detection using ioctl() bug is fixed.
  940. ** Interface information protocol is changed. Now interface
  941. addition/deletion and interface's address addition/deletion is
  942. separated.
  943. * Changes in bgpd
  944. ** BGP hold timer bug is fixed.
  945. ** BGP keepavlie timer becomes configurable.
  946. * Changes in ripd
  947. ** When making reply to rip's REQUEST message, fill in
  948. RIP_METRIC_INFINITY with network byte order using htonl ().
  949. ** Pass host byte order address to IN_CLASSC and IN_CLASSB macro.
  950. * Changes in ospfd
  951. ** LSA flooding works.
  952. ** Fix bug of DD processing.
  953. ** Fix bug of originating router-LSA bug is fixed.
  954. ** LSA structure is changed to support LSA aging.
  955. * Changes in ospf6d
  956. ** `ip6' statement in configuration is changed to `ipv6'.
  957. * Changes in zebra-0.77
  958. * Changes in lib
  959. ** SIGUSR1 reopen logging file.
  960. ** route-map is extended to support multi-protocol routing
  961. information.
  962. ** When compiling under GNU libc 2.1 environment don't use inet6-apps.
  963. * Changes in zebra
  964. ** Basic IPv6 router advertisement codes added. It is not yet usable.
  965. ** Fix IPv6 route addition/deletion bug is fixed.
  966. ** `show ip route A.B.C.D' works
  967. * Changes in bgpd
  968. ** When invalid unfeasible routes length comes, bgpd send notify then
  969. continue to process the packet. Now bgpd stop parsing invalid packet
  970. then return to main loop.
  971. ** BGP-4+ withdrawn routes parse bug is fixed.
  972. ** When BGP-4+ information passed to non shared network's peer, trim
  973. link-local next-hop information.
  974. ** `no redistribute ROUTE_TYPE' withdraw installed routes from BGP
  975. routing information.
  976. ** `show ipv6 route IPV6ADDR' command added.
  977. ** BGP start timer has jitter.
  978. ** Holdtimer configuration bug is fixed. Now configuration does not
  979. show unconfigured hold time value.
  980. * Changes in ripngd
  981. ** Now update timer (default 30 seconds) has +/- 50% jitter value.
  982. ** Add timers basic command.
  983. ** `network' configuration is dynamically reflected.
  984. ** `timers basic <update> <timeout> <garbage>' added.
  985. * Changes in ripd
  986. ** Reconstruct almost codes.
  987. ** `network' configuration is dynamically reflected.
  988. ** RIP timers now conforms to RFC2453. So user can configure update,
  989. timeout, garbage timer.
  990. ** `timers basic <update> <timeout> <garbage>' works.
  991. * Changes in ospfd
  992. ** Bug of originating network LSA is fixed.
  993. ** `no router ospf' core dump bug is fixed.
  994. * Changes in ospf6d
  995. ** Redistribute route works.
  996. * Changes in zebra-0.76
  997. * Changes in lib
  998. ** configure.in Linux IPv6 detection problem is fixed.
  999. ** Include SERVICES file to the distribution
  1000. ** Update zebra.texi to zebra-0.76.
  1001. * Changes in zebra-0.75
  1002. * Changes in lib
  1003. ** `termnal length 0' bug is fixed.
  1004. * Changes in zebra
  1005. ** When zebra starts up, sweep all zebra installed routes. If -k or
  1006. --keep_kernel option is specified to zebra dameon. This function is
  1007. not performed.
  1008. * Changes in ripngd
  1009. ** Aggreagte address command supported. In router ripngd,
  1010. `aggregate-address IPV6PREFIX' works.
  1011. * Changes in bgpd
  1012. ** Input route-map's bug which cause segmentation violation is fixed.
  1013. ** route-map method improved.
  1014. ** BGP-4+ nexthop detection improved.
  1015. ** BGP-4+ route re-selection bug is fixed.
  1016. ** BGP-4+ iBGP route's nexthop calculation works.
  1017. ** After connection Established `show ip bgp neighbor' display BGP TCP
  1018. connection's source and destination address.
  1019. ** In case of BGP-4+ `show ip bgp neighbor' display BGP-4+ global and
  1020. local nexthop which used for originated route. This address will be
  1021. used when `next-hop-self'.
  1022. * Changes in ospfd
  1023. ** Fix bug of DR election.
  1024. ** Set IP precedence field with IPTOS_PREC_INTERNET_CONTROL.
  1025. ** Schedule NeighborChange event if NSM status change.
  1026. ** Never include a neighbor in Hello packet, when the neighbor goes
  1027. down.
  1028. * Changes in zebra-0.74
  1029. * Changes in lib
  1030. ** Now `terminal length 0' means no line output control.
  1031. ** `line LINES' command deleted. Instead of this please use `terminal
  1032. length <0-512>'.
  1033. ** `terminal length <0-512>' is each vty specific configuration so it
  1034. can not be configured in the configuration file. If you want to
  1035. configure system wide line control, please use `service
  1036. terminal-length <0-512>'. This configuration affects to the all vty
  1037. interface.
  1038. * Changes in zebra
  1039. ** Installation of IPv6 route bug is fixed.
  1040. * Changes in bgpd
  1041. ** Very serious bug of bgp_stop () is fixed. When multiple route to
  1042. the same destination exist, bgpd try to announce the information to
  1043. stopped peer. Then add orphan write thread is added. This cause
  1044. many strange behavior of bgpd.
  1045. ** Router-id parsing bug is fixed.
  1046. ** With BGP-4+ nexthop installation was done with global address but
  1047. it should be link-local address. This bug is fixed now.
  1048. ** When incoming route-map prepend AS, old AS path remained. Now bgpd
  1049. free old AS path.
  1050. ** `neighbor PEER weight <0-65535>' command added.
  1051. * Changes in ripngd
  1052. ** Almost codes are rewritten to conform to RFC2080.
  1053. * Changes in ospfd
  1054. ** SPF calculation timer is added. Currently it is set to 30 seconds.
  1055. ** SPF calculation works now.
  1056. ** OSPF routing table codes are added.
  1057. ** OSPF's internal routes installed into the kernel routing table.
  1058. ** Now `ospfd' works as non-area, non-external route support OSPF
  1059. router.
  1060. ** Call of log_rotate() is removed.
  1061. * Changes in ospf6d
  1062. ** LSA data structure is changed.
  1063. ** Call of log_rotate() is removed.
  1064. * Changes in zebra-0.73
  1065. * Changes in lib
  1066. ** `config terminal' is changed to `configure terminal'.
  1067. ** `terminal length <0-512>' command is added.
  1068. ** Variable length argument was specified by `...'. Now all strings
  1069. started with character `.' is variable length argument.
  1070. * Changes in zebra
  1071. ** Internal route (such as iBGP, internal OSPF route) handling works
  1072. correctly.
  1073. ** In interface node, `ipv6 address' and `no ipv6 address' works.
  1074. ** Interface's address remain after `no ip address' bug is fixed.
  1075. ** Host route such as IPv4 with /32 mask and IPv6 with /128 mask
  1076. didn't set RTF_GATEWAY even it has gateway. This bug if fixed now.
  1077. * Changes in bgpd
  1078. ** `match as-path' argument is used to be specify AS PATH value itself
  1079. directly (e.g. ^$). But it is changed to specify `ip as-apth
  1080. access-list' name.
  1081. ** iBGP route handle works without getting error from the kernel.
  1082. ** `set aggregator as AS A.B.C.D' command is added to route-map.
  1083. ** `set atomic-aggregate' command is added to bgpd's routemap.
  1084. ** Announcement of atomic aggregate attribute and aggregator attribute
  1085. works.
  1086. ** `update-source' bug is fixed.
  1087. ** When a route learned from eBGP is announced to iBGP, local
  1088. preference was set to zero. But now it set to
  1089. DEFAULT_LOCAL_PREF(100).
  1090. * Changes in ripd
  1091. ** RIPv1 route filter bug is fixed.
  1092. ** Some memory leak is fixed.
  1093. * Changes in ospfd
  1094. ** Fix bug of DR Election.
  1095. ** Fix bug of adjacency forming.
  1096. * Changes in ospf6d
  1097. ** Clean up logging message.
  1098. ** Reflect routing information to zebra daemon.
  1099. * Changes in zebra-0.72
  1100. * Changes in lib
  1101. ** When getsockname return IPv4 mapped IPv6 address. Convert it to
  1102. IPv4 address.
  1103. * Changes in bgpd
  1104. ** Change route-map's next-hop related settings.
  1105. set ip nexthop -> set ip next-hop
  1106. set ipv6 nexthop global -> set ipv6 next-hop global
  1107. set ipv6 nexthop local -> set ipv6 next-hop local
  1108. ** Add `next-hop-self' command.
  1109. * Changes in ospfd
  1110. ** Fix bug of multiple `network area' directive crashes.
  1111. * Changes in zebra-0.71
  1112. * Changes in lib
  1113. ** `log syslog' command is added.
  1114. ** Use getaddrinfo function to bind IPv4/IPv6 server socket.
  1115. ** `no banner motd' will suppress motd output when user connect to VTY.
  1116. ** Bind `quit' command to major nodes.
  1117. * Changes in zebra
  1118. ** Point-to-point link address handling bug is fixed.
  1119. * Changes in bgpd
  1120. ** AS path validity check is added. If malformed AS path is received
  1121. NOTIFY Malformed AS path is send to the peer.
  1122. ** Use getaddrinfo function to bind IPv4/IPv6 server socket.
  1123. * Changes in ripd
  1124. ** Connected network announcement bug is fixed.
  1125. ** `broadcast' command is deleted.
  1126. ** `network' command is added.
  1127. ** `neighbor' command is added.
  1128. ** `redistribute' command is added.
  1129. ** `timers basic' command is added.
  1130. ** `route' command is added.
  1131. * Changes in ripngd
  1132. ** Fix metric calculation bug.
  1133. * Changes in ospfd
  1134. ** Check sum bug is fixed.
  1135. * Chanegs in ospf6d
  1136. ** Routing table code is rewritten.
  1137. * Changes in zebra-0.70
  1138. * Changes in zebra
  1139. ** Critical routing information base calculation bug check is fixed.
  1140. ** zebra ipv4 message is extended to support external/internal route
  1141. flavor.
  1142. ** Now if internal route doesn't has direct connected nexthop, then
  1143. nexthop is calculated by looking up IGP routing table.
  1144. * Changes in bgpd
  1145. ** `neighbor PEER update-source IFNAME' command added as ALIAS to
  1146. `neighbor PEER interface IFNAME'.
  1147. * Changes in ospfd
  1148. ** DD null pointer bug is fixed.
  1149. * Changes in zebra-0.69
  1150. * Changes in zebra
  1151. ** zebra redistirbution supports dynamic notification of the route
  1152. change. If you add static route while running zebra, it will be
  1153. reflected to other protocol daemon which set `redistribute static'.
  1154. ** If static route installation is failed due to the error. The
  1155. static route is not added to the configuration and zebra routing
  1156. table.
  1157. ** zebra sets forwarding flag to on when it starts up.
  1158. ** `no ip forwarding' turn off IPv4 forwarding.
  1159. ** `no ipv6 forwarding' turn off IPv6 forwarding.
  1160. ** Change `show ipforward' command to `show ip forwarding'.
  1161. ** Change `show ipv6forward' command to `show ipv6 forwarding'.
  1162. ** `ip route A.B.C.D/M INTERFACE' works. So you can set `ip route
  1163. 10.0.0.0/8 eth0'.
  1164. * Changes in bgpd
  1165. ** `neighbor PEER send-community' command is added. If the option is
  1166. set, bgpd will send community attribute to the peer.
  1167. ** When a BGP route has no-export community attribute and
  1168. send-community is set to the peer, the route is not announced to the
  1169. peer.
  1170. * Changes in ripngd
  1171. ** When ripngd terminates, delete all installed route.
  1172. ** `redistribute static', `redistribute connected' works.
  1173. ** Change `debug ripng event' to `debug ripng events'.
  1174. ** Change `show debug ripng' to `show debugging ripng'.
  1175. ** Bug of static route deletion is fixed.
  1176. * Changes in ospfd
  1177. ** LS request and LS update can be send and received.
  1178. * Changes in zebra-0.68
  1179. * Changes in lib
  1180. ** DEFUN() is extended to support (a|b|c) statement.
  1181. ** Input buffer overflow bug is fixed.
  1182. * Changes in bgpd
  1183. ** `ip community-list' is added.
  1184. ** set community and match community is added to route-map statement.
  1185. ** aggregate-address A.B.C.D/M partly works. Now it works only
  1186. summary-only mode.
  1187. * Changes in zebra
  1188. ** IPv6 network address delete bug is fixed.
  1189. * Changes in ospfd
  1190. ** DR election bug fixed.
  1191. ** Now Database Description can be send or received.
  1192. ** Neighbor State Machine goes to Full state.
  1193. * Changes in ospf6d
  1194. ** router zebra related bug is fixed.
  1195. * Changes in zebra-0.67
  1196. * Changes in lib
  1197. ** `service password-encryption' is added for encrypted password.
  1198. * Changes in bgpd
  1199. ** `set as-path prepend ASPATH' is added to route-map command.
  1200. ** `set weight WEIGHT' is added to route-map command.
  1201. ** `no set ipv6 nexthop global' and `no set ipv6 nexthop local'
  1202. command is added to route-map.
  1203. ** `neighbor IP_ADDR version BGP_VERSION' command's BGP_VERSION
  1204. argument changed.
  1205. Old New
  1206. =====================
  1207. bgp4 4
  1208. bgp4+ 4+
  1209. bgp4+-draft-00 4-
  1210. =====================
  1211. If you want to peer with old draft version of BGP-4+, please configure
  1212. like below:
  1213. router bgp ASN
  1214. neighbor PEER version 4-
  1215. ** Some AS path isn't correctly compared during route selection. Now
  1216. it is fixed.
  1217. * Changes in ospfd
  1218. ** `router zebra' is default behavior.
  1219. * Changes in ospf6d
  1220. ** `router zebra' is default behavior.
  1221. * Changes in zebra-0.66
  1222. * Changes in zebra
  1223. ** When other daemon such as gated install routes into the kernel then
  1224. zebra blocks. This is only occur with netlink socket. Now socket is
  1225. set as NONBLOCKING and problem is fixed. Reported and fixed by
  1226. Patrick Koppen <koppen@rhrk.uni-kl.de>
  1227. * Changes in bgpd
  1228. ** Now `router zebra' is not needed to insert BGP routes into the
  1229. kernel. It is default behavior. If you don't want to install the BGP
  1230. routes to the kernel, please configure like below:
  1231. !
  1232. router zebra
  1233. no redistribute bgp
  1234. !
  1235. ** redistribute connected works.
  1236. ** redistribute static now filter local loopback routes and link local
  1237. network.
  1238. * Changes in ripd
  1239. ** Some network check is added. Patch is done by Carlos Alberto
  1240. Barcenilla <barce@frlp.utn.edu.ar>
  1241. * Changes in ripngd
  1242. ** Sometimes ripngd install wrong nexthop into the kernel. This bug
  1243. is fixed now.
  1244. ** Now `router zebra' is not needed to insert RIPng routes into the
  1245. kernel. It is default behavior. If you don't want to install the BGP
  1246. routes to the kernel, please configure like below:
  1247. !
  1248. router zebra
  1249. no redistribute ripng
  1250. !
  1251. * Changes in zebra-0.65
  1252. * Changes in lib
  1253. ** `C-c' changes current node to ENABLE_NODE. Previously it doesn't.
  1254. ** In ENABLE_NODE, `exit' command close vty connection.
  1255. ** `service advanced-vty' enable advanced vty function. If this
  1256. service is specified one can directly connect to ENABLE_NODE when
  1257. enable password is not set.
  1258. ** `lines LINES' command is added by Stephen R. van den Berg
  1259. <srb@cuci.nl>.
  1260. * Changes in zebra
  1261. ** Basic Linux policy based routing table support is added by Stephen
  1262. R. van den Berg <srb@cuci.nl>.
  1263. * Changes in bgpd
  1264. ** route-map command is improved:
  1265. `match ip next-hop': New command.
  1266. `match metric': New command.
  1267. `set metric': Doc fixed.
  1268. `set local-preference': DEFUN added.
  1269. * Changes in ripd
  1270. ** Check of announced network is added. Now multicast address is
  1271. filtered. Reported by Carlos Alberto Barcenilla
  1272. <barce@frlp.utn.edu.ar>
  1273. ** Check of network 127 is added. Reported by Carlos Alberto
  1274. Barcenilla <barce@frlp.utn.edu.ar>
  1275. * Changes in ripngd
  1276. ** Aging route bug is fixed.
  1277. ** `router zebra' semantics changed. ripngd automatically connect to
  1278. zebra.
  1279. * Changes in ospfd
  1280. ** `no router ospf' works.
  1281. * Changes in ospf6d
  1282. ** Bug fix about network vertex.
  1283. * Changes in zebra-0.64.1.
  1284. This is bug fix release.
  1285. * Changes in lib
  1286. ** Add check of sin6_scope_id in struct sockaddr_in6. For compilation
  1287. on implementation which doesn't have sin6_scope_id. Reported by Wim
  1288. Biemolt <Wim.Biemolt@ipv6.surfnet.nl>.
  1289. * Changes in zebra
  1290. ** Fix bug of display BGP routes as "O" instead of "B". Reported by
  1291. "William F. Maton" <wmaton@enterprise.ic.gc.ca> and Dave Hartzell
  1292. <hartzell@greatplains.net>.
  1293. * Changes in bgpd
  1294. ** `no network IPV6_NETWORK' statement and `no neighbor IP_ADDR timers
  1295. holdtime [TIMER]' statement doesn't work. Reported by Georg Hitsch
  1296. <georg@atnet.at>. Now both statement work.
  1297. * Changes in ospfd
  1298. ** Last interface is not updated by ospf_if_update(). Reported by
  1299. Dave Hartzell <hartzell@greatplains.net>.
  1300. * Changes in ospf6d
  1301. ** Byte order of ifid is changed. Due to this change, this code will
  1302. not work with previous version, sorry.
  1303. ** Fix `show ip route' route type mismatch.
  1304. ** Fix bug of no network IPV6_NETWORK.
  1305. ** Important bug fix about intra-area-prefix-lsa.
  1306. * Changes in zebra-0.64.
  1307. * Changes in lib
  1308. ** prefix-list based filtering routine is added. Currently used in
  1309. bgpd but it will be in other daemons.
  1310. * Changes in bgpd
  1311. ** `no router bgp' works. But network statement is not cleared. This
  1312. should be fixed in next beta.
  1313. ** Route reflector related statement is added.
  1314. router bgp ASN
  1315. bgp cluster-id a.b.c.d
  1316. neighbor a.b.c.d route-reflector-client
  1317. is added.
  1318. ** Prefix list based filtering is added.
  1319. router bgp ASN
  1320. neighbor a.b.c.d prefix-list PREFIX_LIST_NAME
  1321. ** Prefix list based routing display works.
  1322. show ip bgp prefix-list PREFIX_LIST_NAME
  1323. * Changes in ripd
  1324. ** Fix route metric check bug. Reported from Mr. Carlos Alberto
  1325. Barcenilla.
  1326. * Changes in ospf6d
  1327. ** There are many changes. If you have interested in ospf6d please
  1328. visit ospf6d/README file.
  1329. * Changes in zebra-0.63 first beta package.
  1330. * Changes in lib
  1331. ** `copy running-config stgartup-config' command is added.
  1332. ** prefix length check bug is fixed. Thanks Marlos Barcenilla
  1333. <barce@frip.utn.edu.ar>.
  1334. * Changes in ospfd
  1335. ** DR and BDR election works.
  1336. ** OSPF Hello simple authentication works.
  1337. * Changes in ospf6d
  1338. ** Now ospf6d can be compiled on both Linux and *BSD system.
  1339. * Changes in zebra-19990420 snapshot
  1340. ** `make dist' at top directory works now.
  1341. * Changes in lib
  1342. ** VTY has now access-class to restrict remote connection.
  1343. Implemented by Alex Bligh <amb@gxn.net>.
  1344. !
  1345. line vty
  1346. access-class ACCESS-LIST-NAME
  1347. !
  1348. ** `show version' command added. Implemented by Carlos Alberto
  1349. Barcenilla <barce@frlp.utn.edu.ar>
  1350. * Changes in zebra
  1351. ** `ip address' command on *BSD bug is fixed.
  1352. ** `no ip address' works now for IPv4 address.
  1353. ** Now `write terminal' display `ip address' configuration.
  1354. * Changes in bgpd
  1355. ** Redistribute static works now. Please run both zebra and bgpd.
  1356. bgpd.conf should be like this:
  1357. !
  1358. router zebra
  1359. !
  1360. router bgp ASN
  1361. redisitribute static
  1362. !
  1363. * Changes in guile
  1364. ** configure --enable-guile turns on zebra-guile build.
  1365. ** (router-bgp ASN) allocates real bgp structre.
  1366. * Changes in zebra-19990416 snapshot
  1367. ** Set version to 0.60 for preparation of beta release.
  1368. ** New directory guile is added for linking with guile interpreter.
  1369. * Changes in zebra
  1370. ** On GNU/Linux Kernel 2.2.x (with netlink support), zebra detects
  1371. asynchronous routing updates. *BSD support is not yet finished.
  1372. * Changes in bgpd
  1373. ** `show ip bgp regexp ASPATH_REGEX' uses CISCO like regular expression
  1374. instead of RPSL like regular expression. I'm planing to provide RPSL
  1375. like regular expression with `show ip bgp rpsl' or something.
  1376. * Changes in lib
  1377. ** Press '?' at variable mandatory argument, vty prints nothing. Now
  1378. vty outputs description about the argument. Fixed by Alex Bligh
  1379. <amb@gxn.net>
  1380. ** buffer.c has some ugly bugs. Due to the bug, vty interface hangs
  1381. when large output date exists. This bug is fixed. Reported by Alex
  1382. Bligh <amb@gxn.net>.
  1383. * Changes in ospfd
  1384. ** DR and BDR information is shown by `show ip ospf interface' command.
  1385. * Changes in zebra-19990408 snapshot
  1386. * Changes in bgpd
  1387. ** Old BGP-4+ specification (described in old draft) treatment bug is
  1388. fixed. It seems that mrtd uses this format as default. So if you
  1389. have problem peering with mrtd and want to use old draft format please
  1390. use version statement like this.
  1391. neighbor PEER_ADDRESS remote-as ASN
  1392. neighbor PEER_ADDRESS version bgp4+-draft-00
  1393. ** When AS path is epmty (routes generated by bgpd), SEGV is occur
  1394. when announce the routes to eBGP peer. Reported by
  1395. kad@gibson.skif.net.
  1396. ** ip as-path access-list command is added.
  1397. ** neighbor PEER_ADDRESS filter-list AS_LIST [in|out] command is added.
  1398. ** neighbor PEER_ADDRESS timers holdtimer TIMER command is added.
  1399. * Changes in all daemons
  1400. ** With KAME stack, terminal interface is now bind AF_INET socket
  1401. instead of AF_INET6 one.
  1402. * Changes in zebra-19990403 snapshot
  1403. * Changes in bgpd
  1404. ** When bgpd has 'router zebra', bgpd automatically select it's router
  1405. ID as most highest interface's IP Address.
  1406. ** When AS path is empty (in case of iBGP), it doesn't include any AS
  1407. segment. This change is for announcement to gated under iBGP.
  1408. * Changes in ospfd
  1409. ** OSPF hello packet send/receive works.
  1410. * Changes in ospf6d
  1411. ** Yasuhiro Ohara's ospf6d codes is imported. It is under development
  1412. and can't be compiled on any platform.
  1413. * Changes in zebra-19990327 snapshot
  1414. * Changes in bgpd
  1415. ** When BGP-4+ connection is done by IPv6 link-local address. One
  1416. have to specify interface index for the connection. So I've added
  1417. interface statement to the neighbor commmand. Please specify
  1418. interface name for getting interface index like below. This statement
  1419. only works on GNU/Linux. I'll support BSD ASAP.
  1420. router bgp 7675
  1421. neighbor fe80::200:f8ff:fe01:5fd3 remote-as 2500
  1422. neighbor fe80::200:f8ff:fe01:5fd3 interface sit3
  1423. ** For disable BGP peering `shutdown' command is added.
  1424. router bgp 7675
  1425. neighbor 10.0.0.1 shutdown
  1426. ** `description' command is added to neighbor statement.
  1427. router bgp 7675
  1428. neighbor 10.0.0.1 description peering with Norway.
  1429. ** `show ip bgp regexp AS-REGEXP' works again.
  1430. show ip bgp regexp AS7675
  1431. will show routes which include AS7675.
  1432. ** When a route which is made from `network' statement is send to
  1433. neighbor. Set it's nexthop to self. So 10.0.0.0/8 is announced to
  1434. the peer A with source address 192.168.1.1. The routes nexthop is set
  1435. to 192.168.1.1.
  1436. * Changes in zebra
  1437. ** In zebra/rtread_sysctl.c, function rtm_read() may overrun allocated
  1438. buffer when the address family is not supported and the length is big
  1439. (i.e link address). Reported Achim Patzner <ap@bnc.net>.
  1440. * Changes in ospfd
  1441. ** Now ospfd receive OSPF packet.
  1442. * Changes in zebra-19990319 snapshot
  1443. * Changes in configuration and libraries
  1444. ** User can disable IPv6 feature and/or pthread feature by configure
  1445. option.
  1446. To disable IPv6: configure --disable-ipv6
  1447. To disable pthread: configure --disable-pthread
  1448. ** User can disable specified daemon by configure option.
  1449. Don't make zebra: configure --disable-zebra
  1450. Don't make bgpd: configure --disable-bgpd
  1451. Don't make ripd: configure --disable-ripd
  1452. Don't make ripngd: configure --disable-ripngd
  1453. Don't make ospfd: configure --disable-ospfd
  1454. Don't make ospf6d: configure --disable-ospf6d
  1455. ** Sample configuration files are installed as 600 file flag.
  1456. Suggested by Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>.
  1457. ** syslog logging feature is added by Peter Galbavy
  1458. <Peter.Galbavy@knowledge.com>
  1459. ** Inclusion of standard header files is reworked by Peter Galbavy
  1460. <Peter.Galbavy@knowledge.com>
  1461. ** Change description from GNU/Linux 2.1.X to GNU/Linux 2.2.X
  1462. ** If daemon function exists in standard C library use it.
  1463. ** To generate configure script we upgrade autoconf to 2.13. To
  1464. generate Makefile.in we upgrade automake to 1.4.
  1465. ** doc/texinfo.tex is added to distribution.
  1466. ** Update ports/pkg/DESCR description.
  1467. ** Update doc/zebra.texi.
  1468. ** logfile FILENAME statement deleted. Instead of that please use log
  1469. file FILENAME.
  1470. * Changes in zebra
  1471. * Changes in bgpd
  1472. ** Communication between zebra and bgpd works now. So if there is
  1473. `router zebra' line in bgpd.conf, selected route is installed
  1474. into kernel routing table.
  1475. ** Delete all routes which inserted by bgpd when bgpd dies. If you
  1476. want to retain routes even bgpd dies please specify [-r|--retain]
  1477. option to bgpd.
  1478. ** BGP announcement code is reworked. Now bgpd announce selected
  1479. routes to other peer.
  1480. ** All output bgp packet is buffered. It's written to the socket when
  1481. it gets ready.
  1482. ** Output route-map works now. You can specify output route-map by:
  1483. neighbor IP_ADDR route-map ROUTE_MAP_NAME out
  1484. ** New route-map command added.
  1485. set ip nexthop IP_ADDR
  1486. set ipv6 nexthop global IP_ADDR
  1487. ** Fix bug about unlock of the route_node structure.
  1488. ** BGP-4+ support is added. bgpd can listen and speak BGP-4+ packet
  1489. specified in RFC2283. You can view IPv6 bgp table by: `show ipv6 bgp'.
  1490. ** Meny packet overflow check is added.
  1491. * Changes in ripd
  1492. * Changes in ripngd
  1493. * Changes in ospfd
  1494. ** ospfd work is started by Toshiaki Takada <takada@zebra.org>. Now
  1495. several files are included in ospfd directory.
  1496. ** ospf6d codes are merged from Yasuhiro Ohara <yasu@sfc.wide.ad.jp>'s
  1497. ospfd work. Now codes are located in ospf6d directory.
  1498. Local variables:
  1499. mode: outline
  1500. paragraph-separate: "[ ]*$"
  1501. end: