From owner-freebsd-hackers Tue Oct 31 8:19:48 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from tuminfo2.informatik.tu-muenchen.de (tuminfo2.informatik.tu-muenchen.de [131.159.0.81]) by hub.freebsd.org (Postfix) with ESMTP id 070EF37B4D7 for ; Tue, 31 Oct 2000 08:19:45 -0800 (PST) Received: from atrbg11.informatik.tu-muenchen.de ([131.159.9.196] HELO atrbg11.informatik.tu-muenchen.de ident: postfix [port 2899]) by tuminfo2.informatik.tu-muenchen.de with SMTP id <112675-249>; Tue, 31 Oct 2000 17:19:34 +0000 Received: by atrbg11.informatik.tu-muenchen.de (Postfix, from userid 20455) id 3FABD13631; Tue, 31 Oct 2000 17:19:31 +0100 (CET) From: Daniel Lang To: freebsd-hackers@freebsd.org Subject: [dl@leo.org: virtual/alias ips and arp_rtrequest: bad gateway value] Message-ID: <20001031171931.H17986@atrbg11.informatik.tu-muenchen.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="KFztAG8eRSV9hGtP" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Geek: GCS d-- s: a- C++ UB++++$ P+++$ L- E W+++(--) N+ o K w--- O? M- V@ PS+(++) PE--(+) Y+ PGP+ t++ 5@ X R+(-) tv+ b+ DI++ D++ G++ e+++ h---(-) r++>+++ y Date: Tue, 31 Oct 2000 17:19:31 +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --KFztAG8eRSV9hGtP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hiho, maybe somebody ob hackers has a clue to this problem... :-/ Thanks in advance, Daniel -- IRCnet: Mr-Spock - ceterum censeo Microsoftinem esse delendam - *Daniel Lang * dl@leo.org * +49 89 289 25735 * http://www.leo.org/~dl/* --KFztAG8eRSV9hGtP Content-Type: message/rfc822 Content-Disposition: inline Date: Thu, 19 Oct 2000 11:00:43 +0200 From: Daniel Lang To: freebsd-net@freebsd.org Subject: virtual/alias ips and arp_rtrequest: bad gateway value Message-ID: <20001019110043.A50474@atrbg11.informatik.tu-muenchen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Geek: GCS d-- s: a- C++ UB++++$ P+++$ L- E W+++(--) N+ o K w--- O? M- V@ PS+(++) PE--(+) Y+ PGP+ t++ 5@ X R+(-) tv+ b+ DI++ D++ G++ e+++ h---(-) r++>+++ y Dear Folks, I have some boxes, that use many virtual IPs. ifconfig(8) tells, one has to use a netmask of 0xffffffff for the aliases, if they are on the same network (they are). I run FreeBSD 4.1-STABLE (some 4.1.1-STABLE) Assigning the alias addresses to the interface does work, although I get a warning about a possible netmask problem. The other thing is, that console and syslog is getting overwhelmed with [..] /kernel: arp_rtrequest: bad gateway value [..] I'm not sure, if there's a connection, but I suspect so, since it doesn't occur on other boxes, without alias ips, and I searched through the freebsd mailing lists, where this error has been reported previously, but no solution was posted. However, I run routed on the concerned machines, so maybe this one introduces routes, that may be wrong ? The local network is 131.159.0.0/16. Here is an excerpt from the routing tables: Destination Gateway Flags Refs Use Netif Expire default 131.159.0.254 UGSc 7 567 xl0 127.0.0.1 127.0.0.1 UH 1 36 lo0 131.159 link#1 UC 0 0 xl0 => 131.159.0.16 0:c0:7b:53:ec:2e UHLW 0 0 xl0 1111 131.159.0.76 8:0:20:85:f3:10 UHLW 0 630 xl0 1101 [ many similar routes ] 131.159.72.5/32 link#1 UC 0 0 xl0 => 131.159.72.10/32 link#1 UC 0 0 xl0 => 131.159.72.16 131.159.72.16 UHLW 0 1303 lo0 => 131.159.72.16/32 link#1 UC 0 0 xl0 => 131.159.72.17/32 link#1 UC 0 0 xl0 => 131.159.72.18 131.159.72.18 UHLW 0 514 lo0 => 131.159.72.18/32 link#1 UC 0 0 xl0 => 131.159.72.24/32 link#1 UC 0 0 xl0 => 131.159.72.25 131.159.72.25 UHLW 0 20 lo0 => 131.159.72.25/32 link#1 UC 0 0 xl0 => 131.159.72.29/32 link#1 UC 0 0 xl0 => [ these are alias ips ] 172.16.0.58 131.159.1.92 UGH 0 0 xl0 172.16.4.131 131.159.1.92 UGH 0 0 xl0 The last two must be introduced by routed, since I don't statically route the 172.16 net (which is modem pool using these private ips). Any suggestions ? Best regards, Daniel -- IRCnet: Mr-Spock - My name is Pentium of Borg, division is futile, you will be approximated. - *Daniel Lang * dl@leo.org * +49 89 289 25735 * http://www.leo.org/~dl/* --KFztAG8eRSV9hGtP-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message