LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-12-2009, 03:50 PM   #31
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92

Check your config file:

subnet yyy.yyy.yyy.0 netmask 255.255.255.0
...

group {
option subnet-mask 255.255.255.0;
option routers yyy.yyy.yyy.1;
next-server yyy.yyy.yyy.1;
filename = "pxelinux.0";

host node001 {
hardware ethernet 00:0e:a6:51:8d:75;
fixed-address yyy.yyy.yyy.2;
# option host-name "node001";
}
host node002 {
hardware ethernet 00:0e:a6:5a:e1:67;
fixed-address yyy.yyy.yyy.3;
# option host-name "node002";
 
Old 12-12-2009, 04:07 PM   #32
icegood
Member
 
Registered: Sep 2009
Distribution: ubuntu 21.04
Posts: 65

Original Poster
Rep: Reputation: 15
so what?
What is wrong? Everything is right. Group keyword is totally outside of both subnet keywords. If it would be even inside one of them then after starting DHCP claims you:
"host will be moved outside of subnet" or smth. like that
 
Old 12-12-2009, 04:09 PM   #33
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
subnet yyy.yyy.yyy.0 netmask 255.255.255.0

fixed-address yyy.yyy.yyy.2;
fixed-address yyy.yyy.yyy.3;

you give fixed address for|in|from the same subnetwork.

Last edited by nimnull22; 12-12-2009 at 04:11 PM.
 
Old 12-12-2009, 04:15 PM   #34
icegood
Member
 
Registered: Sep 2009
Distribution: ubuntu 21.04
Posts: 65

Original Poster
Rep: Reputation: 15
right. That's should be so. Read subnet carefully for what subnet keyword exists in dhcp.conf. Not only for ranges.
 
Old 12-12-2009, 04:19 PM   #35
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
But your second ethernet card is looking at the same subnet or at the different?

What is IP for eth0 and eth1?
 
Old 12-12-2009, 04:25 PM   #36
icegood
Member
 
Registered: Sep 2009
Distribution: ubuntu 21.04
Posts: 65

Original Poster
Rep: Reputation: 15
IP for eth0 is x-network. (BIG)
IP for eth1 is y-network.
So what?
 
Old 12-12-2009, 04:28 PM   #37
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
DHCP gives IP fixed-address yyy.yyy.yyy.2 and fixed-address yyy.yyy.yyy.N - because they are in subnet yyy.yyy.yyy.0 netmask 255.255.255.0
 
Old 12-12-2009, 04:34 PM   #38
icegood
Member
 
Registered: Sep 2009
Distribution: ubuntu 21.04
Posts: 65

Original Poster
Rep: Reputation: 15
No. You are wrong. If no range or pool keyword under subnet keyword - no addresses is leased because only of presence of subnet keyword. Only additional parameters (and options) are overwrited if new lease has ip/netmask from such subnet. At least should be so.
 
Old 12-12-2009, 04:39 PM   #39
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
As you wish.
 
Old 12-12-2009, 04:49 PM   #40
icegood
Member
 
Registered: Sep 2009
Distribution: ubuntu 21.04
Posts: 65

Original Poster
Rep: Reputation: 15
Think logically. If it would be so then my config would not work even for clients accessible via eth1 as well. By same rreason. But for them works. Do not work just for clients accessible via eth0.
 
Old 12-12-2009, 05:05 PM   #41
icegood
Member
 
Registered: Sep 2009
Distribution: ubuntu 21.04
Posts: 65

Original Poster
Rep: Reputation: 15
Code:
|---|old client's|----|
|                     |
eth1                  | 
|                     |
|---|      |----------|
    |server|
|---|      |----------|
|                     |
eth0              |router to somewhere outside|
|                     |
|---|new client|------|
 
  


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
DHCP - network down pr1sg Linux - Networking 1 12-10-2008 07:03 PM
ip based network from DHCP? bobbens Linux - Networking 12 11-09-2004 06:00 PM
Network issues...No DHCP Brother Michael Slackware 19 01-16-2004 01:04 AM
dhcp network comtronics Debian 3 07-23-2003 11:57 PM
Name resolution on a DHCP network!!!? concoran Linux - Networking 5 03-19-2002 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:54 PM.

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