# BGP question

**URL:** <https://forum.networklessons.com/t/bgp-question/3838>\
**Category:** BGP\
**Created:** [May 9, 2018, 12:41pm UTC](https://forum.networklessons.com/t/bgp-question/3838 "2018-05-09T12:41:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tncobmn](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/t/cc9497/32.png) [@tncobmn](https://forum.networklessons.com/u/tncobmn)\
**Post date:** [May 9, 2018, 12:41pm UTC](https://forum.networklessons.com/t/bgp-question/3838/1 "2018-05-09T12:41:21Z")

</div>

Hi Rene and everyone,

Recently, We have eBGP configured with our new ISP and everything is working fine. We’re given these subnets 11.12.13.0/30 and 21.22.23.0/24 from our ISP. We also own this public subnet 32.33.34.0/23 and use them as our LAN. My question is, how do we advertise our subnet 32.33.34.0/23 to our eBGP which between our edge router and ISP router? What do we need to modify from our topology?

 ![Drawing1](https://cdn-forum.networklessons.com/uploads/default/original/1X/979bbe6beaebc78c2ef539677afcf2ee85bad265.jpg)

---

<div class="post-metadata">

**Author:** ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)\
**Post date:** [May 11, 2018, 2:52pm UTC](https://forum.networklessons.com/t/bgp-question/3838/2 "2018-05-11T14:52:55Z")

</div>

Hello Andy,

If you want to advertise something in BGP, you need to have that route in your routing table. On your router, you can configure a static route that points to your ASA and then redistribute that static route in BGP. Something like this:

```
ip route 32.33.34.0 255.255.254.0 21.22.23.1

router bgp 22222
redistribute static

```

Or, if you want to make sure you only redistribute this static route then you can include a route-map:

```
ip prefix-list LAN permit 32.33.34.0/23
route-map TO_ISP permit 10
match ip address prefix-list LAN

router bgp 22222
redistribute static route-map TO_ISP

```

Rene
