[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OCCAID] FreeBSD specific problems when connecting to OCCAID



On Mon, Sep 20, 2004 at 03:16:00AM +0300, Ivo Vachkov wrote:
> Hi all,
> 
> Excuse my newbieness, but i meet some problems connecting to OCCAID. I 
> use FreeBSD 5.2.1-RELEASE and have IPv6 connection to xs26.net, but i 
> want to learn how to use external routing protocols, so i decided to 
> apply for connectivity within OCCAID. And the problems are:
> 
> 1) What kind of tunnel i'm supposed ot use gif / gre / stf ? (from what 
> i was told "ipv6ip/sit" i thought it must be gif, right ?)

Yes, that is gif.

>From 'man 4 gif':
     The gif interface is a generic tunnelling pseudo device for IPv4 and
     IPv6.  It can tunnel IPv[46] traffic over IPv[46].  Therefore, there can
     be four possible configurations.  The behavior of gif is mainly based on
     RFC2893 IPv6-over-IPv4 configured tunnel.  On NetBSD, gif can also tunnel
     ISO traffic over IPv[46] using EON encapsulation.

> 
> 2) How the tunnel should be configured ? I tried following:
> ifconfig gif2 tunnel 193.68.159.71 193.25.126.2 netmask 255.255.255.255 up
> ifconfig gif2 inet6 3ffe:200:107:ffff::4:2 prefixlen 112
> route add -inet6 default 3ffe:200:107:ffff::4:1 # and ...
> route add -inet6 default -interface gif2 # and ...
> route add -inet6 default fe80::%gif2 # with no success in ping6-ing the 
> other end (3ffe:200:107:ffff::4:1)

Try this:
ifconfig gif2 create
ifconfig gif2 tunnel 193.68.159.71 193.25.126.2
ifconfig gif2 inet6 3ffe:200:107:ffff::4:2 prefixlen 112 up
route add -inet6 default 3ffe:200:107:ffff::4:1

You don't need the 2 other route commands. ifconfig should call SIOCSIFADDR
which sets up relevant connected link-local routes in the inet6 kernel
routing table.

> 
> Second try:
> ifconfig gif2 tunnel 193.68.159.71 193.25.126.2 netmask 255.255.255.255 up
> ifconfig lo0 inet6 3ffe:200:107:ffff::4:2 prefixlen 112 alias
> and again all the route commands above ... The result: no success again.
> 
> 3) About BGP ... first wanna thanks Peter Salanki for the help. I 
> understand everything except how can i get AS number. Could you please 
> point me a link for explanation/registration or any other source of 
> information.

Actually, just emailing here was the correct approach in requesting an AS :-)

Here is your AS Number: AS64581

Please go to http://www.occaid.org/irrd-tutorial.html and register your
maintainer object and AS object. You do not need to register route objects
as currently our database only supports ipv4 at the time being. When we upgrade
with newer version of Merit IRRD software later that supports ipv6, we will
let people know. So for now just register AS Object after your maintainer
obj is accepted.

P.S.: To Peter:

I have modified your filtering list as below..
# sh ipv prefix pl31292
ipv6 prefix-list pl31292: 3 entries
   seq 5 permit 3ffe:200:107::/48 le 64
   seq 10 permit 3ffe:80ee:23d8::/48
   seq 50 deny ::/0 le 128
#
no ip as-path access-list 31292 permit ^(31292_)+
ip as-path access-list 31292 permit ^_(31292_)+(64581_)*$

You may choose to filter out his private ASN before announcing to OCCAID, that
is completely up to your routing policy at 31292. Regardless, OCCAID will
automatically tag any private-ASN sourced prefix, or RFC2772 violated prefix
with 30071:31337 community tag, which means do not export to anyone outside
of our AS.

HTH,
-J

> 
> Thank you in advance and sorry if i make stupid mistakes that drive you 
> crazy.
> 
>    Ivo Vachkov
> 
> P.S. Any *BSD guys here to help ??? Hope they can give more exact 
> answers to my questions/problems. Thanks again.

-- 
James Jun                                            TowardEX Technologies, Inc.
Technical Lead                        Network Design, Consulting, IT Outsourcing
james@towardex.com                  Boston-based Colocation & Bandwidth Services
cell: 1(978)-394-2867           web: http://www.towardex.com , noc: www.twdx.net
_______________________________________________
Occaid mailing list
Occaid@cnacs.occaid.org
http://mailman.twdx.net/mailman/listinfo/occaid