Sorry for bumping such an old thread, but it pertains to a problem I'm having as well. I'm trying to setup a DHCP server in TC and just test assigning IPs to a Windows machine (manually first, then I'll automate it through bootlocal). Assigning of IP works fine to my target machine but I cannot ping it either way (running Wireshark shows that TC is sending echo request packets, but I don't get a response so it's useless). Here is how I'm configuring eth0:
ifconfig eth0 192.168.1.23 netmask 255.255.255.0 broadcast 192.168.1.255
route add default gw 192.168.1.1 eth0
And here is my udhcpd.conf file (using the cmd udhcpd /etc/udhcpd.conf & to start it):
start 192.168.1.100
end 192.168.1.200
interface eth0
option subnet 255.255.255.0
option router 192.168.1.1
lease_file /tmp/udhcpd.leases
pidfile /tmp/udhcpd.pid
What am I missing? Again, the udhcpd assigns the IP just fine, but I can't talk to the target machine. This is all local (LAN) so I don't think setting up nameservers or DNS is necessary but I may be mistaken here. My ultimate goal is to boot TC as a live CD and have it act as a PXE boot environment, so my plan is to setup eth0 first, then start DHCP server, then TFTP server.
EDIT: Think I got it working. One of the other adapters was on the 192.168.1.* subnet as well and seemed to have been interfering with it. Now just working on mounting it and then automating the process. Thanks. Will leave this post here for those who are having problems as well.