NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dhcpcd vs dhclient: part II (fxp0)



Hi,

we recently had that sort of "comparison" between dhclient and dhcpcd.
I stated having isssues, but don't rememeber exactly which/where/what. Now I can come back to that.

I recently upgraded my ThinkPad from 7.1 to 7.1.1

This is the interface:

fxp0 at pci1 dev 8 function 0: Intel PRO/100 VE (MOB) Network Controller (rev. 0x81)
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:0d:60:75:47:b4
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto


I booted the new installer kernel to perform an upgrade. I couldn't attach to the network until I "forced" the media, then dhcpcd worked.

Now, on the upgraded system, I notice the same:

dhcpcd[819]: version 6.7.1 starting
dhcpcd[819]: fxp0: adding address fe80::c0a0:4ddf:c7ca:79f8
dhcpcd[819]: DUID 00:01:00:01:1e:2d:6f:f1:00:0c:f1:2e:4a:3b
dhcpcd[819]: fxp0: IAID 60:75:47:b4
dhcpcd[819]: fxp0: carrier lost
dhcpcd[819]: fxp0: deleting address fe80::c0a0:4ddf:c7ca:79f8
dhcpcd[819]: fxp0: carrier acquired
dhcpcd[819]: fxp0: adding address fe80::c0a0:4ddf:c7ca:79f8
dhcpcd[819]: fxp0: IAID 60:75:47:b4
dhcpcd[819]: fxp0: carrier lost
dhcpcd[819]: fxp0: deleting address fe80::c0a0:4ddf:c7ca:79f8
dhcpcd[819]: fxp0: carrier acquired
dhcpcd[819]: fxp0: adding address fe80::c0a0:4ddf:c7ca:79f8
dhcpcd[819]: fxp0: IAID 60:75:47:b4
dhcpcd[819]: fxp0: carrier lost
dhcpcd[819]: fxp0: deleting address fe80::c0a0:4ddf:c7ca:79f8
^Cdhcpcd[819]: received signal INT from PID 0, stopping

This happens both at home and at the office, thus with different networks, switches, network cables.

On the same interface and network, dhclient works! I don't know what trick it has.. but it works.
Dhclient leaves the interface this way:

fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=1400<TCP4CSUM_Rx,UDP4CSUM_Rx>
        enabled=0
        ec_capabilities=1<VLAN_MTU>
        ec_enabled=0
        address: 00:0d:60:75:47:b4
media: Ethernet autoselect (100baseTX full-duplex,flowcontrol,rxpause,txpause)
        status: active

it remains on autoselect 100baseTX full-duplex, which is correct here at the office.

Regards,
Riccardo



Home | Main Index | Thread Index | Old Index