LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to Install a VLAN?? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-install-a-vlan-395247/)

luca2 12-21-2005 08:40 AM

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!!!!!!

psychobyte 12-21-2005 11:09 AM

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.


All times are GMT -5. The time now is 08:28 PM.