Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 1999 12:00:31 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Jim Pazarena <paz@ccstores.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ifconfig alias not working 
Message-ID:  <199907251100.MAA71152@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Sun, 25 Jul 1999 00:45:02 PDT." <9907250045.aa09673@dick.ccstores.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> FreeBSD  3.2-RELEASE (Generic) #0.  I'm using an SMC9432TX  10/100 card.
> 
> in rc.conf I've got:
> 
> network_interfaces="tx0 lo0"
> ifconfig_tx0="inet 209.53.238.11 netmask 255.255.255.0 media autoselect"
> ifconfig_tx0_alias0="inet 209.53.238.30 netmask 255.255.255.0"
> ifconfig_tx0_alias1="inet 209.53.238.31 netmask 255.255.255.0"
> 
> while the .11 address works fine, the .30 &.31 addresses do not.
> (I've tried several available IP's, 29, 30, 31, 32).
[.....]
> any ideas what may be wrong?

Your netmasks conflict.  Use 255.255.255.255 for the alias addresses 
if they're on a network that already has a route to it.

> --
> Jim Pazarena     mailto:paz@ccstores.com 
>                  http://www.qcislands.net/paz

-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




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?199907251100.MAA71152>