cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
556
Views
0
Helpful
2
Replies

How to configure L3 to home router to access internet through cisco router

kkthong2012
Level 1
Level 1

I have a dell server with few VMs installed such as Domain Controller, DHCP etc. I configured each of them with different VLANs & are connecting to a csico L3 switch with trunk port.
All VMs can communicate each other ip routing, ip helper-address & SVI configured.
The L3 switch connected to 1841 router at F0/0 & router's F0/1 is connected to my home router D-link. D-link router is connected to my ISP.
My question is how to configure L3 switch and / or Csico 1841 router so VMs in my dell server can connect to the internet? All the VMs are connected to another vSwitch are separated from management network in ESXi.

2 Replies 2

pompeychimes
Level 4
Level 4

On the L3 switch it sounds like you'll need a default route pointing to the 1841 router e.g. ip route 0.0.0.0 0.0.0.0 <IP of 1841 router>

 

On the 1841 router you'll need a default route pointing to the D-Link router e.g. ip route 0.0.0.0 0.0.0.0 <IP of D-Link router>

 

On the D-Link router you'll need static routes that point to the 1841 router for each of your VM VLANs e.g. ip route x.x.x.x x.x.x.x <IP of 1841 router>

 

I'm going to assume the D-Link will handle the NAT function


@pompeychimes wrote:

On the L3 switch it sounds like you'll need a default route pointing to the 1841 router e.g. ip route 0.0.0.0 0.0.0.0 <IP of 1841 router>

 

On the 1841 router you'll need a default route pointing to the D-Link router e.g. ip route 0.0.0.0 0.0.0.0 <IP of D-Link router>

 

On the D-Link router you'll need static routes that point to the 1841 router for each of your VM VLANs e.g. ip route x.x.x.x x.x.x.x <IP of 1841 router>

 

I'm going to assume the D-Link will handle the NAT function


Yes D-link is doing the NAT function. I have added default route in my L3 switch & cisco router. I don't think D-link can do ip route command. It has static routes to key in Destination  Network, subnet mask & gateway. The interface is WAN. 

I also configure L3's G1/0/24 port to no switchport with ip 192.168.1.2 is connected to cisco router interface f0/0 while Router's int f0/1 is connected to D-link.

 

L3 -> ip route 0.0.0.0 0.0.0.0 192.168.1.1 (<= router int f0/0 ip)

router - > ip route 0.0.0.0 0.0.0.0 192.168.0.1 (<= D-link router ip)

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