From owner-freebsd-net@FreeBSD.ORG Wed Dec 12 23:48:07 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 830D316A419 for ; Wed, 12 Dec 2007 23:48:07 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id 7BE8113C4EB for ; Wed, 12 Dec 2007 23:48:07 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 1FBF45B99; Wed, 12 Dec 2007 15:23:38 -0800 (PST) To: Julian Elischer In-reply-to: Your message of "Wed, 12 Dec 2007 14:34:37 PST." <476061FD.8050500@elischer.org> Date: Wed, 12 Dec 2007 15:23:38 -0800 From: Bakul Shah Message-Id: <20071212232338.1FBF45B99@mail.bitblocks.com> 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:48:07 -0000 > I need a word to use to describe the network view one is currently on.. .... > > 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 "????" We called it vhost since to all other hosts it behaved like a host on a network. In our implementation each virtual host had a set of interfaces and one routing table and you could actually "route" packets between these hosts among other things. You could even have for routing daemons etc. on each one.