On Tuesday, 01/25/2011 at 10:30 EST, Scott Rohling 
<scott.rohl...@gmail.com> wrote:
> I just noticed that the vlan12 device and eth0 use the same MAC address 
(so 
> would seem to be the same virtual NIC).. so this setup goes out of the 
realm of 
> my experience..   I've used vlan aware vswitch's before, but it was 
always with 
> just eth0 on Linux and not the extra 'vlan' device.   Just on the 
surface - I 
> don't see how anything goes out over vlan12 - but I probably don't 
understand 
> the setup well enough to give solid advice.  Sorry - meant to help :)  

In the post, you saw just "eth0" with two locally-attached subnets. That's 
called "multinetting" and always indicates a configuration error.  (It was 
dubiously used in old "hub"-style, shared-media networks.)

When vconfig is used to assign a VLAN to an interface, it generates a 
virtual interface e.g. eth0.12.  Assign another VLAN and you get another 
eth0.<vlan> interface.  Then you ifconfig the virtual interfaces as you 
would a real one.

But when you do that, the guest must be authorized for PORTTYPE TRUNK and 
the list of VLANs.  If the GRANT doesn't match the guest configuration, 
nothing will talk.  (Just like a real switch.)

Alan Altmark

z/VM and Linux on System z Consultant
IBM System Lab Services and Training 
ibm.com/systems/services/labservices 
office: 607.429.3323
alan_altm...@us.ibm.com
IBM Endicott

Reply via email to