Hello fellow Bird users, I’ve run into a strange issue trying to subnet a /24 into a series of smaller /27 and /28’s and have the routed via BGP. I currently do the following; route 10.10.10.0/24 reject; However if I don’t bring the interface up as a /24 (i.e. ifconfig eth0:10 10.10.10.10 netmask 255.255.255.0 up) I am unable to get the route explored when I run show route - the interface needs to be online in order for “show route” to show the import as a unreachable. I can kinda make this work through a series of strange static routes, but this seems incorrect. Can anyone suggest a better way to ensure my /24 is announced regardless so that I can then subnet it down for the purpose of serving over a VPN the /28’s and /27’s? Hopefully that question makes sense and isn’t too much nonsense. Thanks for you help and comments! Mike -- Michael McConnell WINK Streaming; email: michael@winkstreaming.com toll free: 877-GO-4-WINK x 7400 direct: +1 312 281-5434 cell: +506 8706-2389 skype: wink-michael web: http://winkstreaming.com
Hey Mike, Not sure what platform you're running BIRD on, but in Ubuntu/Linux, I use loopback interfaces to do this. Here is what my interfaces file / BIRD config look like. I am using /32s, but I don't think there are any issues with /24s going into BGP. Let me know if you have any questions or I missed your questions in some way. /etc/network/interfaces: # The loopback network interface auto lo iface lo inet loopback auto lo:10 iface lo:10 inet static address 172.22.150.126 netmask 255.255.255.255 auto lo:11 iface lo:11 inet static address 172.27.255.29 netmask 255.255.255.255 auto lo:20 iface lo:20 inet static address 172.22.150.119 netmask 255.255.255.255 bird.conf: protocol direct { interface "lo*"; } /Charles van Niman On Wed, Mar 21, 2018 at 7:13 AM, Michael McConnell < michael@winkstreaming.com> wrote:
Hello fellow Bird users,
I’ve run into a strange issue trying to subnet a /24 into a series of smaller /27 and /28’s and have the routed via BGP.
I currently do the following; route 10.10.10.0/24 reject;
However if I don’t bring the interface up as a /24 (i.e. ifconfig eth0:10 10.10.10.10 netmask 255.255.255.0 up) I am unable to get the route explored when I run show route - the interface needs to be online in order for “show route” to show the import as a unreachable.
I can kinda make this work through a series of strange static routes, but this seems incorrect. Can anyone suggest a better way to ensure my /24 is announced regardless so that I can then subnet it down for the purpose of serving over a VPN the /28’s and /27’s?
Hopefully that question makes sense and isn’t too much nonsense.
Thanks for you help and comments! Mike
--
*Michael McConnellWINK Streaming;email:* michael@winkstreaming.com *toll free:* 877-GO-4-WINK x 7400 *direct: *+1 312 281-5434 <(312)%20281-5434> *cell:* +506 8706-2389 <+506%208706%202389> *skype:* wink-michael *web:* http://winkstreaming.com
Thank you Charles, I am a little red in the face for having not tried / know that. I’ll give it a go, thanks again for the help and prompt response! Mike -- Michael McConnell WINK Streaming; email: michael@winkstreaming.com toll free: 877-GO-4-WINK x 7400 direct: +1 312 281-5434 cell: +506 8706-2389 skype: wink-michael web: http://winkstreaming.com
On Mar 21, 2018, at 8:54 AM, Charles van Niman <charles@phukish.com> wrote:
Hey Mike,
Not sure what platform you're running BIRD on, but in Ubuntu/Linux, I use loopback interfaces to do this. Here is what my interfaces file / BIRD config look like. I am using /32s, but I don't think there are any issues with /24s going into BGP. Let me know if you have any questions or I missed your questions in some way.
/etc/network/interfaces: # The loopback network interface auto lo iface lo inet loopback
auto lo:10 iface lo:10 inet static address 172.22.150.126 netmask 255.255.255.255
auto lo:11 iface lo:11 inet static address 172.27.255.29 netmask 255.255.255.255
auto lo:20 iface lo:20 inet static address 172.22.150.119 netmask 255.255.255.255
bird.conf:
protocol direct { interface "lo*"; }
/Charles van Niman
On Wed, Mar 21, 2018 at 7:13 AM, Michael McConnell <michael@winkstreaming.com <mailto:michael@winkstreaming.com>> wrote: Hello fellow Bird users,
I’ve run into a strange issue trying to subnet a /24 into a series of smaller /27 and /28’s and have the routed via BGP.
I currently do the following; route 10.10.10.0/24 <http://10.10.10.0/24> reject;
However if I don’t bring the interface up as a /24 (i.e. ifconfig eth0:10 10.10.10.10 netmask 255.255.255.0 up) I am unable to get the route explored when I run show route - the interface needs to be online in order for “show route” to show the import as a unreachable.
I can kinda make this work through a series of strange static routes, but this seems incorrect. Can anyone suggest a better way to ensure my /24 is announced regardless so that I can then subnet it down for the purpose of serving over a VPN the /28’s and /27’s?
Hopefully that question makes sense and isn’t too much nonsense.
Thanks for you help and comments! Mike
-- Michael McConnell WINK Streaming; email: michael@winkstreaming.com <mailto:michael@winkstreaming.com> toll free: 877-GO-4-WINK x 7400 direct: +1 312 281-5434 <tel:(312)%20281-5434> cell: +506 8706-2389 <tel:+506%208706%202389> skype: wink-michael web: http://winkstreaming.com <http://winkstreaming.com/>
participants (2)
-
Charles van Niman -
Michael McConnell