Re: ethertap/dummy (for mol) in 2.4.x ?


Subject: Re: ethertap/dummy (for mol) in 2.4.x ?
From: R Shapiro (reshapiro@mediaone.net)
Date: Thu Feb 08 2001 - 05:31:53 MST


=?iso-8859-15?Q?Philippe_Lel=E9dy?= writes:
> > 3. I added a masquerade rule in iptables
> >
> > iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.0/24 -j MASQUERADE
> >
>
> I'd try
>
> iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j MASQUERADE
> as eth0 is not used but dummy0.

The default route is on eth0, so after routing that's the device it
should be using, no? Assuming the destination isn't on the lan.
Anyway, I already tried giving the device as dummy0, it didn't help.

Something more basic is going wrong here, since the traffic never
seems to be routed to eth0 at all. The only clue I have are these
lines in /var/log/messages from netfilter:

IP-filter: 192.168.01.02
IP-filter: 00.00.00.00
IP-filter: 192.168.01.02

I don't know what this is trying to tell me, except that it's not a
dropped packets (I use a specific LOG message for those).

-- 
reshapiro@mediaone.net



This archive was generated by hypermail 2a24 : Thu Feb 08 2001 - 05:37:44 MST