3 Replies Latest reply on Mar 14, 2017 3:42 AM by a.p.

    Unable to add additional route to custom TCP stack

    Rameshtuty Lurker


      I am new to vmware and i am building a lab for Vspere6, I have a separate storage network for SAN connectivity and i created separate tcp stack but i am unable to add route for the custom stack. it is only taking the default gateway. Both the default and custom tcp stacks are associated with the same switch. My custom tcp stack is Storage and associated interface is vmnic1. Pls help me guide to create the same.


      [root@host1:~] esxcfg-vmknic -l

      Interface  Port Group/DVPort/Opaque Network        IP Family IP Address                              Netmask         Broadcast       MAC Address       MTU     TSO MSS   Enabled Type                NetStack

      vmk0       Management Network                      IPv4                     00:0c:29:4e:a1:83 1500    65535     true    STATIC              defaultTcpipStack

      vmk1       Storage                                 IPv4                     00:50:56:68:27:00 1500    65535     true    STATIC              Storage

      [root@host1:~] esxcfg-route -l

      VMkernel Routes:

      Network          Netmask          Gateway          Interface    Local Subnet     vmk0

      [root@host1:~] esxcfg-vswitch -l

      Switch Name      Num Ports   Used Ports  Configured Ports  MTU     Uplinks

      vSwitch0         1536        7           128               1500    vmnic0,vmnic1


        PortGroup Name        VLAN ID  Used Ports  Uplinks

        VM Network            0        0           vmnic0,vmnic1

        Storage               0        1           vmnic0,vmnic1

        Management Network    0        1           vmnic0


      [root@host1:~] esxcli network ip route ipv4 add --gateway --netstack=Storage --network=

      Duplicate route to network found.  Please delete the old route first.