Re: How make virtual interfaces ( subinterfaces ) on linux machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux