09-03-2015 08:50 AM - edited 03-08-2019 01:38 AM
Hey guys,
I have a Cisco Catalyst C3750-24TS Switch and a Cisco 891-W Router, and I am unable to communicate from one VLAN to another.
This is my first time configuring a switch and router so it is more than likely a rookie mistake. I've been stuck on this for two days now trying everything to get it work but just can't seem to wrap my head around whats causing the issue. I downloaded Cisco Packet Tracer and tried to replicate the same scenario below and was able to get HOST-PC-A to ping HOST-PC-B on a different VLAN but when I put it into practice with the equipment I have, it doesn't get the same results.
From what I understand, in order to establish communication between two VLANs on a switch (L2 device), I need a router (L3 device).. or a L3 switch and just enabling ip routing via CLI.
I've set up two VLANs on SW1 and associated two ports to each VLAN. Each VLAN has one HOST-PC connected to it. I have also designated port 23 (Fa1/0/23) to be the trunk port going to the router.
On the router I setup port 8 (fastEthernet 8) as the trunk port going to the switch. I then created two sub-interfaces 8.10 and 8.20. I set up DHCP for each sub-interface and created two excluded ip ranges, which works fine. Both PC receive the appropriate IP's from router, so I know there is communication between the switch and the router.
I posted as much details as I could find on the switch and router below to hopefully help narrow the problem down.
SWITCH: SW1
SW1#show vlan br
SW1#show ip int br
SW1#show run
ROUTER : R1
R1#show vlans
R1#show ip int br
R1#sh ip route
R1#sh run
Solved! Go to Solution.
09-19-2015 12:55 AM
Cool... happy to hear that your problem is resolved.
Cheers... !!!
09-11-2015 10:28 AM
Execute the command "show ip dhcp binding" on the router and do share the output of it.
09-08-2015 11:44 PM
Hi,
Firstly the trunking encapsulation has to be enabled on both the sub-interfaces that is configured on the router. For the 2 different vlans to communicate you need to have a L3 switch or a router that has the capability to perform the routing. Enabled truking encapsulation on the 2 subinterfaces of the router as shown below:
int fa8.10
encapsulation dot1q 810
int fa8.20
encapsulation dot1q 820
Once after the sub-interfaces are configured with encapsulation, have the respective default gateway's configured on both the hosts connected to their respective vlan's. Once done you should be able to communicate between 2 hosts that are in different vlans as the routing now happens through the router on their associated sub-interfaces bonded to 2 different vlans, and the arp entries of both the hosts would be seen in the router also.
Try it and let me know..
Good luck!
09-09-2015 01:35 PM
I think I am more confused now then when I started, lol.
09-11-2015 12:31 PM
Actually i would say its more than likely that the machines still have their firewalls on which will not allow ICMP by default.
Try either turning them off or allowing ICMP through
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide