Jeff D on 18/04/07 01:08, wrote:
On Wed, 18 Apr 2007, Adam Hardy wrote:

I'm setting up a new machine to act as a proxy / NAT / gateway / firewall machine for my little network.

eth1 is my internal network card and eth2 is the external interface.

I need to tell dhcp not to worry about eth2, which apparently is a command line thing - I can't see how to configure it for start-up at boot. There's no mention of the option in the dhcpd.conf documentation.

Of course I could put it in the sysv init script for dhcpd, but that's not exactly standard for config items in linux I thought.

There is a reference to dhcpd working out itself whether an interface is non-broadcast, in which case it won't listen for broadcast dhcp requests. but other than that, I can't see what the option could be.

Secondly, once I get this issue resolved, what IP address should I allocate the internal interface? Presumably 192.168.0.1 will be fine?

And lastly, how do I set up the server to do DNS just for my LAN - I mean for example I want to be able to ssh from one machine to another by the host names I've given them.


1.  in /etc/default/dhcp3-server you can set what interface to run dhcp on.
2. 192.168.0.0/24 is fine
3. is a little bit more complex, see : http://www.debian-administration.org/articles/355

OK, I replaced the dhcp package with dhcp3-server. I see now what /etc/defaults is all about - the config for the start-up scripts. Thanks for the tip.

Apart from a few glitches with the adsl modem and its dhcp config, it was easy, thanks v much.


Adam


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to