Fixed
The quotes solved the problem.
Thanks for the fast and as always accurate response.

Regards

P�r J





PXr Johansson wrote:
Hi
I'm running Dachstein CD 1.0.1 on a 166 pentium with 32 MB RAM and
it's been working great.
I have some VPN tunnels using IpSec and TinyDNS running.
But now I want to add three more internal networks. I added the
cards and the modules, no problem, Eth3 reports transceiver problem
but I guess that is because it's not hooked up to any network.
Then I added this to network.conf:

eth2_IPADDR=192.168.20.254 eth2_MASKLEN=24 eth2_BROADCAST=+ eth2_ROUTES= eth2_IP_SPOOF=YES eth2_IP_KRNL_LOGMARTIANS=YES eth2_IP_SHARED_MEDIA=NO eth2_BRIDGE=NO eth2_PROXY_ARP=NO eth2_FAIRQ=NO

eth3_IPADDR=192.168.30.254 eth3_MASKLEN=24 eth3_BROADCAST=+ eth3_ROUTES= eth3_IP_SPOOF=YES eth3_IP_KRNL_LOGMARTIANS=YES eth3_IP_SHARED_MEDIA=NO eth3_BRIDGE=NO eth3_PROXY_ARP=NO eth3_FAIRQ=NO

eth4_IPADDR=192.168.40.254 eth4_MASKLEN=24 eth4_BROADCAST=+ eth4_ROUTES= eth4_IP_SPOOF=YES eth4_IP_KRNL_LOGMARTIANS=YES eth4_IP_SHARED_MEDIA=NO
eth4_BRIDGE=NO
eth4_PROXY_ARP=NO
eth4_FAIRQ=NO


And:

INTERN_IF="eth1"                # Internal
Interface
INTERN_NET=192.168.1.0/24 192.168.20.0/24 192.168.30.0/24
192.168.40.0/24
INTERN_IP=192.168.1.254         # IP number of Internal
Interface

ButAfter rebooting I cant't access the external net (Internet) from
my first local net on eth1 (192.168.1.0/24).
I can ping 213.199.64.62 wich is my external address but not the GW
213.199.64.1.
From the firewall I can ping both the GW and the internal net so
the problem must be that no traffic from the internal net get past
the firewall.
What have I done wrong? Please help.

<snip>


Your problem is no masquerade rules are being created for your
internal networks (including the first local network on eth1).

If the above is actually what you put in /etc/network.conf, the
first big problem is your lack of quoting for the INTERN_NET
assignment, which should be (all on one line):

INTERN_NET="192.168.1.0/24 192.168.20.0/24 192.168.30.0/24 192.168.40.0/24"

I'm not sure why at least the first network isn't working, but try
with the quotes and see what happens.

NOTE:  You might also try using the "current" version of Dachstein,
which is 1.0.2.  The changelog doesn't indicate any bug fixes
related to multiple internal networks, but IIRC, I did have to fix
some sort of problem related to that around the time of Dachstein.

--
Charles Steinkuehler
[EMAIL PROTECTED]





Med v�nlig h�lsning



P�r Johansson


_____________________________________________________________________________
 Tervento Industri AB           Tel. 0914-10500         Mobil 070-6060501
 Svarvargatan 6                 Fax. 0914-10508         E-post [EMAIL PROTECTED]
 937 32 BURTR�SK                Dir. 0914-10501
_____________________________________________________________________________
--



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to