Synchrodude wrote:
> George Bell wrote:
>
>> DHCPCD fails to obtain on ip # on my linux box from my ISP - Cox
>> Communications.
>>
>> This is my setup:
>>
>> cox network <----------> cable modem <--------> PC NIC
>>
>> Both tech support at Cox Communications and my own tests prove that
>> my ability to obtain an ip from their DHCP servers should depend only on
>> the cable modem MAC address.
>
> It should be the cable modem MAC address to log onto their network and
> your original computers MAC to get a IP from them. I had to use my MAC
> address from the computer that I originally setup my account with to log
> on.
>
> [snip]
Then how do you explain my results: I'm able to get an ip whenever "PC NIC"
is either a Linksys Router or a Windows 98 computer, but not my linux PC.
Furthermore, Cox tech support tells me that only the MAC address of the
cable modem should matter.
I have a little more information on this now. I've modified my network
slightly to facilitate testing:
cox network <------->cable modem <-------->hub <-------PC NIC DHCPCD (eth1)
<-------PC NIC w/ reserved ip
(eth0)
The second NIC is to "spy" on the other with tcpdump. Of course, this is
not correct because it puts a reserved ip on the same network as the other.
But since its only reading packets off the network, and not sending any, it
appears to work. This is the output of tcpdump listening in on eth0:
09:15:57.548959 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xc8537b01
secs:10 vend-rfc1048 DHCP:REQUEST MSZ:548 SID:172.19.105.19
RQ:68.100.184.95 LT:86400
PR:SM+DG+NS+HN+DN+RP+TTL+BR+MD+RD+SR+YD+YS+NTP+LPR +LOG+T-56
VC:76.105.110.117.120.32.50.46.52.46.49.56.45.52.7 1.66.32.105.53.56.54
CID:01:00:30:84:6d:a8:a7
09:15:57.569937 10.2.0.1.bootps > 255.255.255.255.bootpc: xid:0xc8537b01
secs:10 flags:0x8000 S:172.19.105.19 G:10.2.0.1 ether 0:30:84:6d:a8:a7
vend-rfc1048 DHCP:NACK MSG:"requested address not available" [tos
0x7,ECT,CE]
09:15:57.570581 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x86272f60
secs:10 vend-rfc1048 DHCP

ISCOVER MSZ:548 RQ:68.100.184.95 LT:4294967295
PR:SM+DG+NS+HN+DN+RP+TTL+BR+MD+RD+SR+YD+YS+NTP+LPR +LOG+T-56
VC:76.105.110.117.120.32.50.46.52.46.49.56.45.52.7 1.66.32.105.53.56.54
CID:01:00:30:84:6d:a8:a7
09:15:57.576548 arp who-has 68.100.126.150 tell 68.100.112.1
09:15:57.604571 arp who-has 68.100.118.201 tell 68.100.112.1
09:15:57.606106 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x86272f60
secs:10 vend-rfc1048 DHCP:REQUEST MSZ:548 SID:172.19.105.19
RQ:68.100.184.95 LT:86400
PR:SM+DG+NS+HN+DN+RP+TTL+BR+MD+RD+SR+YD+YS+NTP+LPR +LOG+T-56
VC:76.105.110.117.120.32.50.46.52.46.49.56.45.52.7 1.66.32.105.53.56.54
CID:01:00:30:84:6d:a8:a7
09:15:57.611617 arp who-has 68.100.118.85 tell 68.100.112.1
09:15:57.623854 arp who-has 68.100.184.58 tell 68.100.184.1
09:15:57.629636 10.2.0.1.bootps > 255.255.255.255.bootpc: xid:0x86272f60
secs:10 flags:0x8000 S:172.19.105.19 G:10.2.0.1 ether 0:30:84:6d:a8:a7
vend-rfc1048 DHCP:NACK MSG:"requested address not available" [tos
0x7,ECT,CE]
09:15:57.630182 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xaeaa3e5b
secs:10 vend-rfc1048 DHCP

ISCOVER MSZ:548 RQ:68.100.184.95 LT:4294967295
PR:SM+DG+NS+HN+DN+RP+TTL+BR+MD+RD+SR+YD+YS+NTP+LPR +LOG+T-56
VC:76.105.110.117.120.32.50.46.52.46.49.56.45.52.7 1.66.32.105.53.56.54
CID:01:00:30:84:6d:a8:a7
09:15:57.634130 arp who-has 68.100.123.26 tell 68.100.112.1
09:15:57.639157 arp who-has 68.100.184.65 tell 68.100.184.1
09:15:57.654332 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xaeaa3e5b
secs:10 vend-rfc1048 DHCP:REQUEST MSZ:548 SID:172.19.105.19
RQ:68.100.184.95 LT:86400
PR:SM+DG+NS+HN+DN+RP+TTL+BR+MD+RD+SR+YD+YS+NTP+LPR +LOG+T-56
VC:76.105.110.117.120.32.50.46.52.46.49.56.45.52.7 1.66.32.105.53.56.54
CID:01:00:30:84:6d:a8:a7
09:15:57.674967 arp who-has 68.100.127.38 tell 68.100.112.1
09:15:57.678387 10.2.0.1.bootps > 255.255.255.255.bootpc: xid:0xaeaa3e5b
secs:10 flags:0x8000 S:172.19.105.19 G:10.2.0.1 ether 0:30:84:6d:a8:a7
vend-rfc1048 DHCP:NACK MSG:"requested address not available" [tos
0x7,ECT,CE]
09:15:57.678926 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x33b2cb4c
secs:10 vend-rfc1048 DHCP

ISCOVER MSZ:548 RQ:68.100.184.95 LT:4294967295
PR:SM+DG+NS+HN+DN+RP+TTL+BR+MD+RD+SR+YD+YS+NTP+LPR +LOG+T-56
VC:76.105.110.117.120.32.50.46.52.46.49.56.45.52.7 1.66.32.105.53.56.54
CID:01:00:30:84:6d:a8:a7
09:15:57.687276 arp who-has 68.100.126.157 tell 68.100.112.1
09:15:57.703279 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x33b2cb4c
secs:10 vend-rfc1048 DHCP:REQUEST MSZ:548 SID:172.19.105.19
RQ:68.100.184.95 LT:86400
PR:SM+DG+NS+HN+DN+RP+TTL+BR+MD+RD+SR+YD+YS+NTP+LPR +LOG+T-56
VC:76.105.110.117.120.32.50.46.52.46.49.56.45.52.7 1.66.32.105.53.56.54
CID:01:00:30:84:6d:a8:a7
09:15:57.722602 10.2.0.1.bootps > 255.255.255.255.bootpc: xid:0x33b2cb4c
secs:10 flags:0x8000 S:172.19.105.19 G:10.2.0.1 ether 0:30:84:6d:a8:a7
vend-rfc1048 DHCP:NACK MSG:"requested address not available" [tos
0x7,ECT,CE]
09:15:57.723143 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x5d20a823
secs:10 vend-rfc1048 DHCP

ISCOVER MSZ:548 RQ:68.100.184.95 LT:4294967295
PR:SM+DG+NS+HN+DN+RP+TTL+BR+MD+RD+SR+YD+YS+NTP+LPR +LOG+T-56
VC:76.105.110.117.120.32.50.46.52.46.49.56.45.52.7 1.66.32.105.53.56.54
CID:01:00:30:84:6d:a8:a7
09:15:57.750987 arp who-has 68.100.5.139 tell 68.100.4.1
09:15:57.757096 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x5d20a823
secs:10 vend-rfc1048 DHCP:REQUEST MSZ:548 SID:172.19.105.19
RQ:68.100.184.95 LT:86400
PR:SM+DG+NS+HN+DN+RP+TTL+BR+MD+RD+SR+YD+YS+NTP+LPR +LOG+T-56
VC:76.105.110.117.120.32.50.46.52.46.49.56.45.52.7 1.66.32.105.53.56.54
CID:01:00:30:84:6d:a8:a7
09:15:57.779852 10.2.0.1.bootps > 255.255.255.255.bootpc: xid:0x5d20a823
secs:10 flags:0x8000 S:172.19.105.19 G:10.2.0.1 ether 0:30:84:6d:a8:a7
vend-rfc1048 DHCP:NACK MSG:"requested address not available" [tos
0x7,ECT,CE]
09:15:57.780374 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xe5ce0a11
secs:10 vend-rfc1048 DHCP

ISCOVER MSZ:548 RQ:68.100.184.95 LT:4294967295
PR:SM+DG+NS+HN+DN+RP+TTL+BR+MD+RD+SR+YD+YS+NTP+LPR +LOG+T-56
VC:76.105.110.117.120.32.50.46.52.46.49.56.45.52.7 1.66.32.105.53.56.54
CID:01:00:30:84:6d:a8:a7
09:15:57.798326 arp who-has 68.100.126.160 tell 68.100.112.1
09:15:57.812108 arp who-has 68.105.182.105 tell 68.105.176.1
Note that: DHCPCD is constantly asking for the address 168.100.184.95
and the server responds with a NAK
Why does it do this !? And there's never any DHCP OFFER messages.
Furthermore, the files dhcpdcd-eth1.cache, dhcpcd-eth1.info are nonexistant
anywhere on the disk. There was supposed to be, I think, a file dhcpcd.exe
or dhcpcd-eth1.exe installed somewhere, but my distro - SUSE 8.0 didn't. I
istalled these files in /sbin but it didn't make any difference.
Great thanks to the previous poster's reply, and any others that could shed
some light on this.
George
--
#
#...