Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All router ips are the docker gateway #27

Open
magedelmalah opened this issue Jun 22, 2020 · 0 comments
Open

All router ips are the docker gateway #27

magedelmalah opened this issue Jun 22, 2020 · 0 comments

Comments

@magedelmalah
Copy link

I have two routers establish BMP session with openbmp collector, I am always receiving the message reply with ip 172.18.0.1 which is the docker gateway

root@controller:/data/lib/openbmp-python-api-message/examples# python3 log_consumer.py
log_consumer.py:89: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config_content = yaml.load(f)
Connecting to kafka... takes a minute to load offsets and topics, please wait
Now consuming/waiting for messages...

Received Message (2020-06-22 07:24:33.620140) : COLLECTOR(V: 1.7)
[
{
"action": "heartbeat",
"seq": 41,
"admin_id": "collector",
"hash": "91e3a7ff9f5676ed6ae6fcd8a6b455ec",
"routers": "172.18.0.1, 172.18.0.1",
"router_count": 2,
"timestamp": 1592810673000
}
]
Received Message (2020-06-22 07:17:35.565263) : PEER(V: 1.7)
[
{
"action": "down",
"seq": 11,
"hash": "8b8961485bd9ef597474884076b6a8e9",
"router_hash": "e7e9fa1b62c27b8833dbcdc3af0e5179",
"name": "",
"remote_bgp_id": "10.11.11.11",
"router_ip": "172.18.0.1",
"timestamp": 1592810255000,
"remote_asn": 65000,
"remote_ip": "10.11.11.11",
"peer_rd": "0:0",
"remote_port": 0,
"local_asn": 0,
"local_ip": "",
"local_port": 0,
"local_bgp_id": "",
"info_data": "",
"adv_cap": "",
"recv_cap": "",
"remote_holddown": 0,
"adv_holddown": 0,
"bmp_reason": 1,
"bgp_error_code": 6,
"bgp_error_sub_code": 2,
"error_text": "Administrative shutdown",
"isL3VPN": 0,
"isPrePolicy": 1,
"isIPv4": 1,
"isLocRib": "0",
"isLocRibFiltered": "0",
"tableName": ""
}
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant