Skip site navigation (1)Skip section navigation (2)
From:      Daniel Lang <dl@leo.org>
To:        freebsd-net@freebsd.org
Subject:   virtual/alias ips and arp_rtrequest: bad gateway value
Message-ID:  <20001019110043.A50474@atrbg11.informatik.tu-muenchen.de>

next in thread | raw e-mail | index | archive | help
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/*


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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