Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-02-07
9
Medium Priority
?
911 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 124
ID: 38865704
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
ID: 38865725
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
ID: 38865764
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 124
ID: 38865786
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
 
LVL 1

Author Comment

by:JohnArmstrong
ID: 38865874
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 124
ID: 38865887
Yes, thats where its changed.

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

Author Comment

by:JohnArmstrong
ID: 38886464
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 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 38886748
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
ID: 38916170
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
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…

963 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