View previous topic :: View next topic |
Author |
Message |
speak_see_hear Apprentice
Joined: 12 Feb 2003 Posts: 168 Location: New Jersey
|
Posted: Tue Nov 23, 2004 4:22 am Post subject: dhcpd / dnsmasq problems |
|
|
I have followed the home network guide on the wiki:
http://gentoo-wiki.com/HOWTO_setup_a_home-server
It is a very good howto, but one problem. I have an Ultra10 box that I am trying to turn into my proxy/local rsync/web/mail server. The box has 2 ethernet ports. My config file in /etc/conf.d/net is set up correctly but, when I connect my other gentoo box to it. There is no activity from eth1. eth0 is still connected with no problem, but no dice from eth1. I have dhcpd running on the box, but my other gentoo box cannot see it (i.e. dhcpcd eth0 doesn't work). Here is my conf file:
Code: |
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
#option domain-name "servehttp.com";
#option domain-name-servers 192.168.0.1;
#default-lease-time 6000;
#max-lease-time 7200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
#log-facility local7;
#ddns-update-style ad-hoc;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
authoritative;
ddns-update-style ad-hoc;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.20 192.168.0.39;
default-lease-time 259200;
max-lease-time 518400;
option subnet-mask 255.255.255.0;
#option netbios-name-servers 192.168.0.1;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
}
|
please help.
Thanks |
|
Back to top |
|
|
Raffi l33t
Joined: 17 Mar 2003 Posts: 731 Location: Moscow, Id.
|
Posted: Tue Nov 23, 2004 2:19 pm Post subject: |
|
|
What does syslog show? Have you watched from the server using tcpdump, do the request packets show up?
On my setup here, dhcpcd requests and IP and then does a reverse lookup of the IP. If it can't find the name from the IP, it does not accept the address. I believe this is because of options I have set in my /etc/conf.d/net file, but I have not done enough experiments to be sure. |
|
Back to top |
|
|
monotux l33t
Joined: 09 Sep 2003 Posts: 751 Location: Stockholm, Sweden
|
Posted: Tue Nov 23, 2004 3:29 pm Post subject: |
|
|
check your /etc/conf.d/dhcp, and make sure you have told dhcp what interface you are using to serve ips _________________ Computer science is no more about computers than astronomy is about telescopes. |
|
Back to top |
|
|
|
|
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
|
|