Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2001 10:48:57 -0400
From:      "Ryan Masse" <mail@max-info.net>
To:        <francisv@dagupan.com>
Cc:        "FreeBSD-Questions" <freebsd-questions@freebsd.org>
Subject:   Re: Interface IP alias and FreeBSD 4.3-STABLE
Message-ID:  <018f01c0f02a$25f0bac0$3200a8c0@Intranet>
References:  <10F29E27A956D511B0940050DA8D86A908F559@chat.dagupan.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018f01c0f02a$25f0bac0$3200a8c0>