Re: configuring VLAN in Linux 2.4.25

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

 



Hi Arthur,

The message means that the vlan module has been inserted into your kernel.
This has no effect until the vconfig tool is used to create vlan devices.

See "man vconfig" for how this works.

But before you start manually creating vlan devices its worth checking if
you have a distro that will do it all for you.

For example in redhat/fedora you can edit
"/etc/sysconfig/network-scripts/ifcfg-eth0.10" in the same way you edit
"/etc/sysconfig/network-scripts/ifcfg-eth0".  The ifup/ifdown scripts will
parse the filename, and infer from it that they need to use vconfig to create/delete
a vlan device which sends vlan frames with VID 10 over eth0.

In debian/ubuntu you just install the "vlan" package with "apt-get install vlan".
Then you can create stanzas in "/etc/network/interfaces" for eth0.10 in exactly
the same way you create stanzas for eth0.  The "/etc/network/if-pre-up.d/vlan"
and "/etc/network/if-post-down.d/vlan" scripts parse the device name and figure out
what they need to do.

Easy!

Alex



Arthur Khachatryan wrote:
Hi,
I am newbie. Could somebody help me please how to configure the VLAN in Linux 2.4.25 kernel. I see the message "802.1Q VLAN Support v1.8 Ben Greear <greearb@xxxxxxxxxxxxxxx <mailto:greearb@xxxxxxxxxxxxxxx>>" while linux is downloading. Then I see the following by typing cat for the VLAN: ~ # cat proc/net/vlan/config
vlan_proc_get_vlan_info: cnt == 25
VLAN Dev name    | VLAN ID
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
vlan_proc_get_vlan_info: cnt == 25
~ # So I need to setup the VLAN for my downloaded Linux. I don't know how to do.
Help me please by email. It would be highly appreciated.
Thank you in advance.
Sincerely,
Arthur.

------------------------------------------------------------------------
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. <http://us.rd.yahoo.com/evt=51732/*http://overview.mail.yahoo.com/>


------------------------------------------------------------------------

_______________________________________________
Vlan mailing list
Vlan@xxxxxxxxxxxxxxx
http://www.candelatech.com/mailman/listinfo/vlan

------------------------------------------------------------------------------

Cambridge Broadband Networks selected as Preferred Backhaul Infrastructure Supplier for MTN Group <http://www.cambridgebroadband.com/mi19nov07.htm>

MTN chooses Cambridge Broadband Networks for multi-service wireless network in Rwanda <http://www.cambridgebroadband.com/mi03oct07.htm>


------------------------------------------------------------------------------
Cambridge Broadband Networks Limited

Registered in England and Wales under company number: 03879840
Registered office: Selwyn House, Cambridge Business Park, Cowley Road, Cambridge CB4 0WZ, UK.
VAT number: GB 741 0186 64

This email and any attachments are private and confidential. If you believe you have received this email in error please inform the sender and delete it from your mailbox or any other storage mechanism. Cambridge Broadband Networks Limited cannot accept liability for any statements made which are clearly the individual sender's own and not expressly made on behalf of Cambridge Broadband Networks Limited.



_______________________________________________
Vlan mailing list
Vlan@xxxxxxxxxxxxxxx
http://www.candelatech.com/mailman/listinfo/vlan

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux