Page 1 of 1

Export BGP Filter

Posted: Sat Jan 12, 2019 8:24 pm
by alp
I have a real environment. Directly connected to the Internet Exchange Point.
I'm trying to convey this traffic with the Mikrotik EoIP in the center.

EoIP connection is active and run. BGP session between the Mikrotik in the IXP and central Mikrotik is active.

Filters are coming but there is a problem. Gateway IP coming from the filter belongs to IXP. Mikrotik can't find this way.
When I do a "force self" in the BGP session, the Gateway address is being directed to Tunnel.

Trace Output:
10.10.100.2
*
*
*
Can you help me?

Re: Export BGP Filter

Posted: Mon Jan 14, 2019 10:13 am
by alp
Image

IX Router BGP Session:
E name="transfer" instance=default remote-address=10.10.100.1 remote-as=200 tcp-md5-key="" nexthop-choice=default multihop=no route-reflect=no hold-time=3m 
     ttl=default in-filter=inbound out-filter=IX-Out address-families=ip default-originate=never remove-private-as=no as-override=no passive=no use-bfd=no 

Main Router BGP Session:
E name="transfer_in" instance=default remote-address=10.10.100.2 remote-as=200 tcp-md5-key="" nexthop-choice=default multihop=yes route-reflect=no hold-time=3m 
     ttl=default in-filter=inbound out-filter=outbound address-families=ip default-originate=never remove-private-as=yes as-override=no 
     passive=no use-bfd=no 

Re: Export BGP Filter

Posted: Mon Jan 14, 2019 10:25 am
by TheCiscoGuy
Can you provide the routing table, export on the filter from the IX router "IX-OUT", and provide the destination you are attempting to traceroute to

Re: Export BGP Filter

Posted: Mon Jan 14, 2019 10:59 am
by alp
Can you provide the routing table, export on the filter from the IX router "IX-OUT", and provide the destination you are attempting to traceroute to

IX Sample Route:
 0 ADb  dst-address=8.8.8.0/24 gateway=xxx.xxx.xxx.197 gateway-status=xxx.xxx.xxx.197 reachable via  IX_Port distance=20 scope=40 target-scope=30 bgp-as-path="15169" 
        bgp-med=0 bgp-origin=igp received-from=IX [1] 

Main Router Sample Route:
 0 ADb  dst-address=8.8.8.0/24 gateway=xxx.xxx.xxx.197 gateway-status=xxx.xxx.xxx.197 recursive via 95.179.154.1 Vultr - Uplink distance=200 scope=40 target-scope=30 
        bgp-as-path="15169" bgp-local-pref=100 bgp-med=0 bgp-origin=igp received-from=transfer_in

As shown in the Main Router example;
- xxx.xxx.xxx.197 Searching for IP on the Internet.
- IP addresses of IX cannot be found because they are not routed.
- IX When I set the Force-self from the Router to BGP; Tunnel IP address appears as the gateway address. However, in this case, the EoIP Tunneli is continuously disconnected and reconnected. In the form of this loop.

Re: Export BGP Filter

Posted: Mon Jan 14, 2019 11:09 am
by alp
IX Router:
Image

Main Router (Default Gateway):
Image

Re: Export BGP Filter

Posted: Mon Jan 14, 2019 5:36 pm
by alp
I have discovered that the problem has occurred because of an incorrect route.

It's trying to move towards the right course with Force-self.

Image

The new problem is:
- Main The router is pointing towards the right device.
- IX router does not provide the appropriate orientation.


Main Router:
ADb  dst-address=8.8.8.0/24 gateway=10.10.100.2 gateway-status=10.10.100.2 reachable via  IX-EoIP distance=200 scope=40 target-scope=30 bgp-as-path="15169" 
        bgp-local-pref=100 bgp-med=0 bgp-origin=igp received-from=transfer_in