LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-12-2012, 08:52 AM   #1
finsh
Member
 
Registered: Jan 2006
Posts: 162

Rep: Reputation: 16
Vlan&dhcp server


Hi All

I have dhcp server and is working good on suse server 11.

Now i have vlans on my network and it is working on cisco router but i need to stop dhcp server in cisco router and work my dhcp in suse server so now how to configure it in dhcpd.conf

code

option domain-name "services.lan";
option domain-name-servers 10.100.100.30;
option routers 10.100.100.254;
default-lease-time 14400;
include "/etc/named.d/dyn_dns";
ddns-update-style interim;
ignore client-updates;
ddns-updates on;
subnet 10.100.100.0 netmask 255.255.255.0 {
default-lease-time 14400;
max-lease-time 172800;
zone almashfa.dc. { primary 10.100.200.30; key dyn_dns; }
zone 200.100.10.in-addr.arpa. { primary 10.100.200.30; key dyn_dns; }
range 10.100.200.50 10.100.200.254;
}


This is the vlans 10.100.10.254 ...... 10.100.20.254......... 10.100.8.254

How i can add this vlans

sorry for my bad language but i think you're understanding me.

thanks
 
Old 09-12-2012, 09:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
on the dhcp server you just add it like any other subnet declaration. the fact that it's a vlan is of no consequence at all, just configure the router to use the server as an ip helper-address destination for dhcp
 
Old 09-13-2012, 05:30 AM   #3
finsh
Member
 
Registered: Jan 2006
Posts: 162

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by acid_kewpie View Post
on the dhcp server you just add it like any other subnet declaration. the fact that it's a vlan is of no consequence at all, just configure the router to use the server as an ip helper-address destination for dhcp

Yes I did that. And is working good now.

Thank you very much
 
  


Reply



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] how to restrict Linux dhcp server to give response to specific systems / vlan mail4vijay Linux - General 3 08-13-2012 10:09 AM
DHCP Config for VLAN's using 1NIC and non VLAN router. scottgutman Linux - Networking 1 07-22-2009 01:41 AM
dhcp server fails for vlan setup hafeezisbad Red Hat 1 11-18-2007 03:23 AM
DHCP Server for many VLAN's inaki Linux - Networking 1 08-25-2005 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:35 AM.

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