Subject: Re: /kernel: arp: error message
To: None <netbsd-help@netbsd.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 12/08/2001 14:45:51
On Fri, Dec 07, 2001 at 11:49:54PM -0500, Peter Mancuso wrote:
> Okay....I am always getting this error message printing to screen from the 
> terminal:
> Dec  8 00:14:01 cr281793-b /kernel: arp: 192.168.1.2 is on ed0 but got reply 
> from 00:48:54:81:7b:ac on rl0
> 
> This box serves as a gateway for other machines on my network, and set is up 
> with the following relevant config lines:
> 
> /etc/rc.conf
> ifconfig_rl0="DHCP"
> ifconfig_ed0="inet 192.168.1.1  netmask 255.255.255.0"
> 
> /etc/ipnat.rules
> map rl0 192.168.1.1/24 -> 0.0.0.0/32 proxy port ftp ftp/tcp
> map rl0 192.168.1.1/24
> map rl0 192.168.1.1/24 -> 0.0.0.0/32
> 
> /etc/sysctl.conf
> net.inet.ip.forwarding=1
> 
> Does anyone have a clue to what is a probably obvious problem is making me 
> go insane!! :o)
> 
> oh and I also get a 'syntax error 2: map' somthing on the intial 
> boot.....(how can I 'more' the boot-up screen after kernel 
> messages(dmesg))!&!#$

Pete, 

I can't answer your real question, but I think 

> map rl0 192.168.1.1/24

may be causing 'syntax error 2: map'.  AFAIK, it's not a valid ipnat
rule.  

In case it helps, I interpret the arp message to mean "I asked for
the Ethernet address of 192.168.1.2.  I should have gotten a reply on
ed0 because that's the 192.168.1/24 network, but I also got a reply
from rl0!"  IOW, the kernel thinks there are two 192.168.1.2 attached
to your machine, possibly because of some interaction with ipnat.  

What means "printing to screen from the terminal"?  And, is
192.168.1.2 the address of the machine in question?  

HTH

--jkl