<?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: switch with 2 diff ip in Switching</title>
    <link>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999611#M65086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sunil &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael asks a good question to clarify how the servers are configured. And the answer to this may direct which is the better solution on the switch. I believe that there are at least 2 alternatives which could work:&lt;/P&gt;&lt;P&gt;- configure the VLAN 2 interface with a subnet mask of /23 (255.255.254.0). While we traditionally think of these addresses as separate /24 class C addresses, the /23 would include both 192.168.4.0 and 192.168.5.0 in 1 big subnet (which some people would refer to as a supernet).&lt;/P&gt;&lt;P&gt;- configure the VLAN 2 interface using secondary addressing. For example you might do something like this:&lt;/P&gt;&lt;P&gt;interface vlan 2&lt;/P&gt;&lt;P&gt;ip address 192.168.4.1 255.255.255.0&lt;/P&gt;&lt;P&gt;ip address 192.168.5.1 255.255.255.0 secondary&lt;/P&gt;&lt;P&gt;this would allow the logically separate subnets/networks to exist within the same VLAN and allow the servers to communicate with each other. (Note that in this solution, depending on how the servers react, the servers may send the traffic to the switch to be relayed instead of sending directly to each other since they may believe that the other server is in a "remote" network and want to use their default gateway. The switch will send an ICMP redirect and if the switches honor the redirect they will communicate directly and if not they will continue to relay through the switch. The good news is that in either situation the servers will communicate.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a particular reason why the servers with such different addresses are put into the same VLAN instead of being put into separate VLANs? It would seem that separate VLANs would be a more simple solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Mar 2008 11:16:24 GMT</pubDate>
    <dc:creator>Richard Burts</dc:creator>
    <dc:date>2008-03-21T11:16:24Z</dc:date>
    <item>
      <title>switch with 2 diff ip</title>
      <link>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999608#M65083</link>
      <description>&lt;P&gt;Hi, I have a switch 3560 ios, issue is under vlan2  two server are connected with diff. series network say on port 1 -192.168.5.2 n port 2 192.168.4.6 I want both server can access each other. what should I do ?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 05:53:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999608#M65083</guid>
      <dc:creator>blue4ciscome</dc:creator>
      <dc:date>2019-03-06T05:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: switch with 2 diff ip</title>
      <link>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999609#M65084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your query is not clear can you clear about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i understood your question correctly, as you said you have one switch i.e., 3560 under vlan 2 and two servers connected in 1 &amp;amp; 2 switch ports then deffnitely they should communicate with each other when there is inter vlan routing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the two ports in different vlans? if yes you have to do inter vlan routing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naidu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2008 07:02:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999609#M65084</guid>
      <dc:creator>ilnaiduccna</dc:creator>
      <dc:date>2008-03-21T07:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: switch with 2 diff ip</title>
      <link>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999610#M65085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I ask what subnet mask and default gateway (if any) are configured on the two servers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2008 09:50:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999610#M65085</guid>
      <dc:creator>keeleym</dc:creator>
      <dc:date>2008-03-21T09:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: switch with 2 diff ip</title>
      <link>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999611#M65086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sunil &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael asks a good question to clarify how the servers are configured. And the answer to this may direct which is the better solution on the switch. I believe that there are at least 2 alternatives which could work:&lt;/P&gt;&lt;P&gt;- configure the VLAN 2 interface with a subnet mask of /23 (255.255.254.0). While we traditionally think of these addresses as separate /24 class C addresses, the /23 would include both 192.168.4.0 and 192.168.5.0 in 1 big subnet (which some people would refer to as a supernet).&lt;/P&gt;&lt;P&gt;- configure the VLAN 2 interface using secondary addressing. For example you might do something like this:&lt;/P&gt;&lt;P&gt;interface vlan 2&lt;/P&gt;&lt;P&gt;ip address 192.168.4.1 255.255.255.0&lt;/P&gt;&lt;P&gt;ip address 192.168.5.1 255.255.255.0 secondary&lt;/P&gt;&lt;P&gt;this would allow the logically separate subnets/networks to exist within the same VLAN and allow the servers to communicate with each other. (Note that in this solution, depending on how the servers react, the servers may send the traffic to the switch to be relayed instead of sending directly to each other since they may believe that the other server is in a "remote" network and want to use their default gateway. The switch will send an ICMP redirect and if the switches honor the redirect they will communicate directly and if not they will continue to relay through the switch. The good news is that in either situation the servers will communicate.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a particular reason why the servers with such different addresses are put into the same VLAN instead of being put into separate VLANs? It would seem that separate VLANs would be a more simple solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2008 11:16:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999611#M65086</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2008-03-21T11:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: switch with 2 diff ip</title>
      <link>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999612#M65087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx all u guys, Pls. solve my ground query first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two server conencted in vlan8 but with different ip address: see below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gi0/2= server ip 192.168.5.10&lt;/P&gt;&lt;P&gt;Gi0/3= server ip 192.168.4.10&lt;/P&gt;&lt;P&gt;would above communicate with each other ?&lt;/P&gt;&lt;P&gt;but when i ping each other no thr is response. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 07:48:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999612#M65087</guid>
      <dc:creator>blue4ciscome</dc:creator>
      <dc:date>2008-03-24T07:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: switch with 2 diff ip</title>
      <link>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999613#M65088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunil,&lt;/P&gt;&lt;P&gt;   Why don't you use separated vlans? To make sure that you've correctly configured ip addresses ,subnet mask and ip default-gateway of each server.Can the server ping its ip default-gateway? Can the server ping another ip default-gateway? Have you enabled an ip routing command at configuration mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopes this helps&lt;/P&gt;&lt;P&gt;Thot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 08:25:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999613#M65088</guid>
      <dc:creator>Thotsaphon Lueangwattanaphong</dc:creator>
      <dc:date>2008-03-24T08:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: switch with 2 diff ip</title>
      <link>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999614#M65089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;let me explain you my problem broadly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two switches cisco ios 3560. I want to connect both switch together since same subnet server are connected to both switch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st switch:total vlans 3(1,2 &amp;amp; &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my server connected to vlan 8 (ip 192.168.5.20/27)&lt;/P&gt;&lt;P&gt;srv1:192.168.5.1 mask 255.255.255.224&lt;/P&gt;&lt;P&gt;srv2:192.168.5.10 mask 255.255.255.224&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd switch :total vlans 3(1,2 &amp;amp; &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;&lt;P&gt;my server connected to vlan 8 (ip 192.168.4.5/24)&lt;/P&gt;&lt;P&gt;srv1:192.168.5.12 mask 255.255.255.224&lt;/P&gt;&lt;P&gt;srv2:192.168.5.13 mask 255.255.255.224&lt;/P&gt;&lt;P&gt;srv3:192.168.4.12/24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want I can ping from server 192.168.5.10 to 192.168.5.13 &amp;amp; 192.168.4.13&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now questions:&lt;/P&gt;&lt;P&gt;do i need trunk with cross cable if yes then guide me how both side.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 10:01:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999614#M65089</guid>
      <dc:creator>blue4ciscome</dc:creator>
      <dc:date>2008-03-24T10:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: switch with 2 diff ip</title>
      <link>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999615#M65090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sunil &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are inconsistencies in your question as this thread has developed. In the original post there was a single VLAN and one set of addresses. Now there are 3 VLANs and a different set of addresses. Please use a consistent question. If the situation changes or you need to ask a different question it would be better to begin a new post so that we can know clearly what question we are dealing with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my previous post I identified 2 alternatives that would allow the access you are now asking about (server 192.168.5.10 to 192.168.5.13 &amp;amp; 192.168.4.13). From what you have posted I still believe that either the /23 mask on the VLAN interface or the use of secondary addressing would provide what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 12:09:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/switch-with-2-diff-ip/m-p/999615#M65090</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2008-03-24T12:09:09Z</dc:date>
    </item>
  </channel>
</rss>

