Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BGP Newbie Question

Status
Not open for further replies.

pdk68

Vendor
Oct 17, 2002
14
US
One of our customers is going multi-homed and we are providing the primary feed and doing all the configuration on there router. This is my first BGP config so I am sure I am missing something but I have our router and theres configured and I can ping from there router to any address on the internet but from there network (16X.X.X.X/24) I can only ping to networks directly connected to our router.

Customer router:
!
router bgp XXX
no synchronization
bgp log-neighbor-changes
network 16X.X.X.X mask 255.255.255.0
neighbor 6Y.Y.Y.Y remote-as YYY
neighbor 16Z.Z.Z.Z remote-as ZZZ
no auto-summary
!
Our router:
!
router bgp YYY
bgp log-neighbor-changes
network 16X.X.X.X mask 255.255.255.0
neighbor 6Y.Y.Y.Y remote-as XXX
!

There secondary provider doesn't have there circuit installed yet so I am only testing our half of the circuit. Our upstream provider doesn't have our BGP set-up yet so I am thinking maybe this is why I can only ping our network but since this is my first experience with BGP I wanted to ask so if it is a problem on my end I can fix it now. If it maters, our customer needs to be multi-homed becuase they have servers that need to be accesible 24X7 from IP based equipment that will only peer to an IP address.

Thanks
 
On your BGP configuration, you should setup the no auto-summary and the no synchronization.

no auto-summary will ensure that you netblock won't be automatically summarized as a Class A, B, or C.

no synchronization tells BGP not to check to see if a route is in your routing table before announcing it to it's peers. I.e. If you are running an IGP routing protocol, and a route goes down, BGP would stop announcing that route.

Also, you will need to setup filters to prevent your customer from advertising routes that they don't have.

Example Customer filter on your Router:

ip prefix-list customera seq 5 permit 16X.X.X.X/24

router bgp YYY
neighbor 6Y.Y.Y.Y prefix-list customera in
exit
exit
copy running-config startup-config
clear ip bgp 6Y.Y.Y.Y in

This will tell BGP only to accept the 16X.X.X.X/24 netblock from your customer. You should also make a filter for what you announce to them. They might not have a router with enough memory to take the full routing table, so you will have to filter a lot of the networks out and send them a default route.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top