Linux 2.2.12, firewall rules (masquerading) and netmask changes

Deimert, Daniel (Daniel.Deimert@Intermec.com)
Tue, 19 Oct 1999 18:45:18 +0200


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01BF1A51.545CE380
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Linux 2.2.12 seems to be confused when you have masquerading enabled =
and
change the netmask on one of the interfaces.

I had netmask 255.255.255.0 on the eth0,
masquerading was enabled and working from 192.168/16 on eth0 to eth1

Then I reconfigured eth0 to netmask 255.255.254.0, and suddenly =
masquerading
no longer worked. No new connections were possible.

This behaviour was unexpected and I couldn't find it documented =
anywhere.

> ---
> Daniel Deimert (daniel.deimert@intermec.com)
> Network Engineer @ Intermec Printers AB, M=F6lndal, Sweden
>=20
>=20
>=20
>=20
>=20

------_=_NextPart_001_01BF1A51.545CE380
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
Linux 2.2.12, firewall rules (masquerading) and netmask = changes

Linux 2.2.12 seems to be confused when = you have masquerading enabled and change the netmask on one of the = interfaces.

I had netmask 255.255.255.0 on the = eth0,
masquerading was enabled and working = from 192.168/16 on eth0 to eth1

Then I reconfigured eth0 to netmask = 255.255.254.0, and suddenly masquerading no longer worked. No new = connections were possible.

This behaviour was unexpected and I = couldn't find it documented anywhere.

---
Daniel Deimert = (daniel.deimert@intermec.com)
Network = Engineer @ Intermec Printers AB, M=F6lndal, Sweden





------_=_NextPart_001_01BF1A51.545CE380--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/