dhcp dns setup fails
Project: | JNode Core |
Component: | Miscellaneous |
Category: | bug report |
Priority: | normal |
Assigned: | hagar |
Status: | closed |
Jump to:
Description
Checking the dhcp setup I found the dns setup is failing.
- Login to post comments
Project: | JNode Core |
Component: | Miscellaneous |
Category: | bug report |
Priority: | normal |
Assigned: | hagar |
Status: | closed |
Checking the dhcp setup I found the dns setup is failing.
#1
Problem solved/fixed:
Remember to give loopback a ip address like this:
ifconfig loopback 127.0.0.1 255.255.255.255
and then run dhcp like this example:
dhcp eth-pci(0,16,0)
#2
#3
I am reopening this issue to add a patch to the 'dhcp' command.
If you run 'dhcp' before the loopback interface is configured with IP 127.0.0.1, the network layer gets into a strange state that (AFAIK) is only cured by a reboot. This patch avoids this by having 'dhcp' explicitly check that the loopback interface has '127.0.0.1' as one of its IP addresses. If not, it gives up with an informative message.
#4
Applied patch and marked this issue as fixed.