From owner-freebsd-isp Mon Apr 27 18:11:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA26467 for freebsd-isp-outgoing; Mon, 27 Apr 1998 18:11:51 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from shell.thebestisp.com (shell.thebestisp.com [204.220.33.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA26462 for ; Mon, 27 Apr 1998 18:11:45 -0700 (PDT) (envelope-from joe@thebestisp.com) Received: from speed.thebestisp.com ([209.98.116.2]) by shell.thebestisp.com (8.8.7/8.8.7) with SMTP id UAA13886 for ; Mon, 27 Apr 1998 20:08:37 -0500 (CDT) (envelope-from joe@thebestisp.com) Message-ID: <000301bd7242$b6556660$027462d1@speed.thebestisp.com> From: "joe" To: Subject: Aliasing.. Date: Mon, 27 Apr 1998 20:12:28 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, I am wondering if anyone can tell me the "RIGHT" way to set up aliases on a nic what we have is a C that is for our internal machines and the top 128 IP's will be for vservers on 2 machines now what would be the correct config for the virtual servers ie alias all the ip's to fxp0(the nic card) or to lo0 and use routed? or something totall different? also I would like to leave the subnet 255.255.255.0 so the router doesn't have to deal with every packet between the internal machines and the two vserver hosts. any ideas?? Thanks. also something of interest I noticed on another server.. not quite sure how it works but some of the IP's on lo1 and lo2 seem to have virtual web servers on them and doing a traceroute leads me to this server so I assume that it is the actual machine answering the requests. any ideas on how this is set up? I have tried just adding lo1 and setting the IP and subnet and routing between lo1 and fxp0 but I can not figure out how to bind an address that is not configured on an interface although they seem to be doing it.. any ideas?? thanks again.. shell2: {1} ifconfig -a de0: flags=8843 mtu 1500 inet 206.184.139.133 netmask 0xffffff80 broadcast 206.184.139.255 ether 00:00:c0:37:41:c6 media: 100baseTX status: active lp0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 lo1: flags=8049 mtu 16384 inet 206.184.236.0 netmask 0xfffffc00 lo2: flags=8049 mtu 16384 inet 209.24.10.0 netmask 0xfffffe00 shell2: {1} netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default core1-fe8-1-0.mv.b UGSc 351 157927 de0 localhost localhost UH 16 8746133 lo0 206.184.139.128/25 link#1 UC 0 0 core1-fe8-1-0.mv.b 0:60:2f:9e:12:8 UHLW 351 0 de0 472 flea.best.net 0:0:c0:db:7c:e4 UHLW 3 138085 de0 472 206.184.139.255 ff:ff:ff:ff:ff:ff UHLWb 0 2 de0 206.184.236.0 206.184.236.0 UH 0 0 lo1 209.24.10.0 209.24.10.0 UH 0 0 lo2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message