Okay this one has had me stumped for days on end, I've looked around the internet, I can hardly find coherent information pertaining to my problem and/or links to irrelevant information.
I have a very small network for demonstrative purposes - `2 routers - 2 switches (2 VLANS on each connected to a PC each).
I can get one VLAN connected to the second router on the alternate network but the other has problems even pinging to its default gateway.
On the switch I have:
VLAN20: IP Address - 192.168.1.65/30
VLAN30: IP Address - 192.168.1.29/30
Each VLAN is connected to a PC.
I shall assume you can assume the PC IP scheme as it is very basic knowledge.
The commands entered on the switch are:
the link going to the router is using a trunk port allowing vlans of 1-100
FastEthernet 0/2 is using switchport access VLAN 20
FastEthernet 0/3 is using switchport access VLAN 30
The 0/2 connects to the main router as well as connects to the second router
using OSPF but the 0/3 does not connect even though the IP scheme is correct, default gateway is correct.
I have searched through many commands on the switch but none seem to work.
**The switch CAN ping to the PC but the PC cannot ping out not even to the switch**
EDIT: I am using a layer 2 switch so
ip routing will not work.