07-17-2018 06:08 AM - edited 03-08-2019 03:42 PM
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.
07-17-2018 06:20 PM
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
07-18-2018 08:51 AM
@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)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide