Fri Sep 29, 2006 12:18 pm
hi, my bgp peer now established.
i have 2 BGP peer. and i have 2 block IP/network. so, i want flexible to advertise my 2 blok IP/network. sometimes used BGP peer 1, sometime used BGP peer 2.
please share...
this is my configuration:
[IDC] routing bgp network> pr
Flags: X - disabled
# NETWORK
0 a.a.a.a/24
1 b.b.b.b/24
[IDC] routing filter> pr
Flags: X - disabled
0 chain=bgp-in invert-match=no action=discard
1 chain=bgp-out prefix=a.a.a.a prefix-length=24 invert-match=no
action=accept
2 chain=bgp-out prefix=b.b.b.b prefix-length=24 invert-match=no
action=accept
3 chain=bgp-out invert-match=no action=discard
[IDC] routing bgp instance> pr
Flags: X - disabled
0 name="default" as=xx145 router-id=0.0.0.0 redistribute-static=no
redistribute-connected=no redistribute-rip=no redistribute-ospf=no
redistribute-other-bgp=no out-filter="" client-to-client-reflection=yes
[IDC] routing bgp peer> pr
Flags: X - disabled
0 name="peer1" instance=default remote-address=x.x.251.193
remote-as=9340 tcp-md5-key="" nexthop-choice=default multihop=yes
route-reflect=no hold-time=0s ttl=1 in-filter="" out-filter=""
1 name="peer2" instance=default remote-address=y.y.127.27
remote-as=4795 tcp-md5-key="" nexthop-choice=default multihop=yes
route-reflect=no hold-time=0s ttl=1 in-filter="" out-filter=""
[IDC] routing bgp peer> pr status
Flags: X - disabled
0 name="peer1" instance=default remote-address=x.x.251.193
remote-as=9340 tcp-md5-key="" nexthop-choice=default multihop=yes
route-reflect=no hold-time=0s ttl=1 in-filter="" out-filter=""
remote-id=202.53.251.2 uptime=1h19m52s prefix-count=1 updates-sent=1
updates-received=1 withdrawn-sent=0 withdrawn-received=0
remote-hold-time=3m used-hold-time=0s used-keepalive-time=0s
refresh-capability=yes state=established
1 name="peer2" instance=default remote-address=y.y.127.27
remote-as=4795 tcp-md5-key="" nexthop-choice=default multihop=yes
route-reflect=no hold-time=0s ttl=1 in-filter="" out-filter=""
remote-id=y.y.127.27 uptime=13m48s prefix-count=199649
updates-sent=1 updates-received=293592 withdrawn-sent=0
withdrawn-received=1121 remote-hold-time=3m used-hold-time=0s
used-keepalive-time=0s refresh-capability=yes state=established
i tested not to advertised my block IP/network to any peer with routing filter ( in-filter="" out-filter="" ), but all bgp peer recieved my block IP/network. is i miss configuration..? also at route table at interface become "unknown"
[IDC] ip route> pr
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC G GATEWAY DIS INTERFACE
1 Db 0.0.0.0/0 u 202.53.251.193 20