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 ?
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 & 2 switch ports then deffnitely they should communicate with each other when there is inter vlan routing.
If the two ports in different vlans? if yes you have to do inter vlan routing.
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:
- 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).
- configure the VLAN 2 interface using secondary addressing. For example you might do something like this:
interface vlan 2
ip address 192.168.4.1 255.255.255.0
ip address 192.168.5.1 255.255.255.0 secondary
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.)
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.
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?
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.
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 & 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.
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...