[H-GEN] dhcp issues

Sandra Milne silne at optusnet.com.au
Fri Dec 20 18:33:23 EST 2002


 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";
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;
}
host trousers {
   hardware ethernet 00:e0:29:9d:b4:11;
   fixed-address 192.168.0.69;
}

host thor {
   hardware ethernet 00:10:5a:7a:87:77;
   fixed-address 192.168.0.68;
}

 From /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth1
iface eth1 inet dhcp

auto eth0
iface eth0 inet static
  address 192.168.0.1
  netmask 255.255.255.0


It's probably something really dumb that I've done, but I can't for the 
life of me figure it out. I had a look at man pages and still came away 
mystified.

Thanks,

Sandra.

silne at optusnet.com.au
http://members.optushome.com.au/silne
"[The Starships Enterprise] are like bra sizes; when you go up a letter 
they get
bigger and more impressive."
             -- Kewl Quote from Slashdot Post. 
-------------- next part --------------

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/2002


More information about the General mailing list