Subject: Re: /kernel: arp: error message
To: None <jklowden@schemamania.org>
From: Peter Mancuso <unishell@hotmail.com>
List: netbsd-help
Date: 12/08/2001 15:15:55
>map rl0 192.168.1.1/24
>
>may be causing 'syntax error 2: map'.  AFAIK, it's not a valid ipnat
>rule

yes I figured that...I think I remember removing that line  and the system 
hung on startup or was no longer functional as a gate way

>And, is 192.168.1.2 the address of the machine in question?

No my second nic has the address 192.168.1.1 netmask ffff00

192.168.1.2 is the address of a client machine using 192.168.1.1 as a gate 
way to the internet...  what would the valid syntax be in ipnat.rules to 
forward http + ftp + ssh, from computers on the subnet, to the first nic 
(rl0) thats wired to the internet...

>What means "printing to screen from the terminal"?

loginshell + any terminal, and if in X a window pops up with the same!

thanks,

peace
pete
out
#!




>From: "James K. Lowden" <jklowden@schemamania.org>
>Reply-To: jklowden@schemamania.org
>To: netbsd-help@netbsd.org
>Subject: Re: /kernel: arp: error message
>Date: Sat, 8 Dec 2001 14:45:51 -0500
>
>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
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp