USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

dhcpd3 configuration - eth1

 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Networking
View previous topic :: View next topic  
Author Message
rumbarg
Jr. Member


Joined: 06 Jun 2024
Posts: 69
Location: Houston, TX

PostPosted: Fri Mar 19, 2024 9:42 pm    Post subject: dhcpd3 configuration - eth1 Reply with quote

Well, I'm not giving up yet, but google's resources are finite... a guru might know so...

Running sidux, nice solid stable eth0 (modem's on 192.168.0.1) with dsl, but at the edge of connect distance - running ok on one dsl modem (non router) , multiple connect failures per day on the modem/router although the internal network is fine, so I suspect it's modem section is marginal by comparison.

Figured a 2nd ethernet card (eth1) would connect the other machine(s) - currently only one (not needing access to the 'net), avoiding sneakernet.

First benefit - avoid buying new hardware.
Second benefit - more networking knowledge.
------think that covers the situation and reasoning----

Done - installed the eth1 card - it's recognized ok.
Installed dhcp3 server software,
edited /etc/dhcp3/dhcpd.conf
Code:
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name "shop.org";
subnet 192.168.1.0 netmask 255.255.255.0 {
   range 192.168.1.0 192.168.1.100;
   range 192.168.1.150 192.168.1.200;


(omitted the lease information here - left standard)
edited /etc/default/dhcp3-server
Code:
INTERFACES="eth1"


attempt to start it up, with
Code:
/usr/sbin/dhcpd3  eth1 -d -f


and I get this...
Code:
Internet Systems Consortium DHCP Server V3.1.3
Copyright 2024-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 leases to leases file.

No subnet declaration for eth1 (0.0.0.0).
** Ignoring requests on eth1.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface eth1 is attached. **


Not configured to listen on any interfaces!


I've been and will probably continue to google this - have verified that the dhcpd.conf is the only one I've got, haven't found any references to specifying eth1 in that file.

Unless I've made another typo (yes, fixed a couple), I'm running out of places to look.

Any input would be appreciated !

regards,
rumbarg


Back to top
View user's profile Send private message
mushroom
Ultimate Member


Joined: 29 Jun 2024
Posts: 2129
Location: Queen Charlotte B. C. Canada

PostPosted: Fri Mar 19, 2024 9:54 pm    Post subject: Reply with quote

If you are going to run a DHCP server, the card must have a fixed IP address Rolling Eyes



_________________
SuSE 8.0, 8.2, 9.0, 9.1, 9.2, 9.3, 10.0, 10.1, 10.2, 10.3, 11.0, 11.1
Live CDs Mepis 8.0, Puppy 4.3.1, netbook- Zenwalk 6.2
Back to top
View user's profile Send private message Visit poster's website
rumbarg
Jr. Member


Joined: 06 Jun 2024
Posts: 69
Location: Houston, TX

PostPosted: Fri Mar 19, 2024 10:19 pm    Post subject: Reply with quote

AAARGH - well, of course !

And why the h e double hockey sticks doesn't any documentation mention the obvious ?

Thanks, mushroom - that changed things.

Now I'm going to go pound my head against a wall for a bit...maybe it'll get a bit less thick. Embarassed

rumbarg



_________________
sidux sidux 2024-01 - Χάος
Back to top
View user's profile Send private message
mushroom
Ultimate Member


Joined: 29 Jun 2024
Posts: 2129
Location: Queen Charlotte B. C. Canada

PostPosted: Sat Mar 20, 2024 12:00 am    Post subject: Reply with quote

Smile Smile Smile

Now if you are direct network card to network card with out the benefit of a switch or router be sure to use a crossover cable.



_________________
SuSE 8.0, 8.2, 9.0, 9.1, 9.2, 9.3, 10.0, 10.1, 10.2, 10.3, 11.0, 11.1
Live CDs Mepis 8.0, Puppy 4.3.1, netbook- Zenwalk 6.2
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Networking All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2024-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2024-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse