Static vs. BGP routing for an ISP

Ok.second question today. I am on a roll.

I cannot announce less than a 24 bit subnet to BGP. So my ISP used static routes to me.
Do I still have to use BGP and receive the entire BGP routing table to enable outbound internet traffic or can I just put a default static route in my egress router that points back to my ISP?

Thanks,
mm
mmahaneyAsked:
Who is Participating?
 
lrmooreCommented:
> can I just put a default static route
Yep. That's all you need:
  ip route 0.0.0.0 0.0.0.0 <ip address of ISP>

! done !
0
 
PennGwynCommented:
Yes.

More specifically, you can choose what -- IF ANY -- routes you receive from BGP.  Unless you are trying to pick an outbound gateway based on destination (a rare situation), a default route is all you need, and it can be static or learned as you prefer.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.