Date: Sun, 18 Nov 2001 21:22:05 -0800 (PST) From: Doug Ambrisko <ambrisko@ambrisko.com> To: Garance A Drosihn <drosih@rpi.edu> Cc: Doug Ambrisko <ambrisko@ambrisko.com>, freebsd-emulation@FreeBSD.ORG Subject: Re: FYI, multiple vmwares is possible but is a hack Message-ID: <200111190522.fAJ5M5u80672@ambrisko.com> In-Reply-To: <p05101006b81e0fd1fae9@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
Garance A Drosihn writes: | Way back on June 12/2001, Doug Ambrisko wrote: | >I have 2 vmwares running. I got the second one running by creating another | >vmmon with a different name but same number of characters: FYI a simplier method is to use the latest code at: http://www.mindspring.com/~vsilyaev/vmware/files/FreeBSD-README.html which just does the right thing and doesn't need my hack. | which seemed to do the right thing (I get the same output from 'ls' as | Doug listed). The second machine gets an error at startup though, with | vmware complaining: | "Could not open /dev/vmnet1. Device or resource busy. | Failed to configure ethernet0". | | I expect that's because I don't know what do about the part where Doug | says "I define non-conflicting devices, and use netgraph...". Do I | need to duplicate /usr/local/etc/rc.d/vmware.sh , and have it create | a vmnet2 device? If so, how do I get the second-vmnet device? I tried | duplicating the startup-script, and changing vmnet1 to vmnet2, but that | didn't work because 'ifconfig' doesn't know about a vmnet2 interface. You need more vmnet devices look at such as: a21p% ls -l /compat/linux/dev/vmnet* crw-r--r-- 1 root wheel 149, 0x00010001 Nov 16 15:44 /compat/linux/dev/vmnet1 crw-r--r-- 1 root wheel 149, 0x0001000a Oct 23 13:15 /compat/linux/dev/vmnet10 crw-r--r-- 1 root wheel 149, 0x0001000b Oct 12 16:24 /compat/linux/dev/vmnet11 crw-r--r-- 1 root wheel 149, 0x00010002 Oct 13 21:28 /compat/linux/dev/vmnet2 crw-r--r-- 1 root wheel 149, 0x00010003 Oct 15 08:58 /compat/linux/dev/vmnet3 crw-r--r-- 1 root wheel 149, 0x00010004 Oct 23 13:15 /compat/linux/dev/vmnet4 crw-r--r-- 1 root wheel 149, 0x00010005 Oct 23 13:17 /compat/linux/dev/vmnet5 crw-r--r-- 1 root wheel 149, 0x00010006 Oct 15 08:58 /compat/linux/dev/vmnet6 crw-r--r-- 1 root wheel 149, 0x00010007 Oct 15 08:58 /compat/linux/dev/vmnet7 crw-r--r-- 1 root wheel 149, 0x00010008 Oct 12 17:08 /compat/linux/dev/vmnet8 crw-r--r-- 1 root wheel 149, 0x00010009 Oct 12 12:40 /compat/linux/dev/vmnet9 a21p% If you want to bridge a bunch then you need modify the vmnware script to do that. Define in vmware the Ethernet types as custom and then enter /dev/vmnet<n> name. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111190522.fAJ5M5u80672>