I have a trunk setup between the and switches, but I can't ping them. I can only ping their default gateways which is their .1 on the router. What am I doing wrong? enter image description here

  • when I do a show ip route, switch shows C is directly connected, and vice versa on the switch. Seems like they only know about their network. I have RIP on the router advertising both networks. Network – Matt Damoz Oct 12 '18 at 16:09
  • You need to edit the question to include the network device configurations. We cannot simply guess where you may have gone wrong. – Ron Maupin Oct 12 '18 at 16:37
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide and accept your own answer. – Ron Maupin Dec 25 '18 at 9:45
  1. Each client (laptop) needs to have a route to the other network, usually there's just a default gateway - in this case this must be 172.16.x.1.
  2. The router gw-test needs to route between the networks. Since there's only a single router and both networks are directly attached, there's no need for setting static routes or using a routing protocol (which exchanges routes between routers).
  3. The network cannot be used between the networks because both subnets belong to this network.
  4. The dotted link in the diagram makes no sense unless you separate both networks/subnets into VLANs and use VLAN trunks between the switches and to the router.
| improve this answer | |
  • 1. Ok, the laptops in the have the gateway, and the ones in have gateway – Matt Damoz Oct 12 '18 at 17:07
  • 2. Ok, I Understood – Matt Damoz Oct 12 '18 at 17:08
  • 3. The network is actually /18 – Matt Damoz Oct 12 '18 at 17:09
  • 4. So do I need to create VLAN 2, and VLAN 3? Would this work? – Matt Damoz Oct 12 '18 at 17:13
  • 1
    If you're satisfied you should accept the answer. – Zac67 Oct 12 '18 at 20:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.