Skip to content

gobgp client in kube-router docker image does not show peer information #58

@murali-reddy

Description

@murali-reddy

@thoro reported this issue. I tested it out and could reproduce it.

~ # gobgp neighbor
Peer    AS  Up/Down State       |#Received  Accepted
 64512 00:30:53 Establ      |        1         1
 64512 00:31:05 Establ      |        1         1
 64512 00:30:57 Establ      |        1         1

Problem seems to be with neighbor command only. Global rib shows up fine.

~ # gobgp global rib
   Network              Next Hop             AS_PATH                  Age        Attrs
*> 100.96.0.0/24        172.20.41.250        4000 400000 300000 40001 00:30:59   [{Origin: i} {LocalPref: 100}]
*> 100.96.1.0/24        172.20.47.91         4000 400000 300000 40001 00:31:11   [{Origin: i} {LocalPref: 100}]
*> 100.96.2.0/24        172.20.61.45         4000 400000 300000 40001 00:31:03   [{Origin: i} {LocalPref: 100}]
*> 100.96.3.0/24        172.20.33.233        4000 400000 300000 40001 00:00:13   [{Origin: i}]
~ #

From local gobgp client i am able too see the information fine.

/home/kube/go/bin/gobgp neighbor -u 52.36.44.2
Peer             AS  Up/Down State       |#Received  Accepted
172.20.33.233 64512 00:19:22 Establ      |        1         1
172.20.41.250 64512 00:19:24 Establ      |        1         1
172.20.47.91  64512 00:19:32 Establ      |        1         1
kube@kube-master:~$ /home/kube/go/bin/gobgp global rib  -u 52.36.44.2
    Network             Next Hop             AS_PATH                  Age        Attrs
*>  100.96.0.0/24       172.20.41.250        4000 400000 300000 40001 00:29:36   [{Origin: i} {LocalPref: 100}]
*>  100.96.1.0/24       172.20.47.91         4000 400000 300000 40001 00:29:44   [{Origin: i} {LocalPref: 100}]
*>  100.96.2.0/24       172.20.61.45         4000 400000 300000 40001 00:00:51   [{Origin: i}]
*>  100.96.3.0/24       172.20.33.233        4000 400000 300000 40001 00:29:34   [{Origin: i} {LocalPref: 100}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions