[ previous ] [ next ] [ threads ]
 From:  Adam Armstrong <lists at memetic dot org>
 To:  Lynn Grant <lgrant at adamscon dot com>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] M0n0wall with two LANs...
 Date:  Wed, 02 Apr 2008 19:44:19 +0100
Lynn Grant wrote:
> Greetings...
> I am having trouble with a new m0n0wall installation.  I suspect that
> the problem is a hole in my understanding of things, and I am hoping
> that some of you can enlighten me.
> We have a m0n0wall with the WAN going to the Internet with a fixed IP
> address, and a couple of computers on the LAN, using regular NAT
> (  So far, everything is wonderful, even the VPNs we
> have going to two other offices. 
> There is another LAN in the office ( for the VOIP phones.
> In order to solve some cabling problems (i.e., not enough cables running
> where we need them) we wanted to put a couple of the VOIP phones on our
> LAN.  The phones get their IP addresses via DHCP, and
> then they talk to a TFTP server for initialization information.  They
> *know* what TFTP server they want to talk to--they do not get that
> information from DHCP like diskless workstations do.
> So we hooked the OPT connection up to the phone LAN ( and
> gave the interface an available IP address on that LAN (
> The phones get assigned IP addresses OK from the m0n0's DHCP server, but
> they cannot get to the LAN to talk to their TFTP server.
> In the log, I see a bunch of messages like this: 
> kernel: arpresolve: can't allocate route for
> kernal: arplookup failed: host is not on local network
> I have allow-everything rules on both the LAN and OPT interfaces, but
> that doesn't seem to matter, because it is not getting as far as the
> rules. 
> So it doesn't know how to find the LAN from the
> LAN.  I thought a static route would do the job, so I
> added one with a range of, a gateway of, and
> an interface of OPT.  That didn't help.  (In retrospect, that was
> probably predictable, since it is the gateway itself that it cannot
> find.)
> Am I missing something in my configuration?  Or is this setup really too
> much like a multi-WAN setup, and beyond the scope of m0n0wall?
> Thanks for your help!
> Lynn Grant
Have you created correct firewall rules to allow traffic unNATed between 
the two LANs?

You'll need to disable advanced outbound NAT and create the rules there, 
and the firewall rules. Can a host plugged into the voice LAN ping the