From owner-freebsd-questions Fri Jun 8 7:49:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from comp1.mastery.ca (comp1.mastery.ca [209.202.88.60]) by hub.freebsd.org (Postfix) with ESMTP id F198037B406 for ; Fri, 8 Jun 2001 07:49:11 -0700 (PDT) (envelope-from mail@max-info.net) Received: from 78kw954 ([209.202.88.150]) (authenticated) by comp1.mastery.ca (8.11.3/8.11.1) with ESMTP id f58EmwL12908; Fri, 8 Jun 2001 10:48:59 -0400 (EDT) (envelope-from mail@max-info.net) Message-ID: <018f01c0f02a$25f0bac0$3200a8c0@Intranet> From: "Ryan Masse" To: Cc: "FreeBSD-Questions" References: <10F29E27A956D511B0940050DA8D86A908F559@chat.dagupan.com> Subject: Re: Interface IP alias and FreeBSD 4.3-STABLE Date: Fri, 8 Jun 2001 10:48:57 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 all aliased ip addresses need to have a 255.255.255.255 or 0xffffffff netmask for it to be functional ie; ifconfig_xl0_alias0="inet 192.168.1.2 netmask 0xffffffff" Ryan > Hi, > > I'm trying to add another IP address to the NIC, xl0, by adding the line: > > ifconfig_xl0_alias0="inet 192.168.1.2 netmask 255.255.255.128" > > which completes it: > > ifconfig_xl0="inet 192.168.1.1 netmask 255.255.255.128" > ifconfig_xl0_alias0="inet 192.168.1.2 netmask 255.255.255.128" > > I can ping "192.168.1.1" but not "192.168.1.2" from the same host but I can > ping both IPs from another machine. Why is this so? > > 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