Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NetworkManager and VLANs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Thu Nov 08, 2012 11:32 pm    Post subject: NetworkManager and VLANs Reply with quote

Hi,

On my work laptop I use NetworkManager and the nm-applet. It works well for me and VPN setup is very easy and reliable (compared to kvpnc).

But, I'm now trying to configure a VLAN so that a virtual machine can be on a different network from my main OS.
My switch port has been configured with a native VLAN of 2 and tagged for 10.

NetworkManager 0.9.4 and onwards supports VLANs but I can't find any documentation to say how I should be configuring NetworkManager. I'm using NetworkManager 0.9.6.4 (latest in portage when using ~amd64 keyword).

My main ethernet interface is eth0 and I'd expect my VLAN tagged interface to be eth0.10 for VLAN10.
eth0 uses DHCP and I'd like the VLAN tagged interface to use DHCP as well.

Can anyone help?

Thanks,
Roland.
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1127
Location: Austria

PostPosted: Mon Nov 12, 2012 6:45 am    Post subject: Reply with quote

You probably also need to enable VLAN support in your kernel.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Mon Nov 12, 2012 9:49 pm    Post subject: Reply with quote

I've added VLAN support to the kernel
Code:

rolandp@roly-laptop ~ $ dmesg|grep -i -e vlan
8021q: 802.1Q VLAN Support v1.8


What I need are details about configuring VLANs with NetworkManager.
I can't find much obvious documentation around it, which either means it very obvious (and I'm too blind to see it) or it's obscure and no one uses it anyway.
Back to top
View user's profile Send private message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Sat Nov 17, 2012 6:46 pm    Post subject: Reply with quote

Anybody?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum