<?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: fw getifs showing wrong ip address information VSX mode in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/fw-getifs-showing-wrong-ip-address-information-VSX-mode/m-p/190769#M31968</link>
    <description>&lt;P&gt;There isn't. If you want the real IP addresses which your interfaces actually have, use 'fw getifs', '/sbin/ifconfig', or '/sbin/ip'. To get the cluster VIPs, use '&lt;SPAN&gt;/bin/cp-ifconfig.sh' (or 'ifconfig', which is an alias to that script) or 'cphaprob -a if'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;VSX mostly hides the real IPs from you, which is why 'ifconfig' is an alias for a command which shows you cluster VIPs instead.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 18:10:48 GMT</pubDate>
    <dc:creator>Bob_Zimmerman</dc:creator>
    <dc:date>2023-08-28T18:10:48Z</dc:date>
    <item>
      <title>fw getifs showing wrong ip address information VSX mode</title>
      <link>https://community.checkpoint.com/t5/General-Topics/fw-getifs-showing-wrong-ip-address-information-VSX-mode/m-p/190713#M31960</link>
      <description>&lt;P&gt;Am getting wrong IP address information in fw getifs command. However right ip address showing in ifconfig output.&lt;/P&gt;&lt;P&gt;Firewall is running with R81.10 with JHF94&lt;/P&gt;&lt;P&gt;[Expert@RAPFW01:1]# fw getifs&lt;BR /&gt;localhost bond3.355 192.168.196.1 255.255.255.240&lt;BR /&gt;localhost bond1.150 192.168.196.17 255.255.255.240&lt;BR /&gt;localhost bond2.1355 192.168.196.33 255.255.255.240&lt;BR /&gt;[Expert@RAPFW01:1]#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the output of command "ifconfig -a"&amp;nbsp;&lt;/P&gt;&lt;P&gt;bond1.150 Link encap:Ethernet HWaddr 00:1C:7F:A4:FA:72&lt;BR /&gt;inet addr:10.244.81.146 Bcast:10.244.81.151 Mask:255.255.255.248&lt;BR /&gt;UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1&lt;BR /&gt;RX packets:77380109 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;TX packets:110416393 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;collisions:0 txqueuelen:1000&lt;BR /&gt;RX bytes:26508484663 (24.6 GiB) TX bytes:106162038630 (98.8 GiB)&lt;/P&gt;&lt;P&gt;bond2.1355 Link encap:Ethernet HWaddr 00:1C:7F:A4:29:FF&lt;BR /&gt;inet addr:10.244.81.130 Bcast:10.244.81.135 Mask:255.255.255.248&lt;BR /&gt;UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1&lt;BR /&gt;RX packets:1657965458 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;TX packets:2623027464 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;collisions:0 txqueuelen:1000&lt;BR /&gt;RX bytes:435045140029 (405.1 GiB) TX bytes:2760581046444 (2.5 TiB)&lt;/P&gt;&lt;P&gt;bond3.355 Link encap:Ethernet HWaddr 00:1C:7F:A4:2A:01&lt;BR /&gt;inet addr:10.244.81.138 Bcast:10.244.81.143 Mask:255.255.255.248&lt;BR /&gt;UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1&lt;BR /&gt;RX packets:2493603316 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;TX packets:1819294986 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;collisions:0 txqueuelen:1000&lt;BR /&gt;RX bytes:2817560100000 (2.5 TiB) TX bytes:473126270726 (440.6 GiB)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest how to fix this issue&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 11:00:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/fw-getifs-showing-wrong-ip-address-information-VSX-mode/m-p/190713#M31960</guid>
      <dc:creator>jibin_thomas</dc:creator>
      <dc:date>2023-08-28T11:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: fw getifs showing wrong ip address information VSX mode</title>
      <link>https://community.checkpoint.com/t5/General-Topics/fw-getifs-showing-wrong-ip-address-information-VSX-mode/m-p/190734#M31961</link>
      <description>&lt;P&gt;It's actually the other way around. 'fw getifs' returns correct information. The real '/sbin/ifconfig' also returns correct information. 'ifconfig' without specifying the path is caught by an alias by default and instead of running ifconfig, it actually runs something different:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[Expert@DallasSA]# which ifconfig
alias ifconfig='/bin/cp-ifconfig.sh'
	/bin/cp-ifconfig.sh
&lt;/LI-CODE&gt;
&lt;P&gt;This script returns fake information based on the cluster VIPs, which no interface actually owns.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:42:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/fw-getifs-showing-wrong-ip-address-information-VSX-mode/m-p/190734#M31961</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2023-08-28T13:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: fw getifs showing wrong ip address information VSX mode</title>
      <link>https://community.checkpoint.com/t5/General-Topics/fw-getifs-showing-wrong-ip-address-information-VSX-mode/m-p/190738#M31962</link>
      <description>&lt;P&gt;Is there anyway to get the same IP address in both commands ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Expert@RAPFW01:0]# which ifconfig&lt;BR /&gt;alias ifconfig='/bin/cp-ifconfig.sh'&lt;BR /&gt;/bin/cp-ifconfig.sh&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:51:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/fw-getifs-showing-wrong-ip-address-information-VSX-mode/m-p/190738#M31962</guid>
      <dc:creator>jibin_thomas</dc:creator>
      <dc:date>2023-08-28T13:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: fw getifs showing wrong ip address information VSX mode</title>
      <link>https://community.checkpoint.com/t5/General-Topics/fw-getifs-showing-wrong-ip-address-information-VSX-mode/m-p/190769#M31968</link>
      <description>&lt;P&gt;There isn't. If you want the real IP addresses which your interfaces actually have, use 'fw getifs', '/sbin/ifconfig', or '/sbin/ip'. To get the cluster VIPs, use '&lt;SPAN&gt;/bin/cp-ifconfig.sh' (or 'ifconfig', which is an alias to that script) or 'cphaprob -a if'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;VSX mostly hides the real IPs from you, which is why 'ifconfig' is an alias for a command which shows you cluster VIPs instead.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 18:10:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/fw-getifs-showing-wrong-ip-address-information-VSX-mode/m-p/190769#M31968</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2023-08-28T18:10:48Z</dc:date>
    </item>
  </channel>
</rss>

