David is right, this is probably the best way to do it. Even if the
sender's in question are not powered by rsyslog, it most often is
possible to put something unique into the messages. If there are few
devices (<= 8), you can also use the local syslog facilities to identify
the instances (almost all senders allow to configure that).

In any case, you can then use the unique identifier to sort out messages
to different bins on the receiver.

HTH
Rainer

> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of [email protected]
> Sent: Thursday, January 22, 2009 7:49 AM
> To: rsyslog-users
> Subject: Re: [rsyslog] Multiple devices with same ip address.
> 
> On Wed, 21 Jan 2009, Milton Calnek wrote:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi,
> >
> > I'm running a test lab with gear where every piece of gear
> > under test has the same ip address.
> >
> > I have separated them via vlans, but I want to be able to send
syslog
> > from these devices to a central host... but with everything having
> the
> > same ip address, there doesn't seem to be a way easily separate the
> logs.
> > I see how to log based on ip, but not MAC nor interface.
> >
> > Before I invest in the development time, I was wondering if you
folks
> > have any suggestions?
> 
> if you are running rsyslog on the systems under test, try changing the
> template that rsyslog uses to sent the messages out from
> each system puts something unique in it's logs.
> 
> David Lang
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to