Date: Sat, 30 Jun 2001 22:10:49 +0900 From: Yasuhito KAMINAGA <kaminaga@nat.gunma-ct.ac.jp> To: freebsd-questions@FreeBSD.ORG Subject: vmware2-2.0.3.799_2 problem Message-ID: <20010630221049I.kaminaga@nat.gunma-ct.ac.jp>
next in thread | raw e-mail | index | archive | help
I installed vmware2-2.0.3.799_2 port as:
=======================================================================
% pwd /somewhere/else
% tar xvzf vmware.tar.gz
% cd files
% cp /usr/ports/emurators/vmware2/files/Makefile.vmmon .
% cd ..
% su
# make
Do you want to use vmware bridging networking?
yes (return)
To which interface would you like to tie the bridge?:
fxp0
OK (return)
What will be the IP address of your host
on your private network?
172.16.66.62 (return) <--- IP of Guest PC
What will be the netmask of your private network?:
255.255.248.0 <--- Netmask of my network
OK (return)
# make install
# cd /sys/net/
# patch < /somewhere/else/files/tap.diff
and rebuilt the kernel.
=======================================================================
After rebooting, however, FreeBSD complains as
Local package initialization: rtcifconfig: ioctl (SIOCAIFADDR): File exists
ngctl: send msg: Network is down
VMware
Indeed, I have no reply for "ping 172.16.66.62."
(Except for 172.16.66.62, I have replies.)
IP of the host PC is 172.16.66.61, and that of guest PC is 172.16.66.62.
My FreeBSD version is 4.3-RELEASE.
When I install vmware2-2.0.3.799_1, it works fine.
The last two lines of /usr/local/etc/vmware/config is changed as
vmnet1.HostOnlyAddress = "172.16.66.62"
vmnet1.HostOnlyNetMask = "255.255.248.0"
Can anyone solve this problem?
I obtain the following messages:
% dmesg
.................
.................
/dev/vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-570 $
/dev/vmmon: Module vmmon: initialized
fxp0: promiscuous mode enabled
% kldstat
Id Refs Address Size Name
1 10 0xc0100000 34b718 kernel
2 1 0xc124d000 6000 linprocfs.ko
3 3 0xc1278000 12000 linux.ko
4 1 0xc129b000 2000 rtc.ko
5 1 0xc12a0000 9000 vmmon_up.ko
6 1 0xc12ac000 5000 if_tap.ko
7 4 0xc12b3000 8000 netgraph.ko
8 1 0xc12bd000 3000 ng_ether.ko
9 1 0xc12c0000 4000 ng_bridge.ko
10 1 0xc12c5000 3000 ng_socket.ko
# ngctl show vmnet_bridge:
Name: vmnet_bridge Type: bridge ID: 00000005 Num hooks: 3
Local hook Peer name Peer type Peer ID Peer hook
---------- --------- --------- ------- ---------
link2 fxp0 ether 00000001 upper
link1 fxp0 ether 00000001 lower
link0 vmnet0 ether 00000002 lower
% ifconfig -a
fxp0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
inet 172.16.66.61 netmask 0xfffff800 broadcast 172.16.71.255
inet6 fe80::202:b3ff:fe1c:72ed%fxp0 prefixlen 64 scopeid 0x1
ether 00:02:b3:1c:72:ed
media: autoselect (10baseT/UTP) status: active
supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
faith0: flags=8000<MULTICAST> mtu 1500
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
vmnet0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
ether 00:bd:cb:09:00:00
vmnet1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 172.16.66.62 netmask 0xfffff800 broadcast 172.16.71.255
inet6 fe80::2bd:ccff:fe09:1%vmnet1 prefixlen 64 scopeid 0xc
ether 00:bd:cc:09:00:01
% netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 172.16.64.10 UGSc 1 0 fxp0
127.0.0.1 127.0.0.1 UH 0 1 lo0
172.16.64/21 link#1 UC 0 0 fxp0 =>
Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UH lo0
fe80::%fxp0/64 link#1 UC fxp0
fe80::%lo0/64 fe80::1%lo0 Uc lo0
fe80::%vmnet1/64 link#12 UC vmnet1
ff01::/32 ::1 U lo0
ff02::%fxp0/32 link#1 UC fxp0
ff02::%lo0/32 fe80::1%lo0 UC lo0
ff02::%vmnet1/32 link#12 UC vmnet1
If I try "ifconfig vmnet0 up" and "ngctl msg vmnet0: setpromisc 1,"
the problem persists.
Yasuhito Kaminaga <kamianga@nat.gunma-ct.ac.jp>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010630221049I.kaminaga>
