Re: new install not finding DHCP server



Notgiven wrote:
freebsdtest# ifconfig de0
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::203:ffff:fe47:2b50%de0 prefixlen 64 scopeid 0x1
inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
ether 00:03:ff:47:2b:50
media: Ethernet autoselect (100baseTX)
status: active

Ok. Is this address (192.168.1.2) correct? Ie, is it from the DHCP server, and not something you have configured manually in /etc/rc.conf?

If so, try two things:
1) ping the interface itself: ping 192.168.1.2
does it work?
2) ping the ip address of the dhcp server (I'm guessing that this is
192.168.1.1, is that correct?): ping 192.168.1.1
does it work?

If your test here shows that the network interface is not working (ie. one of the tests fail to get an answer), you should give more information.
Route information: 'netstat -r'
and anything in the dmesg about your network interface, example:
'dmesg | grep de0'

Also, the lease (from the dhcp server) is recorded in the file
/var/db/dhclient.leases.<interface_name>
So if you do 'more /var/db/dhclient.leases.de0'
you will see what the dhclient has received. Does it look correct to you?

HTH
--
Torfinn Ingolfsen,
Norway
.



Relevant Pages

  • Re: Revisted Eth1 problem
    ... turning on internet connection sharing ... tends to also turn the box into a DHCP server. ... PING 192.168.0.1 56bytes of data. ... ping: sendmsg: Operation not permitted ...
    (Fedora)
  • Re: Revisted Eth1 problem
    ... tends to also turn the box into a DHCP server. ... Sep 17 11:52:40 reddwarf dhclient: DHCPDISCOVER on eth1 to ... PING 192.168.0.1 56bytes of data. ... ping: sendmsg: Operation not permitted ...
    (Fedora)
  • Re: Revisted Eth1 problem
    ... tends to also turn the box into a DHCP server. ... Sep 17 11:52:40 reddwarf dhclient: DHCPDISCOVER on eth1 to ... PING 192.168.0.1 56bytes of data. ... ping: sendmsg: Operation not permitted ...
    (Fedora)
  • Re: Cannot ping DHCP server, but ipconfig/renew works fine
    ... Computer boots up and gets an IP address from my DHCP server (a ... I can execute the command ipconfig/renew just fine ... but I cannot ping the DHCP server or any other IP address ... Please include a copy of the TCP/IP route table in your reply. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Revisted Eth1 problem
    ... tends to also turn the box into a DHCP server. ... but an update can turn off Internet connection sharing. ... PING 192.168.0.1 56bytes of data. ... ping: sendmsg: Operation not permitted ...
    (Fedora)