From: Nathasha Aleyevka (naleyevka@yahoo.com)
Date: Tue Dec 30 2003 - 02:44:20 GMT-3
Good Evening All,
I have 2 questions regarding BGP:
a) I would like to establish a BGP session between two routers
R1 in AS10 and R2 in AS20(Central site), I can configure R1 with the neighbor 1.1.1.2 remote-as 20 command, is it possible to configure R2 in a promiscous mode so it will establish a session with R1/x without entering the neighbor commands on R2?
R1 R2
int e0 int e0
ip addres 1.1.1.1/24 ip address 1.1.1.2/24
router bgp 10
neighbor 1.1.1.2 remote-as 20
===========================================================
b) I only want R1 to be able to start a BGP session with R2, destination port 179.
By using a local policy & route-map on R2 with an outbound access-list,
applied to R2's E0, here is what I got:
IP: s=1.1.1.1 (Ethernet0), d=1.1.1.2 (Ethernet0), len 60, rcvd 3
TCP src=11009, dst=179, seq=2156087920, ack=0, win=16384 SYN
IP: s=1.1.1.1 (Ethernet0), d=1.1.1.2 (Ethernet0), len 60, rcvd 3
TCP src=11009, dst=179, seq=2156087921, ack=2260118643, win=16384 ACK
IP: s=1.1.1.1 (Ethernet0), d=1.1.1.2 (Ethernet0), len 99, rcvd 3
TCP src=11009, dst=179, seq=2156087921, ack=2260118643, win=16384 ACK PSH
IP: s=1.1.1.1 (Ethernet0), d=1.1.1.2 (Ethernet0), len 73, rcvd 3
TCP src=11009, dst=179, seq=2156087966, ack=2260118672, win=16355 ACK PSH su
BGP table version is 1, main routing table version 1
Having said that, it seems to me that the router initiating the TCPconnection in the above scenarion is router R1, but the BGP session is started by R2.
If router R1 were to iniate a BGP session second line should look like
IP: s=1.1.1.1 (Ethernet0), d=1.1.1.2 (Ethernet0), len 60, rcvd 3
TCP src=179, dst=11016, seq=2918566711, ack=3022616789, win=16384 ACK SYN
therefore the configuration should be done on the router which stops traffic going to port 179
Am I reading this correctly? Thank you
Nathasha
---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing
This archive was generated by hypermail 2.1.4 : Sat Jan 03 2004 - 08:25:46 GMT-3