Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@vsrinivas
Created January 31, 2013 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vsrinivas/4687728 to your computer and use it in GitHub Desktop.
Save vsrinivas/4687728 to your computer and use it in GitHub Desktop.
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