<?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: Determine the IP address of a connected switch in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139345#M24780</link>
    <description>&lt;P&gt;if you are referring to the switch management IP, running &lt;SPAN&gt;lldpneighbors in expert mode might help.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jan 2022 08:21:39 GMT</pubDate>
    <dc:creator>Guy_Grundman</dc:creator>
    <dc:date>2022-01-25T08:21:39Z</dc:date>
    <item>
      <title>Determine the IP address of a connected switch</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139314#M24776</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am hoping someone may be able to help me out here. Thanks in advance.&lt;/P&gt;&lt;P&gt;I have a cluster of 6200 devices. I have a netgear switch which is connected to one of the interfaces but I do not know the IP address of the switch. Is it possible to determine the IP Address of the switch if I have the MAC address of the switch please? I have performed an arp -a but I could not see the MAC address of the device.&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 18:41:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139314#M24776</guid>
      <dc:creator>Niall_Lynch</dc:creator>
      <dc:date>2022-01-24T18:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the IP address of a connected switch</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139340#M24777</link>
      <description>&lt;P&gt;Are you sure that Switch even have an IP? It might be that it does not. Why not to look on the switch itself?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 07:51:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139340#M24777</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2022-01-25T07:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the IP address of a connected switch</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139345#M24780</link>
      <description>&lt;P&gt;if you are referring to the switch management IP, running &lt;SPAN&gt;lldpneighbors in expert mode might help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 08:21:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139345#M24780</guid>
      <dc:creator>Guy_Grundman</dc:creator>
      <dc:date>2022-01-25T08:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the IP address of a connected switch</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139354#M24781</link>
      <description>&lt;P&gt;Thanks Val, I tried the default IP address of the switch with no luck.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 09:22:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139354#M24781</guid>
      <dc:creator>Niall_Lynch</dc:creator>
      <dc:date>2022-01-25T09:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the IP address of a connected switch</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139356#M24782</link>
      <description>&lt;P&gt;Thanks Guy, I tried lldpneighbors but it did not work. I got&amp;nbsp;&lt;SPAN&gt;lldpneighbors&amp;nbsp;couldn't connect to the OpenLDP transport socket. Is lldpd running?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My cluster is running on R80.40 &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 09:26:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139356#M24782</guid>
      <dc:creator>Niall_Lynch</dc:creator>
      <dc:date>2022-01-25T09:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the IP address of a connected switch</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139358#M24783</link>
      <description>&lt;P&gt;Connect console, look locally on the switch. It may not have ANY IP address to begin with.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 09:55:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139358#M24783</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2022-01-25T09:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the IP address of a connected switch</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139387#M24785</link>
      <description>&lt;P&gt;Unfortunately LLDP is support from R81.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 12:06:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139387#M24785</guid>
      <dc:creator>Guy_Grundman</dc:creator>
      <dc:date>2022-01-25T12:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the IP address of a connected switch</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139396#M24786</link>
      <description>&lt;P&gt;Do you see different results if you ping the broadcast address of the subnet first?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 13:17:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139396#M24786</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2022-01-25T13:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the IP address of a connected switch</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139397#M24787</link>
      <description>&lt;P&gt;This is not something I tried myself, but what about using tcpdump to see if you can capture lldp packets on the wire?&lt;/P&gt;
&lt;P&gt;This certainly looks promising -&amp;nbsp;&lt;A href="https://medium.com/@getGroovy/lldp-packet-sniffing-38f999e733fa" target="_self"&gt;https://medium.com/@getGroovy/lldp-packet-sniffing-38f999e733fa&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 13:18:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139397#M24787</guid>
      <dc:creator>Ruan_Kotze</dc:creator>
      <dc:date>2022-01-25T13:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Determine the IP address of a connected switch</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139415#M24788</link>
      <description>&lt;P&gt;There will be two ways to determine the management IP address of the switch: active and passive.&amp;nbsp; Passive depends on the switch emanating some identifying information such as CDP or LLDP.&amp;nbsp; My Max Power 2020 book covered how to capture CDP and/or LLDP traffic if it is there; the techniques are listed below.&amp;nbsp; The switch should always emanate BPDUs for Spanning Tree purposes and you will be able to see these frames in a capture, but they do not contain Layer 3 information such as an IP address to my knowledge.&amp;nbsp; Ensure that any capture you run is allowed to execute for at least 60 seconds.&lt;/P&gt;
&lt;P&gt;As far as active techniques, as Chris said you can try pinging the network broadcast address like this: &lt;STRONG&gt;ping -b 192.168.1.255;&amp;nbsp;&lt;/STRONG&gt;then check your ARP cache with &lt;STRONG&gt;arp -an&lt;/STRONG&gt; to see if the switch IP has showed up.&amp;nbsp; You can also try &lt;STRONG&gt;ping -b -I (interfacename) 255.255.255.255&lt;/STRONG&gt;.&amp;nbsp; But some devices won't answer a broadcast ping for whatever reason, so you could run something like this then check the ARP cache afterward:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;#!/bin/sh&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CNTR=1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;while [ $CNTR -lt 254 ]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;do&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ping 192.168.1.$CNTR -c 1 -t 1 -n&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;CNTR=$(( $CNTR + 1 ))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;done&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="discovery1.png" style="width: 806px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/15073i5230671D85396710/image-size/large?v=v2&amp;amp;px=999" role="button" title="discovery1.png" alt="discovery1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="discovery2.png" style="width: 812px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/15074iF37402875F47CF84/image-size/large?v=v2&amp;amp;px=999" role="button" title="discovery2.png" alt="discovery2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="discovery3.png" style="width: 809px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/15075iA6FE58262C5C8BC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="discovery3.png" alt="discovery3.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 14:17:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Determine-the-IP-address-of-a-connected-switch/m-p/139415#M24788</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2022-01-25T14:17:21Z</dc:date>
    </item>
  </channel>
</rss>

