From owner-freebsd-net@FreeBSD.ORG Tue Mar 15 17:42:00 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8F9E16A4CE for ; Tue, 15 Mar 2005 17:41:59 +0000 (GMT) Received: from ints.mail.pike.ru (ints.mail.pike.ru [195.9.45.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9060E43D1D for ; Tue, 15 Mar 2005 17:41:58 +0000 (GMT) (envelope-from babolo@cicuta.babolo.ru) Received: (qmail 3242 invoked from network); 15 Mar 2005 17:41:57 -0000 Received: from cicuta.babolo.ru (194.135.49.133) by ints.mail.pike.ru with SMTP; 15 Mar 2005 17:41:56 -0000 Received: (nullmailer pid 1294 invoked by uid 136); Tue, 15 Mar 2005 17:42:11 -0000 X-ELM-OSV: (Our standard violations) hdr-charset=KOI8-R; no-hdr-encoding=1 In-Reply-To: <20050315130547.W92893@ganymede.hub.org> To: "Marc G. Fournier" Date: Tue, 15 Mar 2005 20:42:11 +0300 (MSK) From: "."@babolo.ru X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <1110908531.113066.1293.nullmailer@cicuta.babolo.ru> cc: dima <_pppp@mail.ru> cc: net@freebsd.org Subject: Re: Re[2]: High ping latency using two ethernet under FreeBSD 4.11 ... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2005 17:42:00 -0000 > On Tue, 15 Mar 2005, dima wrote: > > This actually means you have 1 virtual interface fec0 representing 2 or > > more physical interfaces. The load balancing scheme can be assigned by a > > Catalyst, but low-end models like 2950 and 3550 can only balance traffic > > based on the least significant bit(s) of MAC-address. > > 'k, definitely not what I'm looking for then ... unless I'm missing > something with how alias's work? > > Right now, I have 2 C-classes, but theyy are assigned to the interface 'on > the fly' ... so, I could have something like: > > 200.46.204.10 > 200.46.208.254 > 200.46.208.251 > 200.46.204.5 > > and then, after being up 15 days, might need to add yet another: > > 200.46.208.244 > > now, my understanding (which may be wrong) is that when aliasing the IPs > onto the interface, they pretty much need to be 'bundled' ... if: > > ifconfig fxp0 inet 200.46.204.2 netmask 255.255.255.0 (base server) > ifconfig fxp0 alias 200.46.204.10 netmask 255.255.255.255 > ifconfig fxp0 alias 200.46.204.5 netmask 255.255.255.255 > ifconfig fxp0 alias 200.46.208.254 netmask 255.255.255.0 > ifconfig fxp0 alias 200.46.208.251 netmask 255.255.255.255 > ifconfig fxp0 alias 200.46.208.244 netmask 255.255.255.255 > > so, I could add another 200.46.208.* to the interface, but wouldn't be > able to add another 200.46.204.* to it, at least not without erasing all > IPs and rebuilding the list ... > > If this isn't correct, please feel free to correct me ... what I'd love to > be able to do is: > > ifconfig fxp0 inet 200.46.204.2 netmask 255.255.255.0 (base server) > ifconfig fxp1 alias 200.46.208.2 netmask 255.255.255.0 (base server again) > ifconfig fxp0 alias 200.46.204.10 netmask 255.255.255.255 > ifconfig fxp0 alias 200.46.204.5 netmask 255.255.255.255 > ifconfig fxp0 alias 200.46.208.254 netmask 255.255.255.255 > ifconfig fxp0 alias 200.46.208.251 netmask 255.255.255.255 > ifconfig fxp0 alias 200.46.208.244 netmask 255.255.255.255 > > but didn't think this was doable ... Why not: ifconfig fxp0 inet 200.46.204.2/24 ifconfig fxp0 inet 200.46.208.2/24 alias ifconfig fxp0 inet 200.46.204.10/32 alias ifconfig fxp0 inet 200.46.204.5/32 alias ifconfig fxp0 inet 200.46.208.254/32 alias ifconfig fxp0 inet 200.46.208.251/32 alias ifconfig fxp0 inet 200.46.208.244/32 alias so on ? With the only fxp0 interface You can freely add or delete all /32 addresses while not 200.46.204.2 and 200.46.208.2 > So, right now, I'm using both fxp0 and fxp1, with fxp0 handling the > 200.46.204.* C-class, and fxp1 handling the 200.46.208.* C-class, so that > I can easily add/remove as required ... > > ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >