Solved

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

Posted on 2013-02-07
9
839 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 120
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
Technology Partners: 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 120
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 120
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 120

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
An article on effective troubleshooting
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

738 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