Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 May 2000 20:23:54 +0000
From:      blaine minazzi <bminazzi@denverweb.net>
To:        freebsd-questions@freebsd.org
Subject:   correct ifconfig usage.
Message-ID:  <391873DA.4F5B70EE@denverweb.net>

next in thread | raw e-mail | index | archive | help
I am upgrading an older freebsd box to FreeBSD 4.0 stable.

we will call it foobar.foo.com, and we will set up the ed0 device,  
#ifconfig ed0 192.1668.1.1  netmask 255.255.255.0

default route is  192.168.1.254

When I do thusly, 

ifconfig ed0 alias 192.168.1.2 netmask 255.255.255.255
ifconfig ed0 alias 192.168.1.3 netmask 255.255.255.255
---- snip out the ssdd stuff ------
ifconfig ed0 alias 192.168.1.252 netmask 255.255.255.255

I get the following, at every OTHER invocation of ifconfig.

May 9 14:38:14  foobar routed[79] possible netmask problem between
ed0:192.168.2.xx and ed0:192.168.1.0/24  ( where xx = every other ip
number. )  this message is repeated 3 times.


and this message also;

May 9 14:38:14 foobar /kernel arp_rtrequest: bad gateway value
May 9 14:38:14 foobar last message repeated 17 times
May 9 14:39:38 foobar last message repeated 106 times

Now, ifconfig shows that the ip's are indead bound to the card, and, I
can ping SOME of them, but some give me this error.

/kernel: arplookup 192.168.1.143 failed: could not allocate llinfo
/kernel: arpresolve: can't allocate llinfo for 192.168.1.143rt

then some more of these...

/kernel: arp_rtrequest: bad gateway value
last message repeated 347 times
 


So... what am I doing wrong here?

Would someone please give me the correct magical spell to invoke?

I would appreciate knowing the proper way to bind many ip's ( a /24
actually ) to the card, so that when we place this in production, it
works correctly.

Many thanks in advance.

Blaine


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?391873DA.4F5B70EE>