From owner-freebsd-questions Sat May 13 22:46:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 6CCE837BC42 for ; Sat, 13 May 2000 22:46:50 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id WAA28757; Sat, 13 May 2000 22:46:48 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <391E3DC8.6947DBCD@gorean.org> Date: Sat, 13 May 2000 22:46:48 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0508 i386) X-Accept-Language: en MIME-Version: 1.0 To: Khairuddin Abdul Ghani Cc: freebsd-questions@freebsd.org Subject: Re: assigning two C IP blocks to one machine References: <024901bfbd1a$0bc12570$6f1f7d80@phoenix> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Khairuddin Abdul Ghani wrote: > > Hello. I currently have two blocks of IPs to be used on a single machine, > but I can't seem to get the new block working. > > I have old IPs a.a.a.2 assigned and a.a.a.3-a.a.a.254 aliased with a.a.a.1 > as "defaultrouter" and broadcast IP of a.a.a.255. > > I added aliases for the new block b.b.b.2-b.b.b.254, but they don't work. This is far from my area of expertise, but my understanding is that for new network blocks you need to add the first address as a regular address (b.b.b.2 netmask 255.255.255.0) without the alias. Then add the remaining addresses in that block as aliases to it (b.b.b.3 netmask 255.255.255.255 alias). The definition of "new network block" will be dependent on how the first block is defined. > Am I missing something, some setting in rc.conf perhaps? Thanks, as this is > my first post, I hope it's technical enough to be here. Not to worry. This list is for all questions related to FreeBSD. The only time you will run into problems is if you ask a question that is covered by the handbook or in the mail archives. Get in the habit of checking them first. Good luck, Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message