<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CSM header modification to report true source-ip in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/csm-header-modification-to-report-true-source-ip/m-p/1238562#M25697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you mean remove the serverfarm from the policy? If I remove it from the vserve, wont this break lb if I have multiple differnet serverfarms and vservs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the Source-IP, I assume this means I need to modify Apache/IIS to add this header to the log entry?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2009 13:43:02 GMT</pubDate>
    <dc:creator>joemarr_brodart</dc:creator>
    <dc:date>2009-04-02T13:43:02Z</dc:date>
    <item>
      <title>CSM header modification to report true source-ip</title>
      <link>https://community.cisco.com/t5/application-networking/csm-header-modification-to-report-true-source-ip/m-p/1238560#M25695</link>
      <description>&lt;P&gt;I have a need to modify the Source-IP in the HTTP header to report the client and not the loadbalancer IP. I've attempted to use the method listed in the documentation, however the client IP is not being logged:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module ContentSwitchingModule 5 &lt;/P&gt;&lt;P&gt; vlan 120 client&lt;/P&gt;&lt;P&gt;  ip address x.x.x.68 255.255.255.192 alt x.x.x.69 255.255.255.192&lt;/P&gt;&lt;P&gt;  gateway x.x.x.65&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt; vlan 121 server&lt;/P&gt;&lt;P&gt;  ip address y.y.y.100 255.255.255.248 alt y.y.y.101 255.255.255.248&lt;/P&gt;&lt;P&gt;  route z.z.z.149 255.255.255.255 gateway y.y.y.97&lt;/P&gt;&lt;P&gt;  route w.w.w.117 255.255.255.255 gateway y.y.y.97&lt;/P&gt;&lt;P&gt;  route v.v.v.117 255.255.255.255 gateway y.y.y.97&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt; natpool POOL1 y.y.y.102 y.y.y.102 netmask 255.255.255.248&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt; map HEADER-INSERT header&lt;/P&gt;&lt;P&gt;  insert protocol http header Source-IP header-value %is&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt; real TESTSERV1&lt;/P&gt;&lt;P&gt;  address z.z.z.149&lt;/P&gt;&lt;P&gt;  no inservice&lt;/P&gt;&lt;P&gt; real TESTSERV2&lt;/P&gt;&lt;P&gt;  address w.w.w.117&lt;/P&gt;&lt;P&gt;  no inservice&lt;/P&gt;&lt;P&gt; real TESTSERV3&lt;/P&gt;&lt;P&gt;  address v.v.v.117&lt;/P&gt;&lt;P&gt;  inservice&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt; serverfarm TESTFARM&lt;/P&gt;&lt;P&gt;  nat server&lt;/P&gt;&lt;P&gt;  nat client POOL1 &lt;/P&gt;&lt;P&gt;  real name TESTSERV1&lt;/P&gt;&lt;P&gt;   inservice&lt;/P&gt;&lt;P&gt;  real name TESTSERV2&lt;/P&gt;&lt;P&gt;   inservice&lt;/P&gt;&lt;P&gt;  real name TESTSERV3&lt;/P&gt;&lt;P&gt;   inservice&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt; policy INSERT&lt;/P&gt;&lt;P&gt;  header-map HEADER-INSERT&lt;/P&gt;&lt;P&gt;  serverfarm TESTFARM&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt; vserver TESTFARM&lt;/P&gt;&lt;P&gt;  virtual x.x.x.70 any&lt;/P&gt;&lt;P&gt;  serverfarm TESTFARM&lt;/P&gt;&lt;P&gt;  advertise active&lt;/P&gt;&lt;P&gt;  persistent rebalance&lt;/P&gt;&lt;P&gt;  slb-policy INSERT &lt;/P&gt;&lt;P&gt;  inservice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have this correct? &lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2009 19:25:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/csm-header-modification-to-report-true-source-ip/m-p/1238560#M25695</guid>
      <dc:creator>joemarr_brodart</dc:creator>
      <dc:date>2009-04-01T19:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: CSM header modification to report true source-ip</title>
      <link>https://community.cisco.com/t5/application-networking/csm-header-modification-to-report-true-source-ip/m-p/1238561#M25696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove the serverfarm from the vserver configuration. Since you are using a policy, the serverfarm serves as a default serverfarm. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure you understand this but just wanted to make sure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You wont see source IP as "source ip" of the request. This config will ensure that your http header will include a header "Source-IP" with source ip of request as the header value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syed &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 04:54:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/csm-header-modification-to-report-true-source-ip/m-p/1238561#M25696</guid>
      <dc:creator>Syed Iftekhar Ahmed</dc:creator>
      <dc:date>2009-04-02T04:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: CSM header modification to report true source-ip</title>
      <link>https://community.cisco.com/t5/application-networking/csm-header-modification-to-report-true-source-ip/m-p/1238562#M25697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you mean remove the serverfarm from the policy? If I remove it from the vserve, wont this break lb if I have multiple differnet serverfarms and vservs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the Source-IP, I assume this means I need to modify Apache/IIS to add this header to the log entry?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 13:43:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/csm-header-modification-to-report-true-source-ip/m-p/1238562#M25697</guid>
      <dc:creator>joemarr_brodart</dc:creator>
      <dc:date>2009-04-02T13:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: CSM header modification to report true source-ip</title>
      <link>https://community.cisco.com/t5/application-networking/csm-header-modification-to-report-true-source-ip/m-p/1238563#M25698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vserver TESTFARM&lt;/P&gt;&lt;P&gt;virtual x.x.x.70 any&lt;/P&gt;&lt;P&gt;serverfarm TESTFARM  &amp;lt;-- is not needed&lt;/P&gt;&lt;P&gt;advertise active&lt;/P&gt;&lt;P&gt;persistent rebalance&lt;/P&gt;&lt;P&gt;slb-policy INSERT &amp;lt;-- SF is already referenced here&lt;/P&gt;&lt;P&gt;inservice &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 21:48:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/csm-header-modification-to-report-true-source-ip/m-p/1238563#M25698</guid>
      <dc:creator>Syed Iftekhar Ahmed</dc:creator>
      <dc:date>2009-04-02T21:48:55Z</dc:date>
    </item>
  </channel>
</rss>

