07-01-2009 02:03 PM - edited 03-04-2019 05:17 AM
This is home lab and I am just starting playing w/ BGP
I have a frame relay switch configured on router 3
Router 1 can ping router 2
Router 2 can ping router 1
I am trying to configure bgp ..
r2
router bgp 400
no synchronization
bgp log-neighbor-changes
neighbor 192.168.10.2 remote-as 600
no auto-summary
r1
router bgp 400
no synchronization
bgp log-neighbor-changes
neighbor 192.168.10.1 remote-as 600
no auto-summary
I get this error.
Mar 1 00:50:18.676: %BGP-3-NOTIFICATION: received from neighbor 192.168.10.2 2/2 (peer in wrong AS) 2 bytes 0190
I get this error. I tried to change the AS to different number , I made the AS the same .. the thing that I noticed is that when I do show ip bgp I get router ID 0.0.0.0
Here is it is
R2#sho ip bgp n
BGP neighbor is 192.168.10.2, remote AS 600, external link
BGP version 4, remote router ID 0.0.0.0
BGP state = Active
Last read 00:00:15, hold time is 180, keepalive interval is 60 seconds
Message statistics:
InQ depth is 0
OutQ depth is 0
Sent Rcvd
Opens: 0 0
Notifications: 0 0
Updates: 0 0
Keepalives: 0 0
Route Refresh: 0 0
Total: 0 0
Default minimum time between advertisement runs is 30 seconds
For address family: IPv4 Unicast
BGP table version 1, neighbor version 0
Index 1, Offset 0, Mask 0x2
Sent Rcvd
Prefix activity: ---- ----
Prefixes Current: 0 0
Prefixes Total: 0 0
Implicit Withdraw: 0 0
Explicit Withdraw: 0 0
Used as bestpath: n/a 0
Used as multipath: n/a 0
Outbound Inbound
Local Policy Denied Prefixes: -------- -------
Total: 0 0
Number of NLRIs in the update sent: max 0, min 0
Connections established 0; dropped 0
Last reset never
No active TCP connection
Solved! Go to Solution.
07-01-2009 02:09 PM
r2
router bgp 400
no synchronization
bgp log-neighbor-changes
neighbor 192.168.10.2 remote-as 600
no auto-summary
r1
router bgp 400
no synchronization
bgp log-neighbor-changes
neighbor 192.168.10.1 remote-as 600
no auto-summary
so is R1 192.168.10.2 and R2 192.168.10.1 ?
Assuming they are and you want to test EBGP then modify config -
r2
router bgp 400
no synchronization
bgp log-neighbor-changes
neighbor 192.168.10.2 remote-as 600
no auto-summary
r1
router bgp 600
no synchronization
bgp log-neighbor-changes
neighbor 192.168.10.1 remote-as 400
no auto-summary
the problem you have is that you have configured both routers into AS 400 but you have told both routers that the other router is in AS 600, hence the error message.
Jon
07-01-2009 02:09 PM
r2
router bgp 400
no synchronization
bgp log-neighbor-changes
neighbor 192.168.10.2 remote-as 600
no auto-summary
r1
router bgp 400
no synchronization
bgp log-neighbor-changes
neighbor 192.168.10.1 remote-as 600
no auto-summary
so is R1 192.168.10.2 and R2 192.168.10.1 ?
Assuming they are and you want to test EBGP then modify config -
r2
router bgp 400
no synchronization
bgp log-neighbor-changes
neighbor 192.168.10.2 remote-as 600
no auto-summary
r1
router bgp 600
no synchronization
bgp log-neighbor-changes
neighbor 192.168.10.1 remote-as 400
no auto-summary
the problem you have is that you have configured both routers into AS 400 but you have told both routers that the other router is in AS 600, hence the error message.
Jon
07-01-2009 02:26 PM
Thank you Jon !!! :-)
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: