VMware Cloud Community
karthik_79
Contributor
Contributor
Jump to solution

changing the default gateway of the secondary service console.

I have installed an ESX 3.5.

I have configured a second service console with a completely different IP subnet (192.168.1.x). My first default service console is in the network (172.19.1.x). I am trying to change the default gateway of this secondary service console because its showing the default gateway as 172.19.1.1 because the second service console is sharing the default gateway with the first service console. Anyway, i can change the default gateway only for the second service console to 192.168.1.1?

Thanks for the replies.

0 Kudos
1 Solution

Accepted Solutions
java_cat33
Virtuoso
Virtuoso
Jump to solution

Hi - you can only set one default gateway for a service console, the same goes for the vmkernel gateway.

View solution in original post

0 Kudos
7 Replies
java_cat33
Virtuoso
Virtuoso
Jump to solution

Hi - you can only set one default gateway for a service console, the same goes for the vmkernel gateway.

0 Kudos
karthik_79
Contributor
Contributor
Jump to solution

So Even if I am creating a secondary service console in a completely different NIC and assiging that NIC port to a different network, I still cant use a different gateway?

Thanks for the quick reply.

0 Kudos
java_cat33
Virtuoso
Virtuoso
Jump to solution

Yes that is correct - only one service console gateway.

Secondary service consoles should be able to route to each other for redundancy as this is the heartbeat network for HA - In other words, all service consoles on all hosts should be able to communicate.

0 Kudos
Texiwill
Leadership
Leadership
Jump to solution

Hello,

As stated there is only one default gateway for the SC regardless of vSwif devices. If you are just trying to setup redundancy, then it is actually easier to use NIC Teaming. If this is for your iSCSI Network then you can not setup a default network however you may have to setup a new route for just the network in question.

If this is to get HA redundancy, that is best using NIC Teaming and not multiple vSwif devices.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354

As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
karthik_79
Contributor
Contributor
Jump to solution

Thank you everyone for the quick reply.

0 Kudos
java_cat33
Virtuoso
Virtuoso
Jump to solution

Not a problem - don't forget to award points.

0 Kudos
BUGCHK
Commander
Commander
Jump to solution

The "default gateway" is a characteristic of the entire IP stack.

But you can add additional routes for specific subnets, here is a made-up example:

$ cat /etc/sysconfig/static-routes

any net 111.222.555.0 netmask 255.255.255.0 gw 10.17.18.2

$

$ service network restart

0 Kudos