02-13-2017 03:05 AM - edited 03-05-2019 08:01 AM
Hello Cisco Community,
I'm having problem with tagging
these ports are untagged but i need ip address like 10.100.50.1 or 10.100.70.1 tagged
it's should be like this,
1 - 8 untagged 50,70 tagged
9 - 16 untagged 1,70 tagged
17-24 untagged 1,50 tagged
Also pinging problem
Why computers from different networks can't communicate?
i add both switch & router config in txt file.
Regards
Solved! Go to Solution.
02-20-2017 04:04 AM
Hey [@badaro292@gmail.com]
I have created a lab in GNS. I have attached screen shots & configuration of both Router & Switch for your review. Please make a mirrored configuration on your both Router & Switch.
Moreover, As your traffic is nated toward internet that's why, any is included in the access-list & this access-list is used for nating not applied on any router interfaces.
From your switch configuration, ip routing & ip subnet zero commands are still there. Please remove these commands & also remove IP address from router FastEthernet 0/1 & create sub-interface as I have created in Router configuration.
Regards'
02-13-2017 03:18 AM
Hi
the first thing I see is the default gateway is missing on the switch ? return traffic wont know how to get back , you need a default gateway to the router , try that see if it fixes the issue
02-13-2017 03:27 AM
Hey,
You mean like this?
!
ip default-gateway 10.100.100.2
ip classless
ip http server
!
But then i need to add ip route?
02-13-2017 03:30 AM
Hi
yes a default-gateway , no route the switch is layer 2(trunking) so it only needs a default gateway, routes go on devices which are layer 3 or act as layer 3 , layer 2 devices just get a default gateway
your passwords are visible in the files you uploaded too
02-15-2017 01:32 AM
Hey,
Switch now have default gateway 10.100.100.2
But still computers can't communicate what could be the problem?
Passwords doesn't matter since these devices are off production they are just for me to understand.
02-15-2017 04:23 AM
Ok cool
switch is layer 2 , so remove this ....ip routing
and there is no requirement for the vlan interfaces except for mgmt. reasons on a layer 2 switch
remove the ip routing and see if you can ping between the sub interfaces
ping 10.100.50.1 source 10.100.70.1
02-17-2017 01:03 AM
02-15-2017 08:44 PM
Hey [@badaro292@gmail.com] '
First of all remove the command ip routing with the command no ip routing.
Please post the output of command,
sh vlan brief
Regards'
02-17-2017 12:48 AM
02-17-2017 01:15 AM
Hey [@badaro292@gmail.com]
Please share the client computers IP Addresses & also mention on which ports are these clients connected.
Regards'
02-17-2017 01:38 AM
Hey azibnaseem
IP address and subnet mask of each PC
1. 10.100.100.2 255.255.255.0
2. 10.100.50.3 255.255.255.0
3. 10.100.70.4 255.255.255.0
1. 10.100.100.2 connected to Port 5
2. 10.100.50.3 connected to Port 15
3. 10.100.70.4 connected to port 20
02-17-2017 01:49 AM
Hey [@badaro292@gmail.com] '
Please confirm, are you just facing ping problem from client PC to client PC.
Regards'
02-17-2017 01:51 AM
02-17-2017 02:35 AM
02-17-2017 03:09 AM
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