Hello,
I just read a post from Feb. 6, 2002
(http://archives.neohapsis.com/archives/openbsd/2002-02/0186.html) but one
the people's email address is no longer valid. So I might be asking the
same question.
I have just installed OpenBSD 3.1 to build a router. I live in Ottawa, and
I used to have Bell HSE and so it was easier with PPPoE. Now it should be
even *more* easier, but I'm not able to get the IP from Roger's DCHP server.
I even tried hard coding the IP address, gateway, DNS, routing table...still
with no luck. I also believe that Roger's version of DHCP server is sort of
a quick hack and that they're not following the constraints of the protocol.
Then again I could be wrong.
I did a "#windump -vv -x -s 1500 -e udp port 67" on my windows box to see
what RENEW in winipcfg.exe did and got the following:
20:15:18.176056 0.0.0.0.68 > 255.255.255.255.67: xid:0x6404a874
vend-rfc1048 DHCP:DISCOVER
CID:01:00:80:c6:fe:b3:de RQ:24.192.17.82 HN:"Micron" VC:77.83.70.84.32.57.56
PR:SM+DN+DG+NS+WNS+WNT+WSC+RD+SR+VO+CLASS
20:15:18.192519 10.44.80.1.67 > 24.192.17.82.68: xid:0x6404a874
Y:24.192.17.82 S:24.153.22.196 G:24.192.17.65 file "rogers01.cfg"
vend-rfc1048 DHCP:OFFER
SID:24.153.22.139 SM:255.255.255.224 DN:"slnt.phub.net.cable.rogers.com"
NS:24.153.22.195,24.153.22.67 DG:24.192.17.65 LT:604800 RN:86400
04:36:43.312275 0.0.0.0.68 > 255.255.255.255.67: xid:0x6404a874
vend-rfc1048 DHCP:REQUEST
CID:01:00:80:c6:fe:b3:de RQ:24.192.17.82 SID:24.153.22.139 HN:"Micron"
VC:77.83.70.84.32.57.56 PR:SM+DN+DG+NS+WNS+WNT+WSC+RD+SR+VO+CLASS
20:15:18.208240 10.44.80.1.67 > 24.192.17.82.68: xid:0x6404a874
Y:24.192.17.82 S:24.153.22.196 G:24.192.17.65 file "rogers01.cfg"
vend-rfc1048 DHCP:ACK
SID:24.153.22.139 SM:255.255.255.224 DN:"slnt.phub.net.cable.rogers.com"
NS:24.153.22.195,24.153.22.67 DG:24.192.17.65 LT:604800 RN:86400
Now when I did a "#tcpdump -vv -x -s 1500 -e udp port 67" on my OpenBSD box,
I would get only the DHCP:DISCOVER with the following (please not this isn't
an exact cut-and-paste job):
CID:01:00:80:c6:fe:b3:de HN:"Micron PR:SM+DN+DG+NS
This did not get me an IP address because it appears I missed out on the
requested items "PR: WNS+WNT+WSC+RD+SR+VO+CLASS" and I'm also missing the
"VC: VC:77.83.70.84.32.57.56" field as well as the "RQ: 24.192.17.82" field,
which is my previously request IP address.
Does anybody know I can add those fields into my dhclient.conf file by sort
of reverse engineering what the Windows Box is sending on DHCP:DISCOVER?
Does anybody have a workaround for this? Will using the WIDE implementation
of DHCP client remedy this?
Thanks in advance,
Roy Assaly