how to add a few hundred ip on one interface?

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

2011/2/14 krad <kraduk at>

> On 11 February 2011 13:25, Guillermo Fernando Cotone
> <guillermo.cotone at> wrote:
> > On 02/11/2011 09:55 AM, Vladislav V. Prodan wrote:
> >> And this construction work?
> >>
> >>       ipv4_addrs_ed0=""
> >>
> > 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

More information about the freebsd-questions mailing list