BGP

hi

does anybody know how i could send only one ip address to my neighbor ?

thank's for all

Reply to
pierre
Loading thread data ...

"pierre" ha scritto nel messaggio news:4683c35b$0$15746$ snipped-for-privacy@news.free.fr...

Hi,

Simply originate it and it will work (if your neighbour's policy accept a prefix that long).

Regards, Gabriele

Reply to
Gabriele Beltrame

hi,

i am not an expert in BGP either in cisco, here is my conf, could you mark whats wrong ?

router bgp 32513 bgp log-neighbor-changes neighbor 222.103.2.33 remote-as 12450 neighbor 222.103.2.33 ebgp-multihop 255 neighbor 222.103.2.33 route-map lan-radius out ! ip bgp-community new-format ip community-list 10 permit 0:12670 ! access-list 60 permit 84.133.145.45 access-list 60 permit 222.103.2.18 route-map lan-radius permit 10 match ip address 60

Best regards "Gabriele Beltrame" a écrit dans le message de news:

4683d6aa$0$10622$ snipped-for-privacy@reader2.news.tin.it...
Reply to
pierre

Hi,

What do you want to achieve? What prefix do you want to send?

so it means it is a ebgp session

istn't that neighbor directly connected?

In this config you use route-map to permit only two hosts (access-list 60). Please write what do you want to advertise and if it is directly connected or not?

Ern

Reply to
Ern

hi,

i would send 84.133.145.45 and 222.103.2.18 to neighbor 222.103.2.33 remote-as 12450 remote peer is direcly connected by fibre

i have tried : (dont work) router bgp 32513 bgp log-neighbor-changes neighbor 222.103.2.33 remote-as 12450 neighbor 222.103.2.33 ebgp-multihop 255 neighbor 222.103.2.33 route-map lan-radius out ! ip bgp-community new-format ip community-list 10 permit 0:12450 ! ! ip prefix-list r1 seq 5 permit 84.133.145.45/32 ! ip prefix-list radius seq 5 permit 222.103.2.18/32 route-map lan-radius permit 10 match ip address prefix-list radius r1 mosaica

"Ern" a écrit dans le message de news: f60m3m$fv3$ snipped-for-privacy@atlantis.news.tpi.pl...

Reply to
pierre

OK AFAIK you should have these hosts in routing table (exact match). If you don't have - create static routes ip route 84.133.145.45 255.255.255.255 something ip route 222.103.2.18 255.255.255.255 something

then:

router bgp 32513 bgp log-neighbor-changes neighbor 222.103.2.33 remote-as 12450 neighbor 222.103.2.33 route-map lan-radius out network 84.133.145.45 mask 255.255.255.255 network 222.103.2.18 mask 255.255.255.255 ! ip bgp-community new-format ip community-list 10 permit 0:12670 ! access-list 60 permit 84.133.145.45 access-list 60 permit 222.103.2.18 route-map lan-radius permit 10 match ip address 60

should work

if you don't have any ibgp sessions you can delete route-map and=20 'neighbor 222.103.2.33 route-map lan-radius out' statement

Regards Ern

pierre napisa=B3(a):

Reply to
Ern

yes it's work fine i can not ping 84.133.145.45 because it's vpdn address so i have routed this to null and bgp propagate correctly this address to my neighbor

thank's for all

"Ern" a écrit dans le message de news: f60oc8$nn2$ snipped-for-privacy@atlantis.news.tpi.pl... OK AFAIK you should have these hosts in routing table (exact match). If you don't have - create static routes ip route 84.133.145.45 255.255.255.255 something ip route 222.103.2.18 255.255.255.255 something

then:

router bgp 32513 bgp log-neighbor-changes neighbor 222.103.2.33 remote-as 12450 neighbor 222.103.2.33 route-map lan-radius out network 84.133.145.45 mask 255.255.255.255 network 222.103.2.18 mask 255.255.255.255 ! ip bgp-community new-format ip community-list 10 permit 0:12670 ! access-list 60 permit 84.133.145.45 access-list 60 permit 222.103.2.18 route-map lan-radius permit 10 match ip address 60

should work

if you don't have any ibgp sessions you can delete route-map and 'neighbor 222.103.2.33 route-map lan-radius out' statement

Regards Ern

pierre napisa³(a):

Reply to
pierre

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.