To build packages for Solaris 10:
Requirements:
-------------
- Development environment including gcc (eg as shipped with Solaris 10)
- The Package tools from S10
- i.manifest and r.manifest scripts as supplied with Solaris Express
in /usr/sadm/install/scripts/ or alternatively from the
download/binaries/solaris/ directory on quagga.net. i.manifest must be at
least version 1.5. You can place these scripts in this directory if you
are using Solaris 10 GA (which does not ship with these scripts).
Package creation instructions:
------------------------------
1. Configure and build Quagga in the top level build directory as per
normal, eg:
./configure --prefix=/usr/local/quagga \
--localstatedir=/var/run/quagga
--enable-gcc-rdynamic --enable-opaque-lsa --enable-ospf-te \
--enable-multipath=64 --enable-user=quagga \
--enable-ospfclient=yes --enable-ospfapi=yes \
--enable-group=quagga --enable-nssa --enable-opaque-lsa
You will need /usr/sfw/bin and /usr/ccs/bin in your path.
2. make install in the top-level build directory, it's a good idea to make
use of DESTDIR to install to an alternate root, eg:
gmake DESTDIR=/var/tmp/qroot install
3. In this directory, run make packages, specifying DESTDIR if appropriate,
eg:
gmake DESTDIR=/var/tmp/qroot packages
This should result in 4 packages being created:
quagga-libs-...-$ARCH.pkg - QUAGGAlibs
quagga-daemons-...-$ARCH.pkg - QUAGGAdaemons
quagga-doc-...-$ARCH.pkg - QUAGGAdoc
quagga-dev-...-$ARCH.pkg - QUAGGAdev
quagga-smf-...-$ARCH.pkg - QUAGGAsmf
QUAGGAlibs and QUAGGAdaemons are needed for daemon runtime. QUAGGAsmf
provides the required bits for Solaris 10+ SMF support.
Install and post-install configuration notes:
---------------------------------------------
- If you specified a user/group which does not exist per default on Solaris
(eg quagga/quagga) you *must* create these before installing these on a
system. The packages do *not* create the users.
- The configuration files are not created. You must create the configuration
file yourself, either with your complete desired configuration, or else if
you wish to use the telnet interface for further configuration you must
create them containing at least:
password whatever
The user which quagga runs as must have write permissions on this file, no
other user should have read permissions, and you would also have to enable
the telnet interface (see below).
- SMF notes:
- QUAGGAsmf installs a svc:/network/routing/quagga service, with an
instance for each daemon
- The state of all instances of quagga service can be inspected with:
svcs -l svc:/network/routing/quagga
or typically just with a shortcut of 'quagga':
svcs -l quagga
- A specific instance of the quagga service can be inspected by specifying
the daemon name as the instance, ie quagga:<daemon>:
svcs -l svc:/network/routing/quagga:zebra
svcs -l svc:/network/routing/quagga:ospfd
<etc>
or typically just with the shortcut of 'quagga:<daemon>' or even
<daemon>:
svcs -l quagga:zebra
svcs -l ospfd
Eg:
# # svcs -l ripd
fmri svc:/network/routing/quagga:ripd
name Quagga: ripd, RIPv1/2 IPv4 routing protocol daemon.
enabled true
state online
next_state none
state_time Wed Jun 15 16:21:02 2005
logfile /var/svc/log/network-routing-quagga:ripd.log
restarter svc:/system/svc/restarter:default
contract_id 93
dependency require_all/restart svc:/network/routing/quagga:zebra (online)
dependency require_all/restart file://localhost//usr/local/quagga/etc/ripd.conf (online)
dependency require_all/none svc:/system/filesystem/usr:default (online)
dependency require_all/none svc:/network/loopback (online)
- Configuration of startup options is by way of SMF properties in a
property group named 'quagga'. The defaults should automatically be
inline with how you configured Quagga in Step 1 above.
- By default the VTY interface is disabled. To change this, see below for
how to set the 'quagga/vty_port' property as appropriate for
/each/ service. Also, the VTY is set to listen only to localhost by
default, you may change the 'quagga/vty_addr' property as appropriate
for both of the 'quagga' service and specific individual instances of
the 'quagga' service (ie quagga:zebra, quagga:ospfd, etc..).
- Properties belonging to the 'quagga' service are inherited by all
instances. Eg:
# svcprop -p quagga svc:/network/routing/quagga
quagga/group astring root
quagga/retain boolean false
quagga/user astring root
quagga/vty_addr astring 127.1
quagga/vty_port integer 0
# svcprop -p quagga svc:/network/routing/quagga:ospfd
quagga/retain_routes boolean false
quagga/group astring root
quagga/retain boolean false
quagga/user astring root
quagga/vty_addr astring 127.1
quagga/vty_port integer 0
All instances will inherit these properties, unless the instance itself
overrides these defaults. This also implies one can modify properties of
the 'quagga' service and have them apply to all daemons.
# svccfg -s svc:/network/routing/quagga \
setprop quagga/vty_addr = astring: ::1
# svcprop -p quagga svc:/network/routing/quagga
quagga/group astring root
quagga/retain boolean false
quagga/user astring root
quagga/vty_port integer 0
quagga/vty_addr astring ::1
# # You *must* refresh instances to have the property change
# # take affect for the 'running snapshot' of service state.
# svcadm refresh quagga:ospfd
# svcprop -p quagga svc:/network/routing/quagga:ospfd
quagga/retain_routes boolean false
quagga/group astring root
quagga/retain boolean false
quagga/user astring root
quagga/vty_port integer 0
quagga/vty_addr astring ::1
Other daemon-specific options/properties may be available, however they
are not yet honoured/used (eg ospfd/apiserver on svc:/network/ospf).
- As SMF is dependency aware, restarting network/zebra will restart all the
other daemons.
- To upgrade from one set of Quagga packages to a newer release, one must
first pkgrm the installed packages. When one pkgrm's QUAGGAsmf all
property configuration will be lost, and any customisations will have to
redone after installing the updated QUAGGAsmf package.
- These packages are not supported by Sun Microsystems, report bugs via the
usual Quagga channels, ie Bugzilla. Improvements/contributions of course
would be greatly appreciated.
没有合适的资源?快使用搜索试试~ 我知道了~
89346483quagga-0.98.5.tar
需积分: 6 2 下载量 17 浏览量
2009-07-17
08:46:13
上传
评论
收藏 1.92MB GZ 举报
温馨提示
共528个文件
c:189个
h:144个
in:42个
bgp协议的源代码,最近正在做毕设,希望能够对大家有帮助
资源推荐
资源详情
资源评论
收起资源包目录
89346483quagga-0.98.5.tar (528个子文件)
vtysh.1 2KB
zebra.8 3KB
bgpd.8 3KB
ripngd.8 3KB
ospfd.8 3KB
ripd.8 3KB
isisd.8 3KB
ospf6d.8 3KB
configure.ac 37KB
Makefile.am 4KB
Makefile.am 2KB
Makefile.am 2KB
Makefile.am 2KB
Makefile.am 1KB
Makefile.am 1KB
Makefile.am 1KB
Makefile.am 1KB
Makefile.am 985B
Makefile.am 656B
Makefile.am 601B
Makefile.am 575B
Makefile.am 446B
Makefile.am 277B
Makefile.am 226B
Makefile.am 171B
Makefile.am 112B
Makefile.am 88B
AUTHORS 214B
AUTHORS 106B
AUTHORS 37B
BGP-TypeCode 1KB
bgp_route.c 318KB
bgp_vty.c 306KB
ospf_vty.c 220KB
regex.c 184KB
bgpd.c 125KB
ripd.c 106KB
ospf_packet.c 97KB
ospf_lsa.c 97KB
bgp_routemap.c 86KB
ripngd.c 81KB
command.c 79KB
plist.c 77KB
ospf_opaque.c 71KB
isis_pdu.c 69KB
isis_lsp.c 68KB
ospf_apiserver.c 66KB
ospf6_message.c 63KB
ospf_snmp.c 62KB
bgp_packet.c 60KB
vty.c 59KB
ospf6d.c 57KB
zebra_vty.c 56KB
vtysh.c 55KB
filter.c 54KB
isisd.c 53KB
rip_interface.c 53KB
zebra_rib.c 52KB
ospf_te.c 52KB
ospf_abr.c 50KB
isis_circuit.c 50KB
rt_netlink.c 49KB
bgp_attr.c 49KB
ospf_dump.c 45KB
zserv.c 43KB
ospf6_intra.c 43KB
ospf6_interface.c 43KB
watchquagga.c 38KB
ospfd.c 37KB
ospf_spf.c 37KB
dict.c 36KB
ospf6_asbr.c 36KB
isis_spf.c 36KB
smux.c 35KB
interface.c 35KB
ospf_zebra.c 34KB
isis_tlv.c 33KB
ospf6_route.c 32KB
rtadv.c 32KB
routemap.c 32KB
ospf6_flood.c 31KB
ospf_flood.c 30KB
ripng_interface.c 30KB
getopt.c 29KB
ospf_interface.c 29KB
bgp_nexthop.c 29KB
ospf6_neighbor.c 27KB
ospf_nsm.c 27KB
rip_routemap.c 27KB
ospf6_lsa.c 26KB
ospf_route.c 26KB
bgp_aspath.c 26KB
bgp_clist.c 25KB
kernel_socket.c 25KB
bgp_open.c 25KB
bgp_fsm.c 24KB
keychain.c 24KB
zclient.c 24KB
bgp_snmp.c 24KB
ospf6_abr.c 23KB
共 528 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
fly227
- 粉丝: 3
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功