Solved

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

Posted on 2013-02-07
9
822 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 119
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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 119
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 119
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 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

830 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