Greetings This is my first mail to this group. I am a newbie at SuSe 7.1. or any other distro. Please picture this. I have 3 pc's at home. 2 of them are window$ boxes 1 is SuSe 7.1. I would like to give both windows pc a ip address wich is not fixed. In NT this is done with a few mouseclicks and a little bit of typing. In Suse it should be done with dhcpd. and weeks of probing the internet. With kcmdhcpd i tried as root to assign address range 192.168.17.2 192.168.17.10 on to eth1 with ip 192.168.17.1/255.255.255.0. When i type in /usr/sbin/dhcpd start it displays the message "192.168.17.2 192.168.17.10 not on net 192.168.17.1/255.255.255.0" What do i do wrong and is there a tool to diagnose & correct this problem. If so where? If someone has a fix for this please email me directly at; peterthesing@hotmail.com peter.thesing@getronics.com j.thesing@chello.nl ps fixed ip-addresses is not my intention or an option
Hi,
Never used kcmdhcpd so have no knowledge of it. However, all you need to
do is install the dhcpd server software onto your linux box and alter
your /etc/dhcpd.conf file to something like this.
option netbios-name-servers 192.168.17.1;
option domain-name-servers 192.168.17.1;
option domain-name "mydomain.com";
option broadcast-address 255.255.255.255;
option subnet-mask 255.255.255.0;
option routers 192.168.17.1;
shared-network workgroup {
subnet 192.168.17.0 netmask 255.255.255.0 {
range 192.168.17.2 192.168.17.10;
}
}
The above assumes you run DNS (Bind) on your linux box.
The only thing other thing I seem to remember I used to have to do, (for
SuSE V6.3 and 6.4), was to add an entry into /etc/init.d/dhcp adding
something like 'route add -host 255.255.255.255 dev eth0' but my SuSE
Linux V7.1 installation I run now doesn't have that and seems to generate
IP addresses OK so I assume they must have developed a work around.
Actually, thinking about it further, it was something to do with the
broken TCP/IP in Windows '95 which wouldn't work properly with the ISC
dhcpd server.
Anyway - then just start your dhcpd server daemon on start-up. I think
it's in yast - set START_DHCPD = yes. Personally I do all set-up in
yast. Theres very few things you can't do there. Have a look at the
manual.
Hope this helps.
Andy
Original Message dated 9/19/01, 1:14:59 PM
Author: "peter thesing"
participants (2)
-
Andy Bennett
-
peter thesing