Is there any problems when network config is changed?
Hi, Is there any problems when following occurs? [Precondition] Syslog-ng starts with a config about A-ADDRESS(IP ADDRESS). [Question] 1. Down NIC(A-ADDRESS) with ifdown. → Is there any problems? 2. Change IP-ADDRES from A to B. → Is there any problems? 3. UP NIC(B-ADDRESS) with ifup → Is there any problems? I know that syslog-ng can't start after 3. Thankshiro _________________________________________________________________ 今話題になってる出来事や有名人をランキングで毎週発表「MSN 気になる言葉」 http://keyword.jp.msn.com/default.aspx
Hi,
Hi,
Is there any problems when following occurs?
[Precondition] Syslog-ng starts with a config about A-ADDRESS(IP ADDRESS).
Don't specify IP address if you don't have to.
[Question] 1. Down NIC(A-ADDRESS) with ifdown. → Is there any problems?
Other than the host syslog-ng is running on won't get the network traffic ?
2. Change IP-ADDRES from A to B. → Is there any problems?
Nothing other than the above, as at this point you're not doing any change to the system as the NIC is still down.
3. UP NIC(B-ADDRESS) with ifup → Is there any problems?
I know that syslog-ng can't start after 3.
Of course it can't start because no program can bind to IP addresses not owned by the host the program is running on. What do you want to achieve? Please clarify your question. Sandor -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
Hi, I want to confirm the following point. [Precondition] ・ Syslog-ng server starts with two NICs(IPAddress A, IPAddress B), and it is configurated to received syslog-message with two IPAddress. ・ One client sends syslog-message to IPAddress A, and the other sends to IPAddress B. [Point] I want to change network-config(IPAddress A → C) without stopping syslog-ng service and no influence to client which sends to IPAddress B. Thanks hiro> Date: Fri, 16 Nov 2007 07:29:09 +0000> From: Sandor.Geller@morganstanley.com> To: syslog-ng@lists.balabit.hu> Subject: Re: [syslog-ng] Is there any problems when network config is changed?> > Hi,> > > Hi,> > > > Is there any problems when following occurs?> > > > [Precondition]> > Syslog-ng starts with a config about A-ADDRESS(IP ADDRESS).> > Don't specify IP address if you don't have to.> > > [Question]> > 1. Down NIC(A-ADDRESS) with ifdown. → Is there any problems?> > Other than the host syslog-ng is running on won't get the network> traffic ?> > > 2. Change IP-ADDRES from A to B. → Is there any problems?> > Nothing other than the above, as at this point you're not doing any> change to the system as the NIC is still down.> > > 3. UP NIC(B-ADDRESS) with ifup → Is there any problems?> > > > I know that syslog-ng can't start after 3.> > Of course it can't start because no program can bind to IP addresses> not owned by the host the program is running on.> > What do you want to achieve? Please clarify your question.> > Sandor> --------------------------------------------------------> > NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.> _______________________________________________> syslog-ng maillist - syslog-ng@lists.balabit.hu> https://lists.balabit.hu/mailman/listinfo/syslog-ng> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html> _________________________________________________________________ マイクロソフトの最新次世代ブラウザIE7にMSN版ならではの便利な機能をプラス http://promotion.msn.co.jp/ie7/
Hi,
Hi,
I want to confirm the following point.
[Precondition] ・ Syslog-ng server starts with two NICs(IPAddress A, IPAddress B), and it is configurated to received syslog-message with two IPAddress. ・ One client sends syslog-message to IPAddress A, and the other sends to IPAddress B.
[Point] I want to change network-config(IPAddress A → C) without stopping syslog-ng service and no influence to client which sends to IPAddress B.
OK, it's clear now. The logs sent to IP address B will be catched by syslog-ng, and if you're not binding it to IP addresses, then the logs arriving to IP address C will be catched as well. So if you're using a source like udp()/tcp() then it will work. When you're using udp("IP_address_A") and udp("IP_address_B") then syslog-ng won't log messages sent to IP address C, but it still will log messages sent to IP address B, so clients using IP address B aren't affected. Regards, Sandor -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
participants (2)
-
Geller, Sandor (IT)
-
hi ro