Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 1997 10:48:41 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        brian@awfulhak.org (Brian Somers)
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: rtinit: wrong ifa
Message-ID:  <199705231748.KAA06394@bubba.whistle.com>
In-Reply-To: <199705230404.FAA02511@awfulhak.demon.co.uk> from Brian Somers at "May 23, 97 05:04:44 am"

next in thread | previous in thread | raw e-mail | index | archive | help

> > I have a fairly recent RELENG_2_2 kernel. Suppose I want to number
> > interfaces "lo1" and "ed0" like this:
> > 
> >   lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> > 	  inet 207.76.205.82 netmask 0xffffffff 
> >   ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> > 	  inet 207.76.205.82 netmask 0xffffff00 broadcast 207.76.205.255
> > 	  ether 00:60:61:01:03:ec 
> 
> You're much better off setting up an alias on lo0 instead of config'ing
> another lo.  You can do it with a GENERIC kernel (rc.conf even has an
> example of this) and it dodges the rtinit error that you're seeing.

  ...

> > 		    rtinit: wrong ifa (0xf083b700) was (0xf07e7580)
> 
> 'cos someone added it about a year ago to warn against conflicting
> interfaces.  If you use a lo0 alias, this message doesn't appear.

Hmm.. on my system, I get the rtinit() message even when doing this...
I.e.:

	$ ifconfig lo0 207.76.205.81 netmask 0xffffffff alias
	/kernel: rtinit: wrong ifa (0xf0847080) was (0xf0819700)

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



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