Mailinglist Archive: opensuse (3729 mails)

< Previous Next >
Re: [SLE] DHCP Conf...sorry about the length
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: 19 Jun 2003 03:06:17 +0200
  • Message-id: <1055984776.6610.15.camel@xxxxxxxxxxxxxxxxx>
On Thu, 2003-06-19 at 02:56, Tim Dickinson wrote:
> How do i set up the DHCP conf file to set the windows IP address to work
> off:
> 192.168.0.x ????

What do you have in /etc/dhcpd.conf now? It should be something like

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.254;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
authoritative;
}

then make sure you have the internal interface set in
/etc/sysconfig/dhcpd variable DHCPD_INTERFACE, and that it's set to run
at boot with "insserv dhcpd"

Then set up the firewall, using YaST2 for example, for routing and
masquerading. If the help texts in YaST2 don't help you, look at the
unofficial faq at http://susefaq.sourceforge.net

> computers (only 2 hooked up roght now) connected through a standard 4 port
> hub - using CAT-5 network cable.....

As long as the hub lets through broadcast messages, there shouldn't be a
problem



< Previous Next >
References