dhcp client and server on same machine

dhcp client and server on same machine

Post by Johannes Ullric » Mon, 03 Aug 1998 04:00:00



Hi.

My masquerading machine needs a dhcp client running to receive it's external
IP address. But I also would like to have a dhcp server running on the same
machine to supply IP addresses for the internal network.

I start the two programs like
dhcpcd -i eth0
dhcpd eth1

Everything boots fine and all the internal clients are able to receive an IP
address.

However, after about 30 minutes, about the time after which the external
card has to renew it's license, the external card crashes (ifconfig does not
show the card). dhcpcd exits.

Any help?

a few details:

- external card is a 3com 3c509
- internal card is ne2000 compatible
- Redhat 4.2 (with lots of fixes installed)
- Kernel 2.0.32

all internal machines are Win boxes.
the external Ethernet card is connected to a Toshiba cable modem
(RoadRunner).

Thanks...

--

// NYCAP.RR FAQ:     johannes.ml.org/nycaptech.htm


 
 
 

1. Connecting two machines:; Client only communicate with server when server continuously pings client.

Server:
Linux 2.0.29
Smc Etherez 8149
Loadable module for smc ultra v2.00
Crossover wires or smc hub and store bought cables
No Dns
No Error messages on boot up
No Error messages in logs
No problems networking locally in the server
No problem pinging the client (Linux/win)

Client:
Linux 2.0.29/Win
3com etherlink3 lan+33.6 3C562D/3C563D (pcmcia)
Pcmcia Card Services v2.9.2 or higher to version that supports the card
specifically.
No Dns
No Error messages on boot up
No Error messages in logs
No problems networking locally in the client

Problem:
Unless the Server is continuously pinging clients ip # ,
the client will comunicate with the server for a few moments, then stop.
Once I start pinging the client from the server they communicate fine.

When I run both machines in win with NetBEUI, it runs as smooth as silk.

Thanks Harley


2. Problems with Miro Crystal 8S card!

3. DHCP server and client same machine

4. Bank's faith in Linux pays dividends

5. How to run DHCP server & client on same machine?

6. Apache and $QUERY_STRING

7. DHCP client and server for same machine

8. - 2.5.74 - (frame buffer & radeonfb) - no setfont, loadkeys on all tty

9. DHCP Client and Server, two nics, one Linux machine-->configuration problem

10. DHCP Linux Client at NT-DHCP Server

11. Sunray as DHCP client to NT DHCP server

12. Redhat 9.0 dhcp client & windows 2003 dhcp server: dynamic dns update

13. Setting up a linux dhcp client with a win98 dhcp server??