how to add a few hundred ip on one interface?

Guillermo Cotone guillermo.cotone at gmail.com
Tue Mar 8 03:01:39 UTC 2011


2011/2/14 krad <kraduk at gmail.com>

> On 11 February 2011 13:25, Guillermo Fernando Cotone
> <guillermo.cotone at gmail.com> wrote:
> > On 02/11/2011 09:55 AM, Vladislav V. Prodan wrote:
> >> And this construction work?
> >>
> >>       ipv4_addrs_ed0="192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28"
> >>
> > It would work only if all the IPs were on the same subnet. If you want
> > to use different subnets you need to implement vlans on that interface
> > first.
> >
> > Regards,
> > Guillermo
> >
> >
>
> there is no reason why a single vlan cant have multiple ip subnets, so
> unless freebsd has a specific limitation (which i dont think it does)
> I cant see this as being true
>

Well, I must admit that(as Nathan stated earlier in this chain) it's
possible to do it. I just don't see it as a good practice. Isolation,
broadcasts, neighbors and routing protocol issues are common problems.

FreeBSD may not have any limitation regarding the number of subnets, but
most network vendors do have.
What's the purpose of having different subnets on the same ethernet segment?
I would only consider this solution if the layer-2 device doesn't support
vlans.


More information about the freebsd-questions mailing list