LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2013, 04:41 AM   #1
srijivdimri
Member
 
Registered: Jun 2013
Location: India.
Posts: 35

Rep: Reputation: Disabled
Vlans not showing up in Gentoo.


Hi Experts,

I am facing some issues with the vlan configuration in Gentoo.

I have emerged these packages:-
# emerge net-misc/vconfig

Here is how my /etc/conf.d/net looks like
slaves_bond0="enp66s0f0 enp66s0f1"
vlans_bond0="253"
config_bond0="null"
config_bond0_253="192.168.211.131 netmask 255.255.255.240"

Here is how my /etc/local.d/net.start looks like
/etc/init.d/net.bond0 start
vconfig add bond0 253
ifconfig bond0.253 10.154.137.68 netmask 255.255.255.224
route add -net 10.154.136.0 netmask 255.255.255.0 gw 10.154.137.65 dev bond0

Here is my /etc/conf.d/modules file looks like
modules="bonding"
module_bonding_args="miimon=100 mode=4"

802.1Q is enabled on the Kernel level.

Soft link is configured for the same
lrwxrwxrwx 1 root root 6 Sep 19 01:45 net.enp66s0f1 -> net.lo
lrwxrwxrwx 1 root root 13 Sep 18 05:33 net.bond0 -> net.enp66s0f0
-rwxr-xr-x 1 root root 17K Sep 18 05:05 net.lo
lrwxrwxrwx 1 root root 6 Sep 18 05:03 net.enp66s0f0 -> net.lo

I restart the bond0 interface but the vlan 253 does not comes up and bond0 has no ip assigned to it becase of null parametre passed to it in /etc/conf.d/net.

Please let me know if I am missing something here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Screen not showing on laptop but showing on projector when connected someshpr Linux - General 3 04-18-2011 04:58 PM
Gentoo/Xfce question ... icons not showing up. chigurh8 Gentoo 2 09-09-2009 01:07 AM
trying to get ndiswrapper working on gentoo - no wlan showing Thaidog Linux - Wireless Networking 7 01-21-2009 02:49 AM
bonding and vlans. Bonding a vlan interface vs applying vlans to a bond interface JasonCzerak Linux - Networking 0 09-11-2008 09:59 AM
No icons showing up on texmaker > 64 bit gentoo > qtabwidget namish Linux - Software 0 04-01-2008 12:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 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