From owner-freebsd-questions Wed Oct 17 0:28:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.switch.aust.com (ppp63.adsl238.pacific.net.au [203.143.238.63]) by hub.freebsd.org (Postfix) with ESMTP id 4E3E837B408 for ; Wed, 17 Oct 2001 00:28:51 -0700 (PDT) Received: from smtp2.switch.aust.com (IDENT:root@ras.wa [10.0.1.140]) by mail.switch.aust.com (8.9.3/8.9.3) with ESMTP id RAA08727; Wed, 17 Oct 2001 17:28:44 +1000 X-Authentication-Warning: server1.ussbris: Host IDENT:root@ras.wa [10.0.1.140] claimed to be smtp2.switch.aust.com Received: from freebsd06.udt (nelsont@freebsd06.udt [10.0.2.56]) by smtp2.switch.aust.com (8.11.3/8.11.3) with SMTP id f9H7kaw28297; Wed, 17 Oct 2001 15:46:36 +0800 Received: by freebsd06.udt (sSMTP sendmail emulation); Wed, 17 Oct 2001 15:22:00 +0800 Date: Wed, 17 Oct 2001 15:22:00 +0800 From: Trent Nelson To: freebsd-questions@FreeBSD.org Cc: archie@dellroad.org Subject: VMware and netgraph -- hosting a Linux guest OS in FreeBSD. Message-ID: <20011017152200.A7817@freebsd06.udt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [ Archie, I've CC'd you 'cause your name continuously came up when I was trolling the 'net trying to figure this out. ] I'm running FreeBSD 4.3 and VMware 2.0.3 and I'm trying hopelessly to set up networking between the FreeBSD host and the Linux (RedHat 6.2) guest OS. Instead of obfuscating the e-mail with all the various things I've tried (in terms of host/guest IP configurations) -- I'll just state what my situation is and what I'd like to do. - My FreeBSD box (freebsd06) is connected to my work LAN. We use the 10.0.2/24 class. My IP is 10.0.2.56 and our default gate- way is 10.0.2.1. - I'd like the Linux machine (linux06) to be visible on the LAN as 10.0.2.116. The following snippets are from the configuration files I'm assuming are pertinent to getting this working. Question marks represent values I'm not sure what to set to -- values that I've specified represent what I *think* to be the needed/correct value. On freebsd06: 1. ~/vmware/linux/linux.cfg # Networking ethernet0.present = TRUE ethernet0.connectionType = hostOnly # Hints ethernet0.vnet = /dev/vmnet1 2. /usr/local/etc/vmware/config vmnet1.HostOnlyAddress = ? vmnet1.HostOnlyNetMask = ? 3. /usr/local/etc/rc.d/vmware.sh networking=1 bridged=YES bridge_interface=fxp0 On linux06: 4. /etc/sysconfig/network-scripts/ifcfg-eth0 (This represents the configuration file for the AMD ``pcnet32'' NIC VMware provides the guest OS) DEVICE = eth0 BOOTPROTO = static IPADDR = ? NETMASK = ? GATEWAY = ? HOSTNAME = linux06.udt DOMAIN = udt I've been lost up until now 'cause of FreeBSD's use of netgraph to do the bridging -- it makes it extremely hard to find any examples and tends to make all VMware related help quite misleading. Thanks in advance. Trent. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message