VMware Cloud Community
nitro3v
Contributor
Contributor

ESXi 5.0 ISCSI Default gateway

Hi Users,

this is my ISCSI SETUP:

Storage DELL MD3320i

P1: IP 192.168.130.101 SUBNET 255.255.255.0 GATEWAY 192.168.130.101 VLAN ID: 20

P2: IP 192.168.131.101 SUBNET 255.255.255.0 GATEWAY 192.168.131.101 VLAN ID: 20

P3: IP 192.168.132.101 SUBNET 255.255.255.0 GATEWAY 192.168.132.101 VLAN ID: 20

P4: IP 192.168.133.101 SUBNET 255.255.255.0 GATEWAY 192.168.133.101 VLAN ID: 20

P1: IP 192.168.130.102 SUBNET 255.255.255.0 GATEWAY 192.168.130.102 VLAN ID: 20

P2: IP 192.168.131.102 SUBNET 255.255.255.0 GATEWAY 192.168.131.102 VLAN ID: 20

P3: IP 192.168.132.102 SUBNET 255.255.255.0 GATEWAY 192.168.132.102 VLAN ID: 20

P4: IP 192.168.133.102 SUBNET 255.255.255.0 GATEWAY 192.168.133.102 VLAN ID: 20

ESXi 5.0 build 821926 on DELL 2950

vmk1: IP 192.168.130.20 SUBNET 255.255.255.0 GATEWAY XXX VLAN ID: 20

vmk3: IP 192.168.131.20 SUBNET 255.255.255.0 GATEWAY XXX VLAN ID: 20

vmk4: IP 192.168.132.20 SUBNET 255.255.255.0 GATEWAY XXX VLAN ID: 20

vmk5 : IP 192.168.133.20 SUBNET 255.255.255.0 GATEWAY XXX VLAN ID: 20

I want to set the default gateway for each VMK port, for get this result:

P1: IP 192.168.130.101 SUBNET 255.255.255.0 GATEWAY 192.168.130.101 VLAN ID: 20

vmk1: IP 192.168.130.20 SUBNET 255.255.255.0 GATEWAY 192.168.130.101 VLAN ID: 20

But, when i try to set i get this result:

esxcfg-route -a 192.168.130.0 255.255.255.0 192.168.130.101

Adding static route 192.168.130.0 to VMkernel
Error: Duplicate route to network 192.168.130.0/24 found.  Please delete the old route first.


When i try to remove for re-add with correct Gateway i get this result:

esxcfg-route -d 192.168.130.0 255.255.255.0 192.168.0.245
Deleting static route 192.168.130.0 from VMkernel
Error: Unable to delete route to 192.168.130.0/24 this route is automatically created based on the  IP address and netmask of one of the VMkernel TCP/IP  interfaces

Thanks to all

0 Kudos
0 Replies