From owner-freebsd-questions Mon Jun 10 13:51:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tunnel.cae.ca (gate2.cae.com [142.39.200.151]) by hub.freebsd.org (Postfix) with ESMTP id A1DFB37B401 for ; Mon, 10 Jun 2002 13:51:15 -0700 (PDT) Received: from dns1.cae.ca (dns1.cae.ca [142.39.20.1]) Received: from caemsx04.cae.ca (caemsx04.cae.ca [142.39.20.178]) Mon, 10 Jun 2002 15:58:15 -0400 (EDT) Received: by caemsx04.cae.ca with Internet Mail Service (5.5.2655.55) Message-ID: <8A6A2A139700D5118EB6009027B0FF3A0B7FDFD2@caemsx02.cae.ca> From: Andrea Bacchet To: "'Ruben de Groot'" Cc: "'freebsd-questions@FreeBSD.ORG'" Subject: RE: Jail single ip network (FreeBSD 4.5) Date: Mon, 10 Jun 2002 15:58:00 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain; charset="iso-8859-1" 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 Greetings Ruben, I had changed that netmask earlier today, after having read through the IP Aliasing tutorial. In which it mentions: "Route is used to manually make changes to the kernel routing table... if you set your netmask to 255.255.255.255, you can skip this step" So I tried it, and it didn't change anything in the behavior of my problem. But I now understand what they meant in the tutorial, both their addresses (host and jail) were in the same subnet, just as you indicated in your message! However, my problem is still a mystery! thanks for the info! __ Andy -----Original Message----- From: Ruben de Groot [mailto:fbsd-q@bzerk.org] Sent: Monday, June 10, 2002 3:45 PM To: Andrea Bacchet Cc: 'freebsd-questions@FreeBSD.ORG'; 'grimm@planetquake.com' Subject: Re: Jail single ip network (FreeBSD 4.5) On Mon, Jun 10, 2002 at 01:08:27PM -0400, Andrea Bacchet typed: > Greetings, > Hi, I dont't know if this is related to your problem, but > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message