From owner-freebsd-questions Mon Jun 10 13:55:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ws4-3.us4.outblaze.com (205-158-62-52.outblaze.com [205.158.62.52]) by hub.freebsd.org (Postfix) with SMTP id 2E2E037B409 for ; Mon, 10 Jun 2002 13:55:11 -0700 (PDT) Received: (qmail 29608 invoked by uid 1001); 10 Jun 2002 20:55:11 -0000 Message-ID: <20020610205511.29606.qmail@operamail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [207.105.193.195] by ws4-3.us4.outblaze.com with http for click46@operamail.com; Tue, 11 Jun 2002 04:55:10 +0800 From: "aaron g" To: fbsd-q@bzerk.org Cc: freebsd-questions@freebsd.org Date: Tue, 11 Jun 2002 04:55:10 +0800 Subject: Re: Jail single ip network (FreeBSD 4.5) X-Originating-Ip: 207.105.193.195 X-Originating-Server: ws4-3.us4.outblaze.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >> I then created the network alias, here is the output from ifconfig: >> >> xl0: flags=8843 mtu 1500 >> options=3 >> inet 142.39.88.238 netmask 0xffffff00 broadcast 142.39.88.255 >> inet6 fe80::2c0:4fff:fea0:86fa%xl0 prefixlen 64 scopeid 0x1 >> inet 192.168.200.13 netmask 0xffffffff broadcast 192.168.200.13 > ^^^^^^^^ > Normally you would use such a netmask if your alias IP address is > in the same subnet as your primary IP address. Since they are in > unrelated networks you probably want to use a netmask of 255.255.255.0 here. > Ruben actually, since this is an alias, you must set the netmask to 255.255.255.255. As of 4.6 [or perhaps 4.5? I cannot remember] you are forced to use this netmask or the alias will not work. - aarong -- _______________________________________________ Download the free Opera browser at http://www.opera.com/ Powered by Outblaze To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message