LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-24-2005, 11:26 PM   #1
cjs500
LQ Newbie
 
Registered: Apr 2005
Posts: 12

Rep: Reputation: 0
Question Setting a VLAN a dynamic IP address?


Can one have a DHCP server assign a VLAN on Linux an IP address dynamically instead of statically setting it?

Tried this:
1) vconfig add eth0 10
2) vconfig set_flag eth0.10 1 1
3) ifconfig eth0.10 hw ether <different_mac_address>
4) created a config file ifcfg-eth0.10 in /etc/sysconfig/network-scripts/
DEVICE=eth0.10
ONBOOT=yes
BOOTPROTO=dhcp
HWADDR=<different_mac_address>

Problem:
Error: WARNING: Could not open /proc/net/vlan/config. Maybe you need to load the 8021q module, or maybe you are not using PROCFS??
Added VLAN with VID == 10 to IF -:eth0:-

I used lsmod command and it shows loaded module 8021q in there and it seems PROCFS is there. I have a mount point to /proc but not sure if it means the same place

System:
Fedora Core 3 - Kernel 2.6.9-1.667

Has anyone tried to do this and successful gotten it to work?

Thanks!
 
  


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
Can anyone help me to build a DNS with a dynamic IP address babyboss Linux - Networking 10 08-10-2005 07:53 AM
slackware 10: dynamic IP address detection sso Slackware 1 10-20-2004 05:59 PM
Fix ip address vs Dynamic ip address yenonn Linux - Networking 5 04-13-2004 07:25 AM
setting up ftp with a dynamic IP address jdolluc Linux - Networking 5 08-26-2003 10:53 PM
dynamic IP address acid_kewpie Linux - Networking 4 09-13-2001 02:53 AM


All times are GMT -5. The time now is 02:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration