Hi Charlie,
Thanks for following-up. I've also updated the docs with your example
as this or similar cases popped up a few times during last year:
https://github.com/pmacct/pmacct/commit/b3a5dd564983119eba7a481ad571a9d462922897
Cheers,
Paolo
On Thu, Jan 05, 2017 at 10:24:10AM +, Charlie
Hi,
Just to confirm, the following configuration works perfectly, using
separate router IDs for each protocol, and identifying them by router id
in the agent map:
bgp_ip=4.0.0.1 ip=0.0.0.0/0 filter='ip or (vlan and ip)'
bgp_ip=6.0.0.1 ip=0.0.0.0/0 filter='ip6 or (vlan and ip6)'
Now
Hi Charlie,
If possible and easy for you, it would be great if you can change the BGP
Router ID among the two instances and confirm at least that scenario is
working good for you. I'm meanwhile trying to reproduce the scenario to
see if the issue you raised can be easily fixed.
Cheers,
Paolo
Hi,
I just wanted to follow up on this. It this something that could
potentially be fixed, or something I'm doing wrong? I'm afraid I lack
the understanding of the code to understand the nature of the problem or
attempt to patch it myself.
Thanks again,
Charlie
On 02/01/17 10:19, Charlie
Hi Charlie,
I see about the same BGP router-id; i then wonder: why don't you just
travel both v4 and v6 address families inside the very same v4 (or v6)
session? Why the need for two sessions?
Cheers,
Paolo
On Sat, Dec 31, 2016 at 05:18:18PM +, Charlie Smurthwaite wrote:
> Thank you very
Thank you very much Paolo!
The parser now accepts this configuration, but it still doesn't quite
work. Here is my bgp_agent_map now:
bgp_ip=127.0.0.1 ip=0.0.0.0/0 filter='ip or (vlan and ip)'
bgp_ip=::1 ip=0.0.0.0/0 filter='ip6 or (vlan and ip6)'
It seems that while ::1 is now
Hi Charlie,
Definitely a bug, yes. Thanks for your report. This is now fixed:
https://github.com/pmacct/pmacct/commit/ab7d675f1eaa90f753327a07c0184247f5f0517c
Cheers,
Paolo
On Fri, Dec 30, 2016 at 11:37:31PM +, Charlie Smurthwaite wrote:
> Hi,
>
> I am running pmacctd with 2 BGP sessions
Hi,
I am running pmacctd with 2 BGP sessions to a local bird instance, one
for IPv4 and one for IPv6. I have written a bgp_agent_map a follows:
bgp_ip=127.0.0.1 ip=0.0.0.0/0 filter='ip'
bgp_ip=::1 ip=0.0.0.0/0 filter='ip6'
Unfortunately, the second line fails to parse. The error is: