[FUG-BR] Openbgp

Fernando Perassoli fernando em aonet.com.br
Sexta Outubro 29 14:53:36 BRST 2010


Obrigado Renato e Vinícius pela ajuda.

att''
Fernando Perassoli


Em 28/10/2010 01:39, Vinícius Zavam escreveu:
> 2010/10/27 Fernando Perassoli<fernando em aonet.com.br>:
>> Olá pessoal.
>> Fiz a instalação do Openbgpd via ports, mas o arquivo bgpd.conf não foi
>> criado no /usr/local/etc.
>> Onde encontro um arquivo de exemplo do bgpd.conf?
>>
>>
>> Desde já agradeço.
>>
>>
>> att''
>> Fernando Perassoli
> freebsd80r# cd /usr/ports/net/openbgpd/
> freebsd80r# make
> (...)
> cc -O2 -pipe -fno-strict-aliasing  -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith
> -Wcast-qual -Wsign-compare -
> I/usr/ports/net/openbgpd/work/bgpctl
> -I/usr/ports/net/openbgpd/work/bgpctl/../bgpd
> -I/usr/ports/net/openbgpd/work/bgpctl/../openbsd-compat -std=gnu99
> -fstack-protector
>    -o bgpctl bgpctl.o parser.o buffer.o imsg.o util.o timer.o
> irrfilter.o whois.o irr_asset.o irr_prefix.o irr_output.o irr_parser.o
> fmt_scaled.o -lutil
> gzip -cn bgpctl.8>  bgpctl.8.gz
> freebsd80r#
> freebsd80r# make install
> (...)
>        For more information, and contact details about the security
>        status of this software, see the following webpage:
>        http://www.openbgp.org/
> freebsd80r#
> freebsd80r# cd /usr/local/etc/
> freebsd80r# fetch
> http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/etc/bgpd.conf
> fetch: http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/etc/bgpd.conf:
> size of remote file is not known
> bgpd.conf                                             1955  B  108 kBps
> freebsd80r#
> freebsd80r# chmod 0600 bgpd.conf
> freebsd80r# ee /etc/rc.conf
> freebsd80r# egrep bgp /etc/rc.conf
> openbgpd_enable="YES"
> freebsd80r#
> freebsd80r# /usr/local/etc/rc.d/openbgpd start
> Starting openbgpd.
> freebsd80r#
> freebsd80r# ps afx | egrep bgp
> 31407  ??  Is     0:00.01 bgpd: parent (bgpd)
> 31408  ??  I      0:00.01 bgpd: route decision engine (bgpd)
> 31409  ??  I      0:00.01 bgpd: session engine (bgpd)
> 31415   0  R+     0:00.00 egrep bgp
>
> FreeBSD 8.0-RELEASE (GENERIC) #0: Sat Nov 21 15:48:17 UTC 2009
> openbgpd-4.5.20091022
>
>



Mais detalhes sobre a lista de discussão freebsd