From owner-freebsd-questions@FreeBSD.ORG Tue Mar 8 03:01:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 952EF106564A for ; Tue, 8 Mar 2011 03:01:39 +0000 (UTC) (envelope-from guillermo.cotone@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 464FB8FC0A for ; Tue, 8 Mar 2011 03:01:38 +0000 (UTC) Received: by vxc34 with SMTP id 34so5107121vxc.13 for ; Mon, 07 Mar 2011 19:01:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=wffTKusnXMOcX+ZMSOCuZuaGcNazfYvFiMXtmLmxTxo=; b=ktWBrGoMJKlT1jDHX1KR/fzn1ldgltuLL+s+z018APUSLpcuu0oPyjmXa6iko0Q5lE /pqYx5ReffEfqxhQGHPgTYyPiFWc5K+ENTL7N6THZHlxi6u04ZDA1uWypXdzGp6LtLWi IeDGU1yZ8e4XpmqnLuiYsCufsBM+GVtiDeO/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=qWNFTCWrP9aibYcgKIEysP8GWuudL/PMEK4wXVof4qlzbTZ9HRcCnk9dWgZCalGj52 KYOMn0To2//ayC+x9mnYSFqHhiAKl5IwLWYGr7oRbTZ/KK0ta+QPa2leAZbLbjMGFzvY oS/CAS5grd16PpxQemhC9qLHfjukl9Wwvnuds= MIME-Version: 1.0 Received: by 10.52.0.70 with SMTP id 6mr6445243vdc.258.1299553298084; Mon, 07 Mar 2011 19:01:38 -0800 (PST) Received: by 10.52.168.228 with HTTP; Mon, 7 Mar 2011 19:01:38 -0800 (PST) In-Reply-To: References: <4D547675.60506@ukr.net> <4D54D22F.2060607@infracaninophile.co.uk> <4D5531D3.8040906@ukr.net> <4D5538DF.2050309@gmail.com> Date: Tue, 8 Mar 2011 00:01:38 -0300 Message-ID: From: Guillermo Cotone To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: how to add a few hundred ip on one interface? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2011 03:01:39 -0000 2011/2/14 krad > On 11 February 2011 13:25, Guillermo Fernando Cotone > 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.