LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-21-2005, 08:40 AM   #1
luca2
LQ Newbie
 
Registered: Dec 2005
Posts: 12

Rep: Reputation: 0
How to Install a VLAN??


Hello to all.
I am trying to install the VLAN on my PC, but I have some problems on configure the VLAN with the distribution Mandriva 2005. I have found on Internet some indications that agree all in proposing to patch the kernel for all the distributions that is do not implement the support to 802.1q like module (that have a kernel antecedent to the 2.4.14). But it is not my case, I have verified in my system that effectively it is present as module, therefore I have not made other that to activate it with the command "modprobe 8021q".
But before making that, I have installed from the Mandrake Control Center the relative package of the VLAN-UTILS.


Now, I'll describe the steps that I have followed for the configuration of the VLAN:

- With the command "lsmod" the module 8021q it appears, but no device is associated to it.
- I succeed however to create a VLAN with command "vconfig add eth0 4"
- To this point I enable the VLAN 4 giving an IP, netmask and the broadcast: "ifconfig eth0.4 10.5.0.10 broadcast 10.5.0.255 netmask 255.255.255.0 up"


To this point it would have to be all ready, but in truth it does not work. From the control panel of the Access Point, I have "make the ping", before no IP address of the eth0, and for this it's OK, then on the IP address of the VLAN eth0.4, but to this point the operation does not proceed, making to expire the timeout.
I have osserved the operation with ETHEREAL and effectively the frames go in net with the tag 8021q, but my PC can't answer to the ping... Someone can help me?
It is IMPORTANT!!!!!!
 
Old 12-21-2005, 11:09 AM   #2
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Rep: Reputation: 30
Have you looked at your routing tables? If you have 2 VLANS, they won't be able to talk to each other unless you have a gateway/router configured w/ proper routing tables.

Perhaps listing the physical layout of your test network might help clarify things aswell.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VLAN Routing teamchachi Linux - Networking 0 06-14-2005 09:54 AM
Vlan not sepparate collen Linux - Networking 0 06-08-2004 07:22 AM
Vlan Markvw Linux - Networking 1 09-29-2003 08:33 AM
Linux for VLAN ? newbieA Linux - Networking 1 09-13-2003 11:34 AM
Connecting to a VLAN skumfrog Linux - Networking 2 03-13-2003 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration