Solved

How to pass syslog data through to VirtualBox guest OS (WindowsXP)?

Posted on 2013-02-07
9
791 Views
Last Modified: 2013-02-21
I have Virtual Box running on my workstation. I'm using it as a test system and have Kiwi Syslog server running on the Virtual Box guest OS. I'm trying to get another system to report in with it's logs to the syslog server. That computer is running the kiwi log forwarder.

My workstation 164.140.88.7
VirtualBox external virtualized interface 192.168.56.1
VirtualBox guest internal virtualized interface 10.0.2.15
Trying to send logs from 164.140.88.20 to the syslog server running on the Virtualbox.

I've tried configuring the log forwarder to send to my workstation ip, the Virtualbox internal and external interface's without success. Am I supposed to bridge the Virtual Box internal ip to that of my workstation's ip?  I'm lost!! Hope a networking pro can assist. Thanks
0
Comment
Question by:JohnArmstrong
  • 5
  • 4
9 Comments
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
The easiest way of dealing with virtual machine and hosts is to use Bridged Networking in the VMs.

so check your VM networking and firewalls and change to Bridged.

if you want to use NAT, you must used Advanced NAT in the VM, and create rules to forward tcp/udp ports to the VM.
0
 
LVL 1

Author Comment

by:JohnArmstrong
Comment Utility
Thanks for the feedback, can you clarify a little?  Should I bridge the VirtualBox Guest OS internal IP to that of my workstation or to that of my VirtualBox ext interface?  Not sure I'm close to what you are suggesting.

I had tried using the bridge feature in the VirtualBox interface options (I attached a screen shot) but it put a stop to my access to the web, I was unable to reach a webpage on the Guest OS after that, maybe I didn't wait long enough for the changes to take effect?
interface.jpg
0
 
LVL 1

Author Comment

by:JohnArmstrong
Comment Utility
Attached is the screen shot of the Bridged setting that I used in Virtual Box. But I'm not sure what I'm bridging by enabling this?  The GuestOS internal IP to that of my workstation?  Thanks!
interface.jpg
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
when you bridge the VM interface to the Host Interface, ALL Interfaces will be on the same LAN, with the same IP Address, reducing networking issues.

Assuming you use DHCP on your LAN
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Author Comment

by:JohnArmstrong
Comment Utility
Thank you for the clarification. I'll bridge the VM interface to the Host interface. Is that the step I show in the screen capture (from the VirtualBox config settings) or do I perform that step elsewhere? Our LAN is all static IP, how does that impact it?  Thanks Again!!!
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
Yes, thats where its changed.

you will need to assign a static IP address to this VM.
0
 
LVL 1

Author Comment

by:JohnArmstrong
Comment Utility
Question on assigning the ip. Am I assigning static IP to the internal VM interface or the external interface of the guest OS?  Thanks
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
If using bridged, the VM should pick an IP address from DHCP server if you use one, otherwise assign a static IP address.
0
 
LVL 1

Author Closing Comment

by:JohnArmstrong
Comment Utility
I wasn't quite clear on whether the ip I'm assigning is on the internal guest OS or the VM external ip that is configured in the VM settings.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now