Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
rem# kldload ./if_vtnet.ko
virtio_pci0: host features: 0x711f8060 <EventIdx,0x10000000,NotifyOnEmpty,RxMode
Extra,VLanFilter,RxMode,ControlVq,Status,MrgRxBuf,TxAllGSO,MacAddress>
virtio_pci0: negotiated features: 0x10f8020 <NotifyOnEmpty,VLanFilter,RxMode,Con
trolVq,Status,MrgRxBuf,MacAddress>
vtnet0: MAC address: 52:54:00:12:34:56
add dynamic link state
rem# /sbin/dhclient vtnet0
virtio_pci0: host features: 0x711f8060 <EventIdx,0x10000000,NotifyOnEmpty,RxMode
Extra,VLanFilter,RxMode,ControlVq,Status,MrgRxBuf,TxAllGSO,MacAddress>
virtio_pci0: negotiated features: 0x1078020 <NotifyOnEmpty,RxMode,ControlVq,Stat
us,MrgRxBuf,MacAddress>
DHCPDISCOVER on vtnet0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 10.0.2.2 (52:55:0a:00:02:02)
DHCPREQUEST on vtnet0 to 255.255.255.255 port 67
DHCPACK from 10.0.2.2 (52:55:0a:00:02:02)
bound to 10.0.2.15 -- renewal in 43200 seconds.
rem#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.