Messages in this thread | | | From | "Deimert, Daniel" <> | Subject | Linux 2.2.12, firewall rules (masquerading) and netmask changes | Date | Tue, 19 Oct 1999 18:45:18 +0200 |
| |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0"> <TITLE>Linux 2.2.12, firewall rules (masquerading) and netmask changes</TITLE> </HEAD> <BODY>
<P><FONT SIZE=2 FACE="Arial">Linux 2.2.12 seems to be confused when you have masquerading enabled and change the netmask on one of the interfaces.</FONT> </P>
<P><FONT SIZE=2 FACE="Arial">I had netmask 255.255.255.0 on the eth0,</FONT> <BR><FONT SIZE=2 FACE="Arial">masquerading was enabled and working from 192.168/16 on eth0 to eth1</FONT> </P>
<P><FONT SIZE=2 FACE="Arial">Then I reconfigured eth0 to netmask 255.255.254.0, and suddenly masquerading no longer worked. No new connections were possible.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">This behaviour was unexpected and I couldn't find it documented anywhere.</FONT> </P>
<P><B><FONT COLOR="#808080" SIZE=2 FACE="Arial">---</FONT></B> <BR><B><FONT COLOR="#808080" SIZE=2 FACE="Arial">Daniel Deimert (daniel.deimert@intermec.com)</FONT></B> <BR><B><FONT COLOR="#808080" SIZE=1 FACE="Arial Narrow">Network Engineer @</FONT> <FONT COLOR="#FF0000" SIZE=1 FACE="Arial Narrow">I</FONT><FONT COLOR="#808080" SIZE=1 FACE="Arial Narrow">ntermec Printers AB, Mölndal, Sweden</FONT></B> </P> <BR> <BR> <BR> <BR>
</BODY> </HTML> | |