VMware Cloud Community
stevesimoes
Contributor
Contributor
Jump to solution

How do you clear a vmkernel default gateway

Using the GUI, I clear the gateway values, and voila, they just reappear. Do I need to do this from the command line? If so, how? This is on my iSCSI storage netwok, which is non-routable and does not need a gateway.

0 Kudos
1 Solution

Accepted Solutions
AndreTheGiant
Immortal
Immortal
Jump to solution

Sorry...

routerIP must be replaced with your router/gateway IP

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro

View solution in original post

0 Kudos
6 Replies
AndreTheGiant
Immortal
Immortal
Jump to solution

There are two different gateway: the service console gateway and the vmkernel gateway.

Are you changing the second gateway setting?

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
stevesimoes
Contributor
Contributor
Jump to solution

The vmkernel gateway.

0 Kudos
AndreTheGiant
Immortal
Immortal
Jump to solution

Use this command:

esxcfg-route -d default routerIP

Then check with

esxcfg-route

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
stevesimoes
Contributor
Contributor
Jump to solution

I tried the command and received this message: "Invalid IP Address routerIP"

0 Kudos
AndreTheGiant
Immortal
Immortal
Jump to solution

Sorry...

routerIP must be replaced with your router/gateway IP

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
stevesimoes
Contributor
Contributor
Jump to solution

That worked. Thanks.

0 Kudos