From owner-freebsd-questions Tue Sep 18 8:10:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tarakan-network.com (chojin.adsl.nerim.net [62.4.22.98]) by hub.freebsd.org (Postfix) with ESMTP id 4EAF637B40E for ; Tue, 18 Sep 2001 08:10:34 -0700 (PDT) Received: from chojin (chojin.lan.tarakan-network.com [192.168.69.2] (may be forged)) by tarakan-network.com (8.11.6/8.11.3) with SMTP id f8IFAXt85751 for ; Tue, 18 Sep 2001 17:10:33 +0200 (CEST) (envelope-from freebsd@tarakan-network.com) Message-ID: <004b01c14054$131d4380$0245a8c0@chojin> From: "Chojin" Cc: References: <20010918150635.54510.qmail@web20509.mail.yahoo.com> Subject: Re: Adding IP Addresses to a FreeBSD box Date: Tue, 18 Sep 2001 17:09:12 +0200 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 6.00.2526.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2526.0000 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 Can someone explain me (or any url), why there are lots of netmask possible ? 255.255.255.192, 255.255.255.248.... Thx Chojin ----- Original Message ----- From: "Brent N. Hunter" To: "Matt Finlay" ; "Brent" Cc: ; Sent: Tuesday, September 18, 2001 5:06 PM Subject: Re: Adding IP Addresses to a FreeBSD box > I did this already, reset the machine and the new IP > address still does not respond to pings. > > I noticed, however, that I have a different netmask > setting. Instead of 255.255.255.0 , what's in there > for all my other IP addresses (that my Unix admin set > up while he was still around!) is 255.255.255.192. Is > this correct? The IP address range is also different; > my ISP gave me a new range of IP addresses. > > Are there any other file or files or settings that > need to be changed in addition to the /etc/rc.conf > file? > > Thank you for all of your help! > > Brent > > > > --- Matt Finlay wrote: > > if you are trying to get one interface to handle > > multiple ip addresses > > than you need to configure each additional ip > > address as an alias. > > > > you can do this by the command line or in > > /etc/rc.conf: > > by the command line: > > ifconfig ed1 10.0.1.150 netmask 255.255.255.0 > > alias > > in /etc/rc.conf: > > if this is your first interface... > > ifconfig_ed1="inet 192.168.0.5 netmask > > 255.255.255.0" > > this is how you can create an alias. > > ifconfig_ed1_alias0="inet 192.168.0.6 netmask > > 255.255.255.0" > > > > if you do a 'man rc.conf' you can get more > > information > > > > Brent wrote: > > > > > go to /etc/rc.conf you can change the IP > > there by doing something > > > > > > ifconfig_ed1="inet 192.168.0.5 netmask > > 255.255.255.0" > > > > > > ed1 is what your ethernet device name is. > > > > > > B > > > > > > ----- Original Message ----- > > > From: "Brent N. Hunter" > > > To: > > > Sent: Tuesday, September 18, 2001 10:39 AM > > > Subject: Adding IP Addresses to a FreeBSD box > > > > > > > Do you know what file or files need to be > > changed to > > > > get a new IP address onto a FreeBSD box? (to > > host web > > > > pages on multiple domains) > > > > > > > > Thank you! > > > > > > > > Brent > > > > > > > > > > > > ===== > > > > Brent N. Hunter, President > > > > Spirit Rising Productions > > > > http://www.spiritrising.tv > > > > Email: Brent@SpiritRising.TV > > > > Personal Web: http://www.the-park.com/brent.htm > > > > Office: 415-701-7779, FAX: 415-626-9989 > > > > > > > > > > > > > > __________________________________________________ > > > > Terrorist Attacks on U.S. - How can you help? > > > > Donate cash, emergency relief information > > > > > > > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > > > > > > > > To Unsubscribe: send mail to > > majordomo@FreeBSD.org > > > > with "unsubscribe freebsd-questions" in the body > > of the message > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body > > of the message > > > > > ===== > Brent N. Hunter, President > Spirit Rising Productions > http://www.spiritrising.tv > Email: Brent@SpiritRising.TV > Personal Web: http://www.the-park.com/brent.htm > Office: 415-701-7779, FAX: 415-626-9989 > > > __________________________________________________ > Terrorist Attacks on U.S. - How can you help? > Donate cash, emergency relief information > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message