Static Route /24
Michael McConnell
michael at winkstreaming.com
Wed Mar 21 15:56:22 CET 2018
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 at 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 at 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 at winkstreaming.com <mailto:michael at 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 at winkstreaming.com <mailto:michael at 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/>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180321/08c5c6bd/attachment.html>
More information about the Bird-users
mailing list