All of lore.kernel.org
 help / color / mirror / Atom feed
From: Friedrich Lobenstock <fl@fl.priv.at>
To: netfilter-devel@lists.netfilter.org
Subject: Re: Problem of NAT with VLAN
Date: Wed, 09 Apr 2003 18:19:40 +0200	[thread overview]
Message-ID: <3E94481C.4040701@fl.priv.at> (raw)
In-Reply-To: <8C19E3FBB6467846AFF97E366D34CB600189A4A3@lanmhs20.rd.francetelecom.fr>

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

  reply	other threads:[~2003-04-09 16:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-09  9:44 Problem of NAT with VLAN zze-Proxy_Corveller ball001 exterieur FTRD
2003-04-09 16:19 ` Friedrich Lobenstock [this message]
  -- 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E94481C.4040701@fl.priv.at \
    --to=fl@fl.priv.at \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.