IRRd-Discuss
Date Prev | Date Next |
Date Index |
Thread Index |
Author Index |
Historical
RtConfig + IRRd question
- From: Javier Bermejo
- Date: Fri Nov 05 06:59:02 2004
Hello,
I'm testing IRRd v 2.2.0 and RtConfig versions 4.8.1 and 4.8.2
I'm having some problems with RtConfig and IRRd database, because if I use the
ripe-dbase-RPSLNG.0.1 RtConfig works sucessfully with the same RPSL objects,
so, I think it couldn't be a rpsl syntax problem.
I init irrd daemon and put some rpsl objects into the database (i'm testing a
virtual scenario)
Using Rtconfig version 4.8.1 I get the following lines:
--------------------------------------------------------------------
RtConfig-4.8.1 -T all -h localhost -p 43 -s EURO6IX -protocol irrd
-cisco_use_prefix_lists -config cisco < /usr/local/etc/bgpd_r1.conf.template
> /usr/local/etc/bgpd.conf
Whois: Open localhost:43 source=EURO6IX protocol=rawhoisd
Whois: SetSources EURO6IX
Whois: WriteQuery !sEURO6IX
Whois: Response C
Whois: WriteQuery !s-lc
Whois: Response A8
Whois: Response
EURO6IX
Whois: Response C
Whois: Version !v
Whois: WriteQuery !v
Whois: Response A37
Whois: Response
# IRRd -- version 2.2.0 [16Oct2004]
Whois: Response C
Whois: Response # IRRd -- version 2.2.0 [16Oct2004]
Whois: WriteQuery -K -r -i origin AS65001
Whois: Response route6: 2001:DB8:AAAA:2::/64
RtConfig: cisco_map_name 'AS%d-import'
Whois: WriteQuery !man,AS65001
Error: fgets() failed.
--------------------------------------------------------------------
And the same command using RtConfig version 4.8.2:
--------------------------------------------------------------------
RtConfig -T all -h localhost -p 43 -s EURO6IX -protocol irrd
-cisco_use_prefix_lists -config cisco < /usr/local/etc/bgpd_r1.conf.template
> /usr/local/etc/bgpd.conf
Whois: Open localhost:43 source=EURO6IX protocol=rawhoisd
Whois: SetSources EURO6IX
Whois: WriteQuery !sEURO6IX
Whois: Response C
Whois: WriteQuery !s-lc
Whois: Response A8
Whois: Response
EURO6IX
Whois: Response C
Whois: Version !v
Whois: WriteQuery !v
Whois: Response A37
Whois: Response
# IRRd -- version 2.2.0 [16Oct2004]
Whois: Response C
Whois: Response # IRRd -- version 2.2.0 [16Oct2004]
Whois: WriteQuery -K -r -i origin AS65001
Whois: Response <<
route6: 2001:DB8:AAAA:2::/64
>>
Whois: Response <<
origin: AS65001
>>
Whois: Response <<
>>
Whois: Response <<
route6: 2001:DB8:AAAA:1::/64
>>
Whois: Response <<
origin: AS65001
>>
Whois: Response <<
>>
Whois: Response <<
route6: 2001:DB8:AAAA:3::/64
>>
Whois: Response <<
origin: AS65001
>>
Whois: Response <<
>>
Whois: Response <<
route6: 0::/0
>>
Whois: Response <<
origin: AS65001
>>
Whois: Response <<
>>
RtConfig: cisco_map_name 'AS%d-import'
Whois: WriteQuery !man,AS65001
Whois: Response <<
A1450
>>
Whois: Response <<
aut-num: AS65001
>>
Whois: Response <<
C
>>
>>***Error: Unknown class encountered.
Warning: AS65001 has no import/mp-import policy for AS65000 2001:DB8::FFFF at
2001:DB8::A
Warning: AS65001 has no export/mp-export policy for AS65000 2001:DB8::FFFF at
2001:DB8::A
-------------------------------------------------------------
That error has no sense since AS65001 has policies for AS65000:
aut-num: AS65001
as-name: R1_AS
descr: Autonomous System for router R1
mp-import: afi ipv6 {
from AS65002 action pref = 10; accept AS65002 AND community(65002:10);
from AS65002 action pref = 20; accept AS65002 AND community(65002:20);}
mp-import: afi ipv6 {
from AS65003 action pref = 10; accept AS65003 AND community(65003:10);
from AS65003 action pref = 20; accept AS65003 AND community(65003:20);}
mp-import: afi ipv6 {
from AS65004 action pref = 10; accept AS65004;}
mp-import: afi ipv6 {
from AS65005 action pref = 10; accept AS65005;}
mp-import: afi ipv6 {
from AS65006 action pref = 10; accept AS65006;}
mp-import: afi ipv6 from AS65000
2001:DB8::FFFF at 2001:DB8::A
accept any;
mp-export: afi ipv6 to AS65002
action community.append(65001:20);
announce AS65001;
mp-export: afi ipv6 to AS65003
action community.append(65001:10);
announce AS65001;
mp-export: afi ipv6 to AS65004
announce AS65001;
mp-export: afi ipv6 to AS65005
announce {0::/0};
mp-export: afi ipv6 to AS65006
announce {0::/0};
mp-export: afi ipv6 to AS65000
2001:DB8::FFFF at 2001:DB8::A
announce ANY;
admin-c: ....
....
So, I only wanted to know if somebody has tested RtConfig with IRRd 2.2.0
version sucessfully.
Best regards
Javier Bermejo.
|