Page 1 of 2
Not ping Virtualhost in FreeBSD
Posted: 27. Aug 2009, 13:53
by Valery
Hi!
I install WindowsXP as a Virtual Machine in FreeBSD 7.2
So I created bridge and tap interfaces for working network in Virtual Machine.
I used command fo create interfce in VirtualBox:
VBoxManage modifyvm "Windows" -nic1 bridged -bridgeadapter1 rl0 -nictrace1 on
Windows has Netcard with IP 192.168.100.100 ( ping Ok)
FreeBSD has netcard with IP 192.168.100.200 ( ping Ok)
But I can't ping each other.
What's it?
Thank's
Re: Not ping Virtualhost in FreeBSD
Posted: 27. Aug 2009, 15:51
by vbox4me2
Firewall?
Re: Not ping Virtualhost in FreeBSD
Posted: 27. Aug 2009, 19:38
by Valery
NO
Only bridge.
Re: Not ping Virtualhost in FreeBSD
Posted: 27. Aug 2009, 20:01
by vbox4me2
XP has a firewall which is defaultly on, is that off?
Re: Not ping Virtualhost in FreeBSD
Posted: 28. Aug 2009, 06:34
by Valery
No firewall in WindowsXP
Re: Not ping Virtualhost in FreeBSD
Posted: 28. Aug 2009, 10:04
by Valery
I create tap and bridge with command
ifconfig bridge0 create
ifconfig tap0 create
ifconfig bridge0 addm tap0 addm rl0 up
Where "rl0" - physical interface with IP 192.168.100.200/24
Re: Not ping Virtualhost in FreeBSD
Posted: 28. Aug 2009, 10:06
by Valery
I did like in QEMU.
Net in Virtual Machine work properly.
Re: Not ping Virtualhost in FreeBSD
Posted: 28. Aug 2009, 10:52
by vbox4me2
Gateway pointing elsewhere? what does traceroute say?
Re: Not ping Virtualhost in FreeBSD
Posted: 28. Aug 2009, 11:05
by Valery
No ping ( ping only localhost and local IP)
No traceroute
I try create Vbox under root.
No result.
Re: Not ping Virtualhost in FreeBSD
Posted: 28. Aug 2009, 11:06
by Valery
May be in FreeBSD exist special method of create bridge and tap like for Linux Ubuntu?
Re: Not ping Virtualhost in FreeBSD
Posted: 28. Aug 2009, 11:10
by vbox4me2
Can you ping your router?
Re: Not ping Virtualhost in FreeBSD
Posted: 28. Aug 2009, 11:14
by Valery
Virtual Machine (Windows XP IP - 192.168.100.100) can't ping parent (FreeBSD - IP 192.168.100.200) and can't ping gateway (IP 192.168.100.1)
Traceroute from Windows - no path
Re: Not ping Virtualhost in FreeBSD
Posted: 28. Aug 2009, 11:19
by vbox4me2
That indicates the bridge isn't working at all, vbox version?
Re: Not ping Virtualhost in FreeBSD
Posted: 28. Aug 2009, 11:24
by Valery
vbox -ver. 3.0.51.r22226
No error when starting.
Name: Win
Guest OS: Other/Unknown
UUID: ee667f45-2547-4486-b1af-28ef1ea76ce1
Config file: /root/.VirtualBox/Machines/Win/Win.xml
Memory size: 512MB
VRAM size: 8MB
Number of CPUs: 1
Boot menu mode: message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: off
PAE: off
Time offset: 0 ms
Hardw. virt.ext: on
Nested Paging: off
VT-x VPID: off
State: powered off (since 2009-08-28T09:22:48.000000000)
Monitor count: 1
3D Acceleration: off
Floppy: empty
SATA: disabled
IDE Controller: PIIX4
Primary master: /pub/home/hdaroot (UUID: 1f901521-57d0-455f-87c2-3d4e9f98ea18)
DVD: empty
NIC 1: MAC: 080027644687, Attachment: Bridged Interface 'rl0', Cable connected: on, Trace: on (file: none), Type: Am79C973, Reported speed: 0 Mbps
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
UART 1: disabled
UART 2: disabled
Audio: disabled
Clipboard Mode: Bidirectional
Shared folders: <none>
Re: Not ping Virtualhost in FreeBSD
Posted: 28. Aug 2009, 11:25
by Valery
rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:1e:8c:e9:aa:47
inet 192.168.100.200 netmask 0xffffff00 broadcast 192.168.100.255
media: Ethernet autoselect (100baseTX)
status: active
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 22:af:66:2f:57:b2
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 7 priority 128 path cost 2000000
member: rl0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 2 priority 128 path cost 55
tap0: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:bd

12:00:00