LinuxQuestions.org
Help answer threads with 0 replies.
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 08-25-2006, 12:24 PM   #1
pm010537
LQ Newbie
 
Registered: Aug 2006
Posts: 25

Rep: Reputation: 15
Help - (Linux - DHCP Server)


Hi,

I am new to this forum; but I guess better late then never; I work as network SQA engineer (carrier ethernet).

I have a question regarding configuring a DHCP server on Linux box. I would like to know whether I can configure an invalid scope/range? Invalid might be 0.0.0.0 or a loopback or a Multicast IP. I tried on Windows, Cisco, Extreme, Juniper and couple of other free wares but none of them allowed me to configure invalid scope; when I try to do that it returns an error saying it is invalid. Windows does have a feature that allows you to configure Multicast scope but then it has got its own limitations and hence not able to use it either. So my only hope is Linux.

Any help in this matter will be greatly appreciated

Thanks
Pratik
 
Old 08-26-2006, 10:38 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,066

Rep: Reputation: 295Reputation: 295Reputation: 295
I've never been able to get ISC's dhcpd to run with a scope other than one encompassing the IP of one of the Ethernet cards in my system. Their might be some sort of specialized DHCP server that will do it, but I don't know of any. Why do you want to do this anyhow? It seems counterintuitive and maybe if we knew what you're trying to do we could suggest a better way.
 
Old 08-28-2006, 10:56 PM   #3
pm010537
LQ Newbie
 
Registered: Aug 2006
Posts: 25

Original Poster
Rep: Reputation: 15
I am trying to do this in order to verify that our ethernet switch does not respond to an invalid IP assigned by a DHCP; in other words when a DHCP server assigns an invalid IP the client (ethernet switch) should reply back with DHCPNACK. Yes it is counterintuitive, but I have to test that the box does respond in a proper manner if a hacker plans to do it or a nefarious DHCP server assigns one.

Thanks
Patrick
 
Old 08-29-2006, 12:00 PM   #4
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
Wouldn't it just be easier to lock the switch down to MAC ID's on certain ports and only allowing certain addresses through instead of making sure invalid DHCP is going through? I mean, if someone manages to put an unauthorized DHCP server on your network, better to lock down the entire network that try to just fire off DHCPNACK's. And if your switch is locked to allowing only certain MACs to connect, that should be a moot point anyways.
 
  


Reply

Tags
dhcp, linux, server


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
How to update Windows DDNS server by Linux DHCP server Zebrastreifen Linux - Networking 1 08-02-2006 05:19 PM
Linux DHCP server joperami Linux - Networking 3 05-17-2005 10:34 AM
Linux machine as DHCP server spony Linux - Networking 4 12-23-2003 08:47 AM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM
Redhat Linux server not getting ip comcast dhcp server munisp Linux - Networking 1 03-24-2003 12:26 PM


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