cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Cisco Community Designated VIP Class of 2020

116
Views
0
Helpful
4
Replies
Beginner

Routing Help

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
Enthusiast

Re: Routing Help

Looks like your ISP router does not have route for the 192.168.70.0 subnet
VIP Advisor

Re: Routing Help

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.

Highlighted
VIP Advisor

Re: Routing Help

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

BB
*** Rate All Helpful Responses ***
VIP Mentor

Re: Routing 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.

 



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
CreatePlease to create content
Content for Community-Ad
FusionCharts will render here