From owner-freebsd-questions Sat Feb 14 15:15:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA05483 for freebsd-questions-outgoing; Sat, 14 Feb 1998 15:15:22 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from uniqsite.com (uniqsite.com [206.14.149.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA05409 for ; Sat, 14 Feb 1998 15:15:04 -0800 (PST) (envelope-from root@uniqsite.com) Received: from localhost (root@localhost) by uniqsite.com (8.8.5/8.8.5) with SMTP id LAA17296; Sat, 14 Feb 1998 11:15:28 -0800 (PST) Date: Sat, 14 Feb 1998 11:15:28 -0800 (PST) From: SysAdmin To: Brian Somers cc: questions@FreeBSD.ORG Subject: Re: Dynamic gateway In-Reply-To: <199802141352.NAA03426@awfulhak.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 14 Feb 1998, Brian Somers wrote: > >From the man page: > > set ifaddr 192.244.177.38/24 192.244.177.2/20 > > A number followed by a slash (/) represent the number of bits significant > in the IP address. The above example signifies that: > > o I'd like to use 192.244.177.38 as my address if it is possible, but > I'll also accept any IP address between 192.244.177.0 and > 192.244.177.255. > > o I'd like to make him use 192.244.177.2 as his own address, but I'll > also permit him to use any IP address between 192.244.176.0 and > 192.244.191.255. > > o As you may have already noticed, 192.244.177.2 is equivalent to say- > ing 192.244.177.2/32. > > o As an exception, 0 is equivalent to 0.0.0.0/0, meaning that I have no > preferred IP address and will obey the remote peer's selection. When > using zero, no routing table entries will be made until a connection > is established. > > o 192.244.177.2/0 means that I'll accept/permit any IP address but I'll > try to insist that 192.244.177.2 be used first. > Thank you for the explanation. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message