cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
370
Views
0
Helpful
4
Replies

Routing Help

jalumoottil
Level 1
Level 1

Hello guys,

 

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.

 

VLAN 70:

  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.

 

VLAN 20:

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 8.8.8.8 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 8.8.8.8 from VLAN 70.

 

What did I miss here?

 

4 Replies 4

nazimkha
Level 4
Level 4
Looks like your ISP router does not have route for the 192.168.70.0 subnet

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

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.

 

Cheers,

Seb.

balaji.bandi
Hall of Fame
Hall of Fame

First quick question, do you have ip routing enabled ? and doing some NAT for Vlan 70 IP ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello

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.

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card