FreeBSDonHyper-V / freebsdonhyperv_obsolete

Early starting src tree of Hyper-V drivers that were duel licensed. No longer used, but retained for history purposes.
2 stars 0 forks source link

Synthetic NIC does not acquire a DHCP address when set to “DHCP” #1

Open nickme opened 12 years ago

nickme commented 12 years ago
Environment:
    Standalone W2K8 R2 server.
    VM with FreeBSD 8.2 and the enlightenment drivers installed

Add a synthetic NIC to the VM, then boot the VM
Configuring synthetic NIC for automatic DHCP configuration
Edit /etc/rc.conf and add following line
    ifconfig_hn0=”DHCP”
Reboot the VM

No IP address is assigned to hn0
After logging in, the command “dhclient hn0” completes successfully

Modifying /etc/rc.conf to the following
    ifconfig_hn0=”SYNCDHCP”
Reboot the VM

This works, but UDP errors are present
    bsdtest# ifconfig hn0 up
    bsdtest# dhclient hn0
    DHCPREQUEST on hn0 to 255.255.255.255 port 67
    ip length 328 disagrees with bytes received 342.
    accepting packet with data after udp payload.
    DHCPNAK from 10.200.40.41
    DHCPDISCOVER on hn0 to 255.255.255.255 port 67 interval 6
    ip length 329 disagrees with bytes received 343.
    accepting packet with data after udp payload.
    ip length 335 disagrees with bytes received 349.
    accepting packet with data after udp payload.
    DHCPOFFER from 10.200.40.41
    DHCPREQUEST on hn0 to 255.255.255.255 port 67
    ip length 335 disagrees with bytes received 349.
    accepting packet with data after udp payload.
    DHCPACK from 10.200.40.41
    bound to 10.200.49.251 -- renewal in 43200 seconds.
chrisjsmith commented 10 years ago

Can repeat this on Hyper-V on Windows 8.1 with FreeBSD 10.0 as well.