I need some help with this set up. I'm trying to browse the internet from the client-PC and server.
Here is my config. Please see the pic for the physical layout.
I have a Layer 3 switch with multiple VLANS.
ip address: 192.168.70.1 255.255.255.0
Ports 5 and 6 are in VLAN 70 and I have two machines ( Client-PC and server)connected to it.
IP addressing is handled by DHCP running on the switch for this VLAN.
ip address: 192.168.1.200 255.255.255.0
Port 10 is in VLAN 20
I connected a cable from my ISP router to port 10 on the Layer3 switch.
Set a static ---> ip route 0.0.0.0 0.0.0.0 192.168.1.1
I can ping 192.168.1.1 and 22.214.171.124 from the Layer3 switch. But from my client-pc and server I can only ping 192.168.1.200.
I cannot ping 192.168.1.1 or 126.96.36.199 from VLAN 70.
What did I miss here?
Your router does not know how to reach the other VLANs on the switch. It will have a ‘connected’ route for 192.168.1.0 /24 but probably nothing else for your internal network.
If it does have routes for your other internal subnets, then the next possible cause is NAT on the router. It may not be configured to allow subnets other than 192.168.1.0 /24. If it is a low end router then typically they are hard-coded to only translate a single ‘Inside’ subnet. If this is the case you will need to NAT your internal subnets before they reach the router.
Only high end switches or routers support/perform NAT, so unless you have another router you can attached between the ISP modem and your switch or you if you can amend the ISP modem to nat also your vlan 70 subnet then I suggest the most simplistic solution will be to pull client /server in same vlan as ISP modem and use the switch as a host switch ( no ip routing or static routes) all running in the one vlan.
Alternatively if your server has two network cards and its possible regards the OS - you could use this as a router and have one interface in the same subnet as the isp and the other nic in vlan 70 attached to your switch and have that perform NAT.