ESXi

 View Only

Issue with accessing a second network

  • 1.  Issue with accessing a second network

    Posted Apr 30, 2020 11:45 AM

    Hi all,

    I have been trying for 2 days to solve an issue with a second network on ESXi. The setup I have is (server1):

    eth0 (public IP) --> switch --> internet

    eth1 (192.168.0.1) --> direct link to ILO port on another server (server2) (192.168.0.2)

    Basically I want to use the second network port to access the ILo on another server. The problem is that from ESXi I cant ping 192.168.0.2 (the ILO). The ILO is configured on this IP as I used the hponcfg tool to set the config and verified it after that by dumping it.

    The IP settings on the ESXi are as follows (I just took out the public IPs):

    # esxcli network ip interface ipv4 get

    Name  IPv4 Address   IPv4 Netmask     IPv4 Broadcast  Address Type  Gateway        DHCP DNS

    ----  -------------  ---------------  --------------  ------------  -------------  --------

    vmk0  (public IP)  255.255.255.224  (boradcats IP)  STATIC        (gateway)     false

    vmk1  192.168.0.1    255.255.255.0    192.168.0.255   STATIC        192.168.0.2       false

    And the adapters:

    # esxcli network nic list

    Name    PCI Device    Driver  Admin Status  Link Status  Speed  Duplex  MAC Address         MTU  Description

    ------  ------------  ------  ------------  -----------  -----  ------  -----------------  ----  ------------------------------------------

    vmnic0  0000:60:00.0  i40en   Up            Up            1000  Full    (mac1)  1500  Intel(R) Ethernet Connection X722 for 1GbE

    vmnic1  0000:60:00.1  i40en   Up            Up            1000  Full    (mac2)  1500  Intel(R) Ethernet Connection X722 for 1GbE

    My question is in this setup am I supposed to be able to ping 192.168.0.2 from the ESXi shell or I need to create a VM and port group? I not versed in VM networking and as I have the same issue on another pair of servers and again no ping (and im sure the IPMI there is set) and this makes me thing Im missing something.

    Thank you