From owner-freebsd-questions Tue May 9 14:17:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from denverweb.net (xenu.denverweb.net [199.45.153.14]) by hub.freebsd.org (Postfix) with ESMTP id 5FC0937BEC3 for ; Tue, 9 May 2000 14:17:49 -0700 (PDT) (envelope-from bminazzi@denverweb.net) Received: from denverweb.net (rc-pm3-4-19.enetis.net [206.31.207.178]) by denverweb.net (8.8.8/8.8.8) with ESMTP id PAA07701 for ; Tue, 9 May 2000 15:18:58 -0600 (MDT) Message-ID: <391873DA.4F5B70EE@denverweb.net> Date: Tue, 09 May 2000 20:23:54 +0000 From: blaine minazzi X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: correct ifconfig usage. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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