[H-GEN] dhcp issues

Robert Brockway robert at timetraveller.org
Fri Dec 20 19:20:13 EST 2002


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Sat, 21 Dec 2002, Sandra Milne wrote:

>  From /etc/dhclient.conf (slightly mangled to remove sensitive information)
>
> send host-name "foobar";
> alias {
>    interface "eth0";
> }
> lease {
>    interface "eth0";
> }
>
>  From /etc/dhcpd.conf (don't care all that much about my hostnames and mac
> addresses)
>
> option domain-name "localhost";

Ooohhh...bad juju.  Avoid using "localhost" in this manner.

Make up an internal domain - best if it is a subdomain of a real domain if
you can manage it.  Eg, my primary domain is timetraveller.org.  If I
needed to make a fake internal domain I might use home.timetraveller.org
for my home lan.  This internal domain would not be advertised int he
global dns as it would not be delegated.

> option domain-name-servers 192.168.0.1;
>
> option subnet-mask 255.255.255.0;
> default-lease-time 6000;
> max-lease-time 72000;
>
> subnet 192.168.0.0 netmask 255.255.255.0 {
>    range 192.168.0.150 192.168.0.170;
>    option broadcast-address 192.168.0.255;
>    option routers 192.168.0.1;
> }
>
> # The other subnet that shares this physical network (OptusNet Cable)
> subnet 211.28.173.0 netmask 255.255.255.0 {
>    option broadcast-address 211.28.173.255;
> }

This subnet is sharing the same physical piece of cable as your private
lan?

Could we see a network diagram in ascii art?

>  From /etc/network/interfaces

> auto eth1
> iface eth1 inet dhcp

Could the dhcp client app be listening on eth0 as well?

I'm interested here if the two networks are sharing the same physical
piece of cable.  Basically I'm interested in where the dhcp server sits in
relation to the cable modem/device and all the other hosts.

Cheers,
	-Rob

-- Robert Brockway B.Sc. email: robert at timetraveller.org  ICQ: 104781119
   Linux counter project ID #16440 (http://counter.li.org)
   "The earth is but one country and mankind its citizens" -Baha'u'llah



--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list