Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i want to get some help..
i want to setup several vlans using cisco switches and i want to use dhcp...
how can each vlan get ip from my linux dhcp server...
do i need to setup 1 dhcp for 1 vlan?
you've not really provided much detail about your topology but a DHCP server will need to be accessible on each subnet. If you only have a single DHCP server and are using cisco boxes to route and switch your network, you can use the "ip helper-address" command on a device accessible on each vlan to relay requests to the single DHCP server. As with standard DHCP server configs you'd then just declare as many subnets as you need, and naturally a request proxied by a cisco box will be given the right subnet as it knows what subnet the cisco device came from.
well thanks a lot... can i install vlan in linux and make vlans on it... i think i must use vconfig but i think i'm having problem on this. do i have to recompile my kernel?
it works and when i try to create other subnets or scopes below ,, it fails to restart , i checked /var/log/messages ,, its says dhcp exited multiple subnet not supported i am using fedora 7
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.