Hi all,...
I have build up the follwing lab:
CE1 (AS65533)-----ebgp--->PE1(AS100)----->P1---->PE2(AS100)----ebgp---->CE2(AS200)
~~~~~~~~~~~~~~~~~~~~~~~~ ^--------------ibgp------------^ ~~~~~~~~~~~~~~~~~~~~~~
At CE1 I inject a route 172.16.1.0/24 and export ist to PE1.... --> Works fine in first step..
PE1 gives the route to PE2 via ibgp --> works fine as well
PE2 gives the route to CE2 ---- Well done!!! Route is seen, Controlplane works well.
Now:
I have tried the remove private as feature as well as the as-override feature configured at PE1 at the ebgp session towards CE1.
But nothing happend. The route attributes are always the same logged at PE2.
See:
Without any route-manipulation on PE2:
[lab@PE2] > routing/route/print detail where dst-address=172.16.1.0/24
Flags: X - disabled, F - filtered, U - unreachable, A - active;
c - connect, s - static, r - rip, b - bgp, o - ospf, d - dhcp, v - vpn, m - modem, a - ldp-address, l - ldp-mapping, y - copy;
H - hw-offloaded; + - ecmp, B - blackhole
Ab afi=ip4 contribution=active dst-address=172.16.1.0/24
routing-table=main gateway=192.168.1.1
immediate-gw=192.168.100.1%ether1 distance=200 scope=40
target-scope=30 belongs-to="bgp-IP-10.0.0.2"
bgp.peer-cache-id=*B000002 .as-path="65533" .local-pref=100
.atomic-aggregate=yes .origin=igp
debug.fwp-ptr=0x202822A0
[lab@PE2] >
With as-override configured towards CE-1:
[lab@PE2] > routing/route/print detail where dst-address=172.16.1.0/24
Flags: X - disabled, F - filtered, U - unreachable, A - active;
c - connect, s - static, r - rip, b - bgp, o - ospf, d - dhcp, v - vpn, m - modem, a - ldp-address, l - ldp-mapping, y - copy;
H - hw-offloaded; + - ecmp, B - blackhole
Ab afi=ip4 contribution=active dst-address=172.16.1.0/24
routing-table=main gateway=192.168.1.1
immediate-gw=192.168.100.1%ether1 distance=200 scope=40
target-scope=30 belongs-to="bgp-IP-10.0.0.2"
bgp.peer-cache-id=*B000002 .as-path="65533" .local-pref=100
.atomic-aggregate=yes .origin=igp
debug.fwp-ptr=0x202822A0
[lab@PE2] >
With remove "private as" from PE1 towards ebgp to CE1
[lab@PE2] > routing/route/print detail where dst-address=172.16.1.0/24
Flags: X - disabled, F - filtered, U - unreachable, A - active;
c - connect, s - static, r - rip, b - bgp, o - ospf, d - dhcp, v - vpn, m - modem, a - ldp-address, l - ldp-mapping, y - copy;
H - hw-offloaded; + - ecmp, B - blackhole
Ab afi=ip4 contribution=active dst-address=172.16.1.0/24
routing-table=main gateway=192.168.1.1
immediate-gw=192.168.100.1%ether1 distance=200 scope=40
target-scope=30 belongs-to="bgp-IP-10.0.0.2"
bgp.peer-cache-id=*B000002 .as-path="65533" .local-pref=100
.atomic-aggregate=yes .origin=igp
debug.fwp-ptr=0x202822A0
[lab@PE2] >
As you can see---> always the same .as-path="65533" is showen at the output.
Did I something wrong or is this a bug ?
I have tried this configuration with RouterOS 7.5 and RouterOS7.6rc1 (Because of the BGP-advertised feature).. always the same.
Thank you for your time community...
Andreas