dhclient problem: send_packet: Network is unreachable
vances at motivity.ca
Wed Jan 5 11:26:25 PST 2005
I am having a problem using dhclient under FreeBSD 5.3-STABLE.
feeble# /sbin/dhclient -v rl0
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Listening on BPF/rl0/00:00:21:ef:1d:a0
Sending on BPF/rl0/00:00:21:ef:1d:a0
Sending on Socket/fallback
DHCPREQUEST on rl0 to 192.168.113.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
DHCPDISCOVER on rl0 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.113.1
DHCPREQUEST on rl0 to 255.255.255.255 port 67
DHCPACK from 192.168.113.1
bound to 192.168.113.126 -- renewal in 1621 seconds.
It ends up getting a lease however when it expires it gets another
one and never renews the existing lease. This cause the IP address
of the machine to change periodically causing connections to fail.
This client workstation is on an ethernet which is directly attached
to another FreeBSD 5.3-STABLE machine which is acting as a bridge
and wireless access point. The other two machines work fine.
| 5.3-STABLE +--- ath0 802.11b
sis1 | | sis2
+----------------+ | |
rl0 | | | wi0
+------+-----+ +------+-----+ +------+------+
| 5.3-STABLE | | Solaris 8 | | 4.10-STABLE |
+------------+ +------------+ +-------------+
On the rt machine running 5.3-STABLE I am using bridge(4) to make
the sis1 and sis2 ethernet interfaces bridged with the 802.11b
interface ath0 which is assigned ip address 192.168.113.1.
On the feeble workstation running 5.3-STABLE I see the following
in the syslog periodically:
arp: 192.168.113.1 moved from 00:00:24:c1:56:25 to 00:02:6f:20:38:4a on rl0
The first mac address in the above is sis1 and the latter ath0.
Much less often I see the same message with the mac addresses reversed.
On the rt machine running 5.3-STABLE I see the following in the debug log:
dhcpd: ICMP Echo reply while lease 192.168.113.125 valid.
And in the syslog:
dhcpd: Abandoning IP address 192.168.113.125: pinged before offer
I have looked at the README file regarding broadcast address as is
suggested in the message above however it has no specific notes for
FreeBSD on this subject. I tried added a host route to 255.255.255.255
however it didn't seem to have any effect.
Anybody have any idea what I can do to fix this?
More information about the freebsd-questions