Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2000 00:40:40 -0400
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        <freebsd-questions@FreeBSD.ORG>, "Ronald F. Guilmette" <rfg@monkeys.com>
Subject:   Re: Help! Configuring for two IP addresses => one interface, and NATD
Message-ID:  <002a01c01e05$f05e8550$1200a8c0@zircon>
References:  <983.968903225@monkeys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Now comes the hard part... I need to find out *everything* that I am
supposed
> to do to let the system know that I have this second IP address attached
to
> the first ethernet card.  I have already added the following statement
into
> my /etc/rc.conf file (to make sure my new IP was ifconfig'd for the
primary
> ethernet card):
>
> ifconfig_xl0_alias0="inet 63.92.26.217 netmask 255.255.255.0"
>
> Then I rebooted.  After this, "ifconfig -a" showed both IP addreses (new
and
> old) properly associated with my primary ethernet card.  No problem.
Great.
>
> Then I tried just pinging the new IP address from the server/firewall
> machine itself and nothing happened.  It just sat there.  But I found that
> I *could* ping the new address from *other* machines elsewhere on the
> Internet.  Hummm.... This can't be right!

Change the netmask of the alias from 255.255.255.0 to 255.255.255.255.  I
know it doesn't seem right, but all the FreeBSD machines I've worked on
require aliases to have 255.255.255.255 as their netmask.

--
Matthew Emmerton
GSI Computer Services
+1 (800) 217-5409 (Canada)



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?002a01c01e05$f05e8550$1200a8c0>