Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 346
  • Last Modified:

Configuring a Default Gateway

This is probably a very simple question, but for some reason I'm having trouble either understanding or implementing this.

Current configuration:

1 VMWare ESXi host, 4 x Trunk to a HP Procurve 2510 Switch.  In addition, 1 Server Running 2008 Active Directory is plugged in to the same switch.

Switch is configured to have a management IP and I configured its Default Gateway to point to the 2008 DC, since DNS and routing appear to logically go through this point.

From a Networking and VLAN configuration, things are working fine.  I understand that part.

My problem is, where do I get the IP that is to be the "Default Gateway"?  I have read that in a situation like this, the Switch IP that you define as the IP for that VLAN becomes the Default Gateway for all servers connecting to it.  Is that correct?  Or do I point it to the DC, since in this case it handle the DNS resolve for the domain?

It's a small setup, so i'm trying to learn from my apparent misunderstandings...  Default gateways are usually setup for me by the time I get there, so that is why I am having the confusion.

If I'm correct, the Procurve 2510 is a Layer 2 switch, meaning it cannot perform IP Routing...?  Or is that not the case?

Any tutoring or help is much appreciated.  Thanks in advance!
0
bdixon105
Asked:
bdixon105
  • 3
  • 2
  • 2
  • +1
1 Solution
 
Confucious2Commented:
Default gateway would be the point between you and the internet, in this case the router.

In a bigger corperate environment, software firewalls are set as gateways to act as proxy servers
0
 
rawinnlnx9Commented:
The default gateway is the LAN IP of your firewall or ISP enabled device. It might be a DSL router from QWEST or a cable modem. That's your Default Gateway, the LAN IP of that device. So unless your ISP is connecting directly to your server then you have your default gateway set up wrong.
0
 
SouljaCommented:
The default gateway is entry and exit point of a subnet. It doesn't necessarily lead to the internet, or is a firewall, or router. It is the entry/exit point of a subnet/network. This could be an Vlan interface, a routed port, an interface on your computer.
0
Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
bdixon105Author Commented:
Pretending there is no internet gateway here.. just a simple network, that happens to be split into 2 vLans, 1 for end point machines and 1 for the server vLan.

I attached a JPG outlining my current layout.  I understand that if a WAN Router were involved, that would be my Gateway.. in this situation, it's all local chatter on the Server VLAN and a secondary vlan offering client communications is already working properly with the configuration in place on the switches.  I am still not understanding where I define the Default Gateway, in the situation that I am in.

ESX Host
1 Physical 2008 DC w/DNS
HP Procurve 2510 - configured with VLAN1 Disabled, VLAN10 as Server & Management, VLAN20 as Client VLAN w/DHCP (working fine).

What Default Gateway am I supposed to put into the Servers residing in the 10.10.10.XX subnet?

Thanks again for all the tutoring.. sorry I'm just not "getting" it.  ;(

Layout of current network
0
 
bdixon105Author Commented:
Hi Soulja,

Thanks for your reply.  So, if I understand you correctly:

I have configured my primary switch (where the initial VLAN communications are configured and established) with a VLAN IP of 10.10.10.250.  If the servers in question all plug into this switch, defined with the 10.10.10.250 VLAN IP, is that the IP I then put into each servers Default Gateway selection?

In the same question.. do I need to remove, or Zero out the Default Gateway on the switch..?  Something like this I guess:

no ip default-gateway 10.10.10.1

Thanks again!
0
 
Confucious2Commented:
where can you resolve FQDN's from? judging by the pic i would assume routing tables would be on 10.10.10.250 device meaning that is the gateway, but check with nslookup first to be sure
0
 
SouljaCommented:
The gateways of the server is the vlan interface of whichever vlan they sit on. For the switch, if it is the endpoint of the network and there are not other exit point then yes, it doesn't need a default gateway configured.
0
 
bdixon105Author Commented:
Thank you, as always!!!
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now