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
/opt/vkernel/rootimg.01

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 192.168.3.1

in vkernel:
# ifconfig vke0 inet 192.168.3.101
# ping 192.168.3.100
PING 192.168.3.100 (192.168.3.100): 56 data bytes
64 bytes from 192.168.3.100: icmp_seq=0 ttl=64 time=150.647 ms
64 bytes from 192.168.3.100: icmp_seq=1 ttl=64 time=79.600 ms
64 bytes from 192.168.3.100: icmp_seq=2 ttl=64 time=19.967 ms
64 bytes from 192.168.3.100: icmp_seq=3 ttl=64 time=19.941 ms
64 bytes from 192.168.3.100: icmp_seq=4 ttl=64 time=19.926 ms
64 bytes from 192.168.3.100: icmp_seq=5 ttl=64 time=99.924 ms
^C
--- 192.168.3.100 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

192.168.3.100 is a real machine.

vke patch is updated, I will poke Sascha to commit it for me ;-):
http://leaf.dragonflybsd.org/~sephe/vke.diff

Cheers,
sephe

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 192.168.4.6 netmask 0xffffff00 broadcast 192.168.4.255 : 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
    write!

Sephe, please commit it!

-Matt




--
Live Free or Die



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