Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Aseem Rastogi <aseem@india.tejasnetworks.com>
To: Henrik Nordstrom <hno@marasystems.com>
Cc: netfilter@lists.netfilter.org, /dev/rob0 <rob0@gmx.co.uk>
Subject: Re: Iptables and vlan interfaces
Date: Mon, 03 Oct 2005 12:18:11 +0530	[thread overview]
Message-ID: <4340D42B.2070106@india.tejasnetworks.com> (raw)
In-Reply-To: Pine.LNX.4.61.0509301706580.24680@filer.marasystems.com

i have been following this post rather keenly. it now seems to have died 
down. but still i am not able to understand what is a vlan interface. 
can somebody please give me some pointer where i can read about this. 
vlan i thought is a l2 concept and should have nothing to do with l3.

thanks in advance.

regards,
aseem.

Henrik Nordstrom wrote:

> On Fri, 30 Sep 2005, /dev/rob0 wrote:
>
>> Hmmm, I had always thought you couldn't use virtual interfaces.
>> # iptables -vI INPUT -i eth0:101
>
>
> The above is not a virtual interface like VLAN interfaces are, only a 
> labelled IP address on eth0.
>
>   /sbin/ip addr show
>
> will give you a quite good picture of these things.
>
> to make your life saner I recommend unlearning ifconfig and instead 
> learn to use the ip command from iproute. ifconfig only confuses things..
>
> This difference is also seen in netstat -i.
>
> Regards
> Henrik
>
>


-- 
The end is always good. If it's not good, it's not the end.





  reply	other threads:[~2005-10-03  6:36 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30 11:21 Iptables and vlan interfaces sebastian.ionita
2005-09-30 11:34 ` Sascha Reissner
2005-09-30 11:37   ` Marc Haber
2005-09-30 11:56   ` Marcin Giedz
2005-09-30 12:44 ` Henrik Nordstrom
2005-09-30 12:54   ` sebastian.ionita
2005-09-30 13:39     ` /dev/rob0
2005-09-30 13:41       ` Marc Haber
2005-09-30 13:55         ` /dev/rob0
2005-09-30 14:14           ` Marc Haber
2005-09-30 15:21       ` Henrik Nordstrom
2005-10-03  6:48         ` Aseem Rastogi [this message]
2005-10-03  7:44           ` Marc Haber
2005-10-03  8:55             ` Aseem Rastogi
2005-10-03  8:59               ` Marc Haber
2005-10-03  9:16           ` Henrik Nordstrom
2005-10-03  9:24             ` Marc Haber
2005-10-03 12:46               ` Henrik Nordstrom
2005-10-03  9:27             ` Aseem Rastogi
2005-10-03 10:05             ` Aseem Rastogi
2005-10-03 10:02               ` Marc Haber
2005-10-03 12:18               ` Henrik Nordstrom
  -- strict thread matches above, loose matches on Subject: below --
2005-09-30 12:04 Baake, Matthias
2005-09-30 12:53 Baake, Matthias

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=4340D42B.2070106@india.tejasnetworks.com \
    --to=aseem@india.tejasnetworks.com \
    --cc=hno@marasystems.com \
    --cc=netfilter@lists.netfilter.org \
    --cc=rob0@gmx.co.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox