All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandru Dragoi <alex@zoomnet.ro>
To: Elvir Kuric <omasnjak@yahoo.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: How make virtual interfaces ( subinterfaces ) on linux machine
Date: Thu, 07 Dec 2006 13:41:44 +0200	[thread overview]
Message-ID: <4577FDF8.80401@zoomnet.ro> (raw)
In-Reply-To: <428559.74702.qm@web56206.mail.re3.yahoo.com>

Elvir Kuric wrote:
> Hi all, 
>
> I want to know is there some manual or even better
> book how to make virtual interfaces  ( subinterfaces )
> on linux machine and attach VLANs which are
> implemented on switch to these virtaul interfaces.
>
> I just need suggestions for some good reading.
>
> Thank you in advance and regards
>
>
>  
> ____________________________________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com
>
>   
You ned to make sure you have 8021q module loaded

# modprobe 8021q

Then use vconfig to attach 802.1q tags to ethernet frames

# vconfig add ethx 20

(x is a index of ethernet interface card)

This will create the interface ethx.20 (the naming can be change with 
set_name_type option of vconfig, check the manual) wich is similar to a 
cisco subinterface with encapsulation dot1q 20. You can add ip with 
ifconfig, or do everything else you you with a network interface in linux.


      parent reply	other threads:[~2006-12-07 11:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-05 19:49 How make virtual interfaces ( subinterfaces ) on linux machine Elvir Kuric
2006-12-05 20:13 ` Taylor, Grant
2006-12-05 20:15   ` Pollywog
2006-12-06  6:34   ` Elvir Kuric
2006-12-06  6:40     ` Grant Taylor
2006-12-06 11:05     ` Petr Pisar
2006-12-06 12:20       ` Elvir Kuric
2006-12-06  7:57   ` Clemens
2006-12-06  8:09     ` Grant Taylor
2006-12-06  8:21     ` Clemens
2006-12-07 11:41 ` Alexandru Dragoi [this message]

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=4577FDF8.80401@zoomnet.ro \
    --to=alex@zoomnet.ro \
    --cc=netfilter@lists.netfilter.org \
    --cc=omasnjak@yahoo.com \
    /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.