* Problem of NAT with VLAN
@ 2003-04-09 9:44 zze-Proxy_Corveller ball001 exterieur FTRD
2003-04-09 16:19 ` Friedrich Lobenstock
0 siblings, 1 reply; 4+ messages in thread
From: zze-Proxy_Corveller ball001 exterieur FTRD @ 2003-04-09 9:44 UTC (permalink / raw)
To: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 626 bytes --]
Hello,
I've got n VLANs that arrive on a Linux machine. I'm using vconfig to
receive packets from those VLANs.
I want to perform DNAT on packets between my physical interface (eth2) and the virtuals devices
created by vconfig (vlan00xx, where xx is the VLAN ID of the associated VLAN).
I've place some rules at the PREROUTING chain in the nat table to perform the address
translation.
My problem is that netfilter seems don't see packets between eth2 and vlan00xx.
I've tried some rules such as '-A PREROUTING -i eth2' or '-A PREROUTING -i vlan0010' but
the packet counters stay equal to 0.
Any idea ?
[-- Attachment #2: Type: text/html, Size: 1723 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem of NAT with VLAN
2003-04-09 9:44 Problem of NAT with VLAN zze-Proxy_Corveller ball001 exterieur FTRD
@ 2003-04-09 16:19 ` Friedrich Lobenstock
0 siblings, 0 replies; 4+ messages in thread
From: Friedrich Lobenstock @ 2003-04-09 16:19 UTC (permalink / raw)
To: netfilter-devel
zze-Proxy_Corveller ball001 exterieur FTRD wrote:
>
> I've got n VLANs that arrive on a Linux machine. I'm using vconfig to
> receive packets from those VLANs.
>
> I want to perform DNAT on packets between my physical interface (eth2)
> and the virtuals devices
> created by vconfig (vlan00xx, where xx is the VLAN ID of the associated
> VLAN).
> I've place some rules at the PREROUTING chain in the nat table to
> perform the address
> translation.
>
> My problem is that netfilter seems don't see packets between eth2 and
> vlan00xx.
>
> I've tried some rules such as '-A PREROUTING -i eth2' or '-A PREROUTING
> -i vlan0010' but
> the packet counters stay equal to 0.
>
> Any idea ?
>
Just curious, did you run:
vconfig set_name_type VLAN_PLUS_VID
vconfig add eth2 10
--
MfG / Regards
Friedrich Lobenstock
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Problem of NAT with VLAN
@ 2003-04-10 8:58 zze-Proxy_Corveller ball001 exterieur FTRD
0 siblings, 0 replies; 4+ messages in thread
From: zze-Proxy_Corveller ball001 exterieur FTRD @ 2003-04-10 8:58 UTC (permalink / raw)
To: netfilter
Yes, indeed it's my commands
> -----Message d'origine-----
> De : Friedrich Lobenstock [mailto:fl@fl.priv.at]
> Envoye : mercredi 9 avril 2003 18:20
> A : netfilter-devel@lists.netfilter.org
> Objet : Re: Problem of NAT with VLAN
>
>
> zze-Proxy_Corveller ball001 exterieur FTRD wrote:
> >
> > I've got n VLANs that arrive on a Linux machine. I'm using
> vconfig to
> > receive packets from those VLANs.
> >
> > I want to perform DNAT on packets between my physical
> interface (eth2)
> > and the virtuals devices
> > created by vconfig (vlan00xx, where xx is the VLAN ID of
> the associated
> > VLAN).
> > I've place some rules at the PREROUTING chain in the nat table to
> > perform the address
> > translation.
> >
> > My problem is that netfilter seems don't see packets
> between eth2 and
> > vlan00xx.
> >
> > I've tried some rules such as '-A PREROUTING -i eth2' or
> '-A PREROUTING
> > -i vlan0010' but
> > the packet counters stay equal to 0.
> >
> > Any idea ?
> >
>
> Just curious, did you run:
> vconfig set_name_type VLAN_PLUS_VID
> vconfig add eth2 10
>
> --
> MfG / Regards
> Friedrich Lobenstock
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Problem of NAT with VLAN
@ 2003-04-09 9:16 zze-Proxy_Corveller ball001 exterieur FTRD
0 siblings, 0 replies; 4+ messages in thread
From: zze-Proxy_Corveller ball001 exterieur FTRD @ 2003-04-09 9:16 UTC (permalink / raw)
To: netfilter
Hello,
I've got n VLANs that arrive on a Linux machine. I'm using vconfig to
receive packets from those VLANs.
I want to perform DNAT on packets between my physical interface (eth2)
and the virtuals devices
created by vconfig (vlan00xx, where xx is the VLAN ID of the associated
VLAN).
I've place some rules at the PREROUTING chain in the nat table to
perform the address
translation.
My problem is that netfilter seems don't see packets between eth2 and
vlan00xx.
I've tried some rules such as '-A PREROUTING -i eth2' or '-A PREROUTING
-i vlan0010' but
the packet counters stay equal to 0.
Any idea ?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-04-10 8:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-09 9:44 Problem of NAT with VLAN zze-Proxy_Corveller ball001 exterieur FTRD
2003-04-09 16:19 ` Friedrich Lobenstock
-- strict thread matches above, loose matches on Subject: below --
2003-04-10 8:58 zze-Proxy_Corveller ball001 exterieur FTRD
2003-04-09 9:16 zze-Proxy_Corveller ball001 exterieur FTRD
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.