|
|
| Author |
Message |
pierre Guest
|
Posted: Thu Jun 28, 2007 7:19 pm Post subject: BGP |
|
|
hi
does anybody know how i could send only one ip address to my neighbor ?
thank's for all |
|
| Back to top |
|
 |
|
|
Gabriele Beltrame Guest
|
Posted: Thu Jun 28, 2007 8:41 pm Post subject: Re: BGP |
|
|
"pierre" <pfe@nospam.freesurf.fr> ha scritto nel messaggio
news:4683c35b$0$15746$426a74cc@news.free.fr...
| Quote: | hi
does anybody know how i could send only one ip address to my neighbor ?
thank's for all
|
Hi,
Simply originate it and it will work (if your neighbour's policy accept a
prefix that long).
Regards,
Gabriele |
|
| Back to top |
|
 |
pierre Guest
|
Posted: Thu Jun 28, 2007 8:56 pm Post subject: Re: BGP |
|
|
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" <belgab@drvsource.net> a écrit dans le message de news:
4683d6aa$0$10622$4fafbaef@reader2.news.tin.it...
| Quote: | "pierre" <pfe@nospam.freesurf.fr> ha scritto nel messaggio
news:4683c35b$0$15746$426a74cc@news.free.fr...
hi
does anybody know how i could send only one ip address to my neighbor ?
thank's for all
Hi,
Simply originate it and it will work (if your neighbour's policy accept a
prefix that long).
Regards,
Gabriele
|
|
|
| Back to top |
|
 |
Ern Guest
|
Posted: Thu Jun 28, 2007 9:02 pm Post subject: Re: BGP |
|
|
Hi,
What do you want to achieve?
What prefix do you want to send?
| Quote: |
router bgp 32513
bgp log-neighbor-changes
neighbor 222.103.2.33 remote-as 12450
so it means it is a ebgp session
neighbor 222.103.2.33 ebgp-multihop 255
istn't that neighbor directly connected?
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
|
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 |
|
| Back to top |
|
 |
pierre Guest
|
Posted: Thu Jun 28, 2007 9:18 pm Post subject: Re: BGP |
|
|
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" <spam@won.stad> a écrit dans le message de news:
f60m3m$fv3$1@atlantis.news.tpi.pl...
| Quote: | Hi,
What do you want to achieve?
What prefix do you want to send?
router bgp 32513
bgp log-neighbor-changes
neighbor 222.103.2.33 remote-as 12450
so it means it is a ebgp session
neighbor 222.103.2.33 ebgp-multihop 255
istn't that neighbor directly connected?
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
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 |
|
|
| Back to top |
|
 |
Ern Guest
|
Posted: Thu Jun 28, 2007 9:40 pm Post subject: Re: BGP |
|
|
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):
| Quote: | 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" <spam@won.stad> a écrit dans le message de news:
f60m3m$fv3$1@atlantis.news.tpi.pl...
Hi,
What do you want to achieve?
What prefix do you want to send?
router bgp 32513
bgp log-neighbor-changes
neighbor 222.103.2.33 remote-as 12450
so it means it is a ebgp session
neighbor 222.103.2.33 ebgp-multihop 255
istn't that neighbor directly connected?
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
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
|
|
|
| Back to top |
|
 |
pierre Guest
|
Posted: Thu Jun 28, 2007 10:16 pm Post subject: Re: BGP |
|
|
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" <spam@won.stad> a écrit dans le message de news:
f60oc8$nn2$1@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):
| Quote: | 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" <spam@won.stad> a écrit dans le message de news:
f60m3m$fv3$1@atlantis.news.tpi.pl...
Hi,
What do you want to achieve?
What prefix do you want to send?
router bgp 32513
bgp log-neighbor-changes
neighbor 222.103.2.33 remote-as 12450
so it means it is a ebgp session
neighbor 222.103.2.33 ebgp-multihop 255
istn't that neighbor directly connected?
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
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
|
|
|
| Back to top |
|
 |
|
|
|