LinuxQuestions.org
Help answer threads with 0 replies.
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 05-09-2014, 03:30 AM   #1
srinivasanece
LQ Newbie
 
Registered: Mar 2012
Location: Komarapalayam,TamilNadu,INDIA
Distribution: CentOS,FreeBSD,RedHatLinux
Posts: 26

Rep: Reputation: Disabled
Question DHCP Server to give different default gateways


Hello Everyone,

I have situation where i need to use One dhcp server to assign one gateway for some hosts and other gateway for other set of hosts.Is it possible to do it

Example:

Host A default gateway xx.xx.xx.254

Host B default gateway xx.xx.xx.253

Any Suggestions

Thanks in Advance
 
Old 05-09-2014, 07:13 AM   #2
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 115Reputation: 115
Just set option routers as specific for hosts or groups of hosts instead of globally.

http://linux.die.net/man/5/dhcpd.conf
 
1 members found this post helpful.
Old 05-09-2014, 04:00 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Might use proxy.pac or wdat files.
 
  


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
Two interfaces on DHCP assign two default gateways albertoparis Linux - Networking 2 06-19-2012 02:34 PM
Two DHCP interfaces assigning 2 default gateways ... albertoparis Linux - Networking 1 06-17-2012 12:52 PM
[Slackware] Default gateways/DHCP/DNS uncertainties re: broadband-->firewall==>LANs GrapefruiTgirl Linux - Networking 5 09-24-2009 09:24 AM
DHCP server seems to not give up lease... custangro Linux - Networking 4 09-29-2008 04:54 PM
Different default gateways for wlan depending on network (essid) using DHCP jimisola SUSE / openSUSE 1 03-05-2006 12:49 AM


All times are GMT -5. The time now is 09:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration