Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 1996 21:53:38 -0400
From:      "Gary Palmer" <gpalmer@freebsd.org>
To:        satan@yoss.canweb.net
Cc:        questions@freebsd.org
Subject:   Re: ip aliasing does not work 
Message-ID:  <24774.841542818@orion.webspan.net>
In-Reply-To: Your message of "Sat, 31 Aug 1996 16:40:46 EDT." <199608312040.QAA20674@yoss.canweb.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
satan@yoss.canweb.net wrote in message ID
<199608312040.QAA20674@yoss.canweb.net>:
> Ip aliasing does not seem to work when the primary ip is on a different
> subnet than the aliased ips.  Here is what I have.  The ed0 interface is
> configured for 152.160.182.16, netmask 255.255.255.0.
> 
> I want to add ip aliases like 152.160.5.2.  I do
> 
> ifconfig ed0 inet 152.160.5.2 alias
> route add 152.160.5.2 localhost

Try specifying the netmask to the ifconfig command, and lose the route
command.

If you say that the route added by ifconfig is wrong, perhaps you
could tell us what is wrong about it?

Gary
--
Gary Palmer                                          FreeBSD Core Team Member
FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24774.841542818>