From owner-freebsd-questions Wed Sep 13 21:40:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.42.130.87]) by hub.freebsd.org (Postfix) with ESMTP id CCE9237B422 for ; Wed, 13 Sep 2000 21:40:50 -0700 (PDT) Received: from zircon (matt.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.10.1/8.9.2) with SMTP id e8E4enG15146; Thu, 14 Sep 2000 00:40:50 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <002a01c01e05$f05e8550$1200a8c0@zircon> From: "Matthew Emmerton" To: , "Ronald F. Guilmette" References: <983.968903225@monkeys.com> Subject: Re: Help! Configuring for two IP addresses => one interface, and NATD Date: Thu, 14 Sep 2000 00:40:40 -0400 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 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Now comes the hard part... I need to find out *everything* that I am supposed > to do to let the system know that I have this second IP address attached to > the first ethernet card. I have already added the following statement into > my /etc/rc.conf file (to make sure my new IP was ifconfig'd for the primary > ethernet card): > > ifconfig_xl0_alias0="inet 63.92.26.217 netmask 255.255.255.0" > > Then I rebooted. After this, "ifconfig -a" showed both IP addreses (new and > old) properly associated with my primary ethernet card. No problem. Great. > > Then I tried just pinging the new IP address from the server/firewall > machine itself and nothing happened. It just sat there. But I found that > I *could* ping the new address from *other* machines elsewhere on the > Internet. Hummm.... This can't be right! Change the netmask of the alias from 255.255.255.0 to 255.255.255.255. I know it doesn't seem right, but all the FreeBSD machines I've worked on require aliases to have 255.255.255.255 as their netmask. -- Matthew Emmerton GSI Computer Services +1 (800) 217-5409 (Canada) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message