From owner-freebsd-net@FreeBSD.ORG Wed Dec 12 23:17:27 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24E5216A47A for ; Wed, 12 Dec 2007 23:17:27 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2494C13C457 for ; Wed, 12 Dec 2007 23:17:27 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 3A09F1A4D7E; Wed, 12 Dec 2007 15:16:38 -0800 (PST) Date: Wed, 12 Dec 2007 15:16:38 -0800 From: Alfred Perlstein To: Julian Elischer Message-ID: <20071212231638.GB61429@elvis.mu.org> References: <476061FD.8050500@elischer.org> <20071212225014.GY61429@elvis.mu.org> <47606B30.3020508@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47606B30.3020508@elischer.org> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Net Subject: Re: bikeshed for all! X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2007 23:17:27 -0000 * Julian Elischer [071212 15:13] wrote: > Alfred Perlstein wrote: > >try using "instance". > > > >"Oh I'm going to use the FOO routing instance." > > what do Juniper call it? "Instance" and "vrf". -Alfred > > > > >Works nicely. > > > >* Julian Elischer [071212 14:34] wrote: > >>So, I'm playing with some multiple routing table support.. > >>the first version is a minimal impact version with very limited > >>functionality. > >>It's done that way so I can put it in RELENG_6/7 without breaking ABIs (I > >>hope). > >>Later there will be a more flexible version for-current. > >> > >>Here's the question.. > >> > >>I need a word to use to describe the network view one is currently on.. > >>e.g. if you are usinghe second routing table, you could say I've set xxx > >>to 1 > >>(0 based).. > >> > >> > >>current;y in my code I'm using 'universe' but I don't like that.. > >> > >>one could think of it as a routing plane.. > >>each routing plane has he same interfaces on it but they are logically > >>treated differently becasue each plane has a different routing table. > >> > >> > >>so here's an axample of it in use now... > >>the names should change... > >> > >>setuniverse 1 netstat -rn > >>[shows table 1] > >>setuniverse 2 route add 10.0.0.0/24 192.168.2.1 > >>setuinverse 1 route add 10.0.0.0/24 192.168.3.1 > >>setuniverse 2 route -n get 10.0.0.3 > >>[shows 192.168.2.1] > >>setuniverse 1 route -n get 10.0.0.3 > >>[shows 192.168.3.1] > >>setuniverse 2 start_apache > >>[appache starts, always using 192.168.2.1 to reach the 10.0.0 net. > >> > >> > >>also the syscall is setuniverse() > >> > >>so, you see I really need a better name.... > >>setrtab? > >> > >>rtab? rtbl? > >> > >>and the command should be called "????" > >> > >> > >>_______________________________________________ > >>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" > > > > _______________________________________________ > 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" -- - Alfred Perlstein