DragonFly kernel List (threaded) for 2007-01
DragonFly BSD
DragonFly kernel List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: VKernel progress update - 8 Jan 2006 (milestone reached!)

From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Wed, 10 Jan 2007 20:45:02 +0800

Mahaha, I can ping real machine in vkernel now :D

sephe-test1:VKERNEL# ./kernel.debug -m 128m -I /dev/tap0 -r

on another terminal:
sephe-test1:~# ifconfig bridge0 create
sephe-test1:~# ifconfig tap0 up
sephe-test1:~# ifconfig re0 up
sephe-test1:~# ifconfig bridge0 addm tap0 addm re0
sephe-test1:~# ifconfig bridge0 inet

in vkernel:
# ifconfig vke0 inet
# ping
PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=64 time=150.647 ms
64 bytes from icmp_seq=1 ttl=64 time=79.600 ms
64 bytes from icmp_seq=2 ttl=64 time=19.967 ms
64 bytes from icmp_seq=3 ttl=64 time=19.941 ms
64 bytes from icmp_seq=4 ttl=64 time=19.926 ms
64 bytes from icmp_seq=5 ttl=64 time=99.924 ms
--- ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max/stddev = 19.926/65.001/150.647/49.763 ms is a real machine.

vke patch is updated, I will poke Sascha to commit it for me ;-):


On 1/10/07, Matthew Dillon <dillon@apollo.backplane.com> wrote:

:> Would someone like to write a pseudo network driver for the virtual :> kernel this week, for the release? Sephe maybe? It has to be someone :> familiar with NETIF due to our release deadline. The :> /usr/src/sys/dev/virtual/net directory is empty and waiting! : :./kernel.debug -I /dev/tap0 -r /opt/vkernel/rootimg.01 -m 128m : :# ifconfig vke0 :vke0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 : inet netmask 0xffffff00 broadcast : inet6 fe80::2257:ff:fe00:0%vke0 prefixlen 64 scopeid 0x1 : ether 20:57:00:00:00:00 : ::DD : :http://leaf.dragonflybsd.org/~sephe/vke.diff : :Hope ppl can improve it, when I wake up tomorrow. : :Best Regards, :sephe

    Holy cow, I really expected that to take more then 10 minutes to

Sephe, please commit it!


Live Free or Die

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