I have a desktop machine running woody, with kernel 2.4.20-ac2. The desktop is connected to a Netgear switch, which is in turn connected to a wireless access point. In addition, there are several laptops in the house which connect to the Netgear switch.
I use a very simple iptables script to turn the desktop into a gateway for the other machines in the house. One laptop uses a wireless card. The others, until recently, connected to the Netgear switch directly and used dhcp to get an IP address (the desktop is set up as a dhcp server), Until very recently, my connection to the net was a dialup PPP connection, and all of the above worked very well. A short while ago, however, I signed up for DSL (earthlink), bought and installed a second ethernet card, and set about getting it all working. Mostly it works very well. The desktop connects to a DSL `modem' through the new ethernet card and is assigned an IP address via DHCP. The connection is as fast as I had hoped it would be. The wireless connection works very well. But for some reason, it is now impossible for a laptop connected through the netgear switch to get a dhcp connection from the desktop. I use pump on the Debian laptop (the other laptop that used to connect in this way runs Os X; I don't know what dhcp client comes with that). Calling /sbin/pump results in a long hang and then `operation failed'. The logs don't reveal very much (to me anyway). I'll paste them in below along with the interfaces file and the dhcpd config file from the desktop machine. I can assign a static IP address on the private network to the laptop and connect it to the net in that way (this works just fine), but (i) I'd like to understand why it seems to be impossible to use dhcp in this kind of context and (ii) it would be very convenient if visiting laptops could just plug in to the Netgear switch and connect to the net using the desktop as a dhcp server. I'd be very grateful for any insight about why this seems impossible given the other decisions I've made. Thanks very much in advance, Jim ---------------------------------------------------------------------- Logs (Pump) ---------------------------------------------------------------------- Jan 20 17:29:39 lapdog kernel: eth0: Setting 100mbps half-duplex based on auto-negotiated partner ability 40a1. Jan 20 17:29:39 lapdog pumpd[1839]: PUMP: sending discover Jan 20 17:29:39 lapdog pumpd[1839]: breq: opcode: 1 Jan 20 17:29:39 lapdog pumpd[1839]: breq: hw: 1 Jan 20 17:29:39 lapdog pumpd[1839]: breq: hwlength: 6 Jan 20 17:29:39 lapdog pumpd[1839]: breq: hopcount: 0 Jan 20 17:29:39 lapdog pumpd[1839]: breq: xid: 0xdad05b36 Jan 20 17:29:39 lapdog pumpd[1839]: breq: secs: 0 Jan 20 17:29:39 lapdog pumpd[1839]: breq: flags: 0x0000 Jan 20 17:29:39 lapdog pumpd[1839]: breq: ciaddr: 0.0.0.0 Jan 20 17:29:39 lapdog pumpd[1839]: breq: yiaddr: 0.0.0.0 Jan 20 17:29:39 lapdog pumpd[1839]: breq: server_ip: 0.0.0.0 Jan 20 17:29:39 lapdog pumpd[1839]: breq: bootp_gw_ip: 0.0.0.0 Jan 20 17:29:39 lapdog pumpd[1839]: breq: hwaddr: Jan 20 17:29:39 lapdog pumpd[1839]: breq: servername: Jan 20 17:29:39 lapdog pumpd[1839]: breq: bootfile: Jan 20 17:29:39 lapdog pumpd[1839]: breq: vendor: 0x63 0x82 0x53 0x63 Jan 20 17:29:39 lapdog pumpd[1839]: breq: vendor: 53 1 0x01 Jan 20 17:29:39 lapdog pumpd[1839]: breq: vendor: 0xff ---------------------------------------------------------------------- ---------------------------------------------------------------------- /etc/network/interfaces (desktop): ---------------------------------------------------------------------- # The loopback interface # auto lo iface lo inet loopback # The first network card (external connection) # auto eth0 iface eth0 inet dhcp # The second network card (internal network) # auto eth1 iface eth1 inet static address 192.168.93.3 network 192.168.93.0 netmask 255.255.255.0 broadcast 192.168.93.255 ---------------------------------------------------------------------- ---------------------------------------------------------------------- /etc/dhcpd.conf (on the desktop): ---------------------------------------------------------------------- # # $Id: dhcpd.conf,v 1.4.2.2 2002/07/10 03:50:33 peloy Exp $ # # option definitions common to all supported networks... option domain-name "branci40.org"; option domain-name-servers 128.114.129.33, 128.114.142.6; option subnet-mask 255.255.255.0; default-lease-time 600; max-lease-time 7200; server-name "toraigh"; subnet 192.168.93.0 netmask 255.255.255.224 { range 192.168.93.20 192.168.93.30; option broadcast-address 192.168.93.255; option routers 192.168.93.3; } host lapdog { hardware ethernet 00:40:D0:25:30:45; fixed-address 192.168.93.2; } ---------------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]