Link to home
Start Free TrialLog in
Avatar of JohnArmstrong
JohnArmstrong

asked on

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

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
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
Avatar of JohnArmstrong
JohnArmstrong

ASKER

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
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
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
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!!!
Yes, thats where its changed.

you will need to assign a static IP address to this VM.
Question on assigning the ip. Am I assigning static IP to the internal VM interface or the external interface of the guest OS?  Thanks
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.