having trouble getting bird an juniper to be happy with BFD
Jerry Scharf
jerry at soundhound.com
Sat Aug 19 00:31:44 CEST 2017
Please ignore this. A typo in iptables...
On 08/18/2017 01:43 PM, Jerry Scharf wrote:
> Hi,
>
> I'm confused with what is going on with this.
>
> Here are the config snippets for what I am doing:
>
> this sets up the bgp peer that I am monitoring:
> template bgp tocore {
> description "bgp to data center as";
> local as 65304;
> direct;
> export filter inside_export;
> import filter inside_import;
> next hop self;
> bfd on;
> }
>
> protocol bgp inside_netA from tocore {
> neighbor 10.12.0.3 as 65304;
> source address 10.12.0.11;
> }
>
> this is the bfd config:
> protocol bfd {
> interface "edge*" {
> interval 300 ms;
> multiplier 3;
> };
> interface "net*" {
> interval 300 ms;
> multiplier 3;
> };
> }
>
> Other than not defining any neighbors directly, it looks just like the
> docs as far as I can tell.
>
> BGP is working, the peering is established and the routes are passing
> correctly.
>
> here is the show protocols all from birdc:
> bfd1 BFD master up 13:16:07
> Preference: 0
> Input filter: ACCEPT
> Output filter: REJECT
> Routes: 0 imported, 0 exported, 0 preferred
> Route change stats: received rejected filtered ignored
> accepted
> Import updates: 0 0 0 0 0
> Import withdraws: 0 0 --- 0 0
> Export updates: 0 0 0 --- 0
> Export withdraws: 0 --- --- --- 0
>
>
>
> This machine is .11 and the juniper is .3 on the 10.12.0 net. Here is
> the tcpdump output:
> 13:37:23.444104 IP 10.12.0.11.38316 > 10.12.0.3.bfd-control: BFDv1,
> Control, State Down, Flags: [none], length: 24
> 13:37:24.251246 IP 10.12.0.11.38316 > 10.12.0.3.bfd-control: BFDv1,
> Control, State Down, Flags: [none], length: 24
> 13:37:24.408134 IP 10.12.0.3.49152 > 10.12.0.11.bfd-control: BFDv1,
> Control, State Init, Flags: [Control Plane Independent], length: 24
> 13:37:25.056399 IP 10.12.0.11.38316 > 10.12.0.3.bfd-control: BFDv1,
> Control, State Down, Flags: [none], length: 24
> 13:37:25.571488 IP 10.12.0.11.bgp > 10.12.0.3.63762: Flags [P.], seq
> 54144952:54144971, ack 992801306, win 237, options [nop,nop,TS val
> 995413 ecr 83872572], length 19: BGP, length: 19
> 13:37:25.673017 IP 10.12.0.3.63762 > 10.12.0.11.bgp: Flags [.], ack 19,
> win 16384, options [nop,nop,TS val 83880802 ecr 995413], length 0
> 13:37:25.847516 IP 10.12.0.11.38316 > 10.12.0.3.bfd-control: BFDv1,
> Control, State Down, Flags: [none], length: 24
> ^C13:37:26.408150 IP 10.12.0.3.49152 > 10.12.0.11.bfd-control: BFDv1,
> Control, State Init, Flags: [Control Plane Independent], length: 24
> 13:37:26.737727 IP 10.12.0.11.38316 > 10.12.0.3.bfd-control: BFDv1,
> Control, State Down, Flags: [none], length: 24
>
> and so on
>
> So clearly from tcpdump bird is always saying down and so nothing is
> setting up. What do I need to do. This is running 1.6.0 right now.
>
> jerry
>
--
Jerry Scharf, Soundhound DevOps
"What could possibly go wrong?"
More information about the Bird-users
mailing list