HomeDedibox NetworkRPNHow to
How to configure RPN SAN on ESXi 5/6
Jump toUpdate content

How to mount an RPN SAN volume in VMware ESXi

Reviewed on 31 July 2023Published on 10 November 2021

This documentation covers VMware ESXi version ESXi 5.0/5.1/5.5 and 6.0 and later. Follow this link to see the Documentation for ESXi 7 and later.

How to configure VMware ESXi to use RPN

Enable SSH on your ESXi

  1. Start the vSphere client or log in using the web interface.
  2. Click the Configuration tab (1), then click Security Profile (2) in the software panel.
  3. Click Properties in the Services section.
  4. Select SSH (1) then click options (2). Select Start and stop manually (3) and launch the service manually (4).

Configure ESXi to access the RPN

Configuration in the ESXi interface

  1. Go to Configuration > Networking (1). Then, click Add Networking (2).

  2. Create a new VMKernel named RPN, attached to the RPN network card.

For the next step, validate the windows by choosing Automatic recovery for the IP addressing.


The network will go down, because the virtual MAC is not the same as the physical one (for security reasons).

Configuration of the MTU 9000

  1. Go to Configuration > Networking > Properties… (of vSwitch1).
  2. Select the vSwitch (1) and edit it (2).
  3. Set the MTU to 9000, then confirm and quit.

ESXi configuration

  1. Edit the configuration file of ESXi.
    nano /etc/vmware/esx.conf
  2. Locate the number of the child in the RPN portgroup (in this example: 0001).
    /net/vmkernelnic/child[0001]/portgroup = "RPN"
  3. Locate the MAC of the network card connected to the RPN (in this example: XX:YY:ZZ:AA:BB:CC).
    /net/pnic/child[0001]/mac = "XX:YY:ZZ:AA:BB:CC”
  4. Replace the MAC of the VMKernel RPN (see the number of the child) with the MAC of the network card connected to the RPN.
    /net/vmkernelnic/child[0001]/mac = "XX:YY:ZZ:AA:BB:CC”
  5. Reboot the ESXi to take the changes into effect.4. Replace the MAC of the VMKernel RPN (see the number of the child) with the MAC of the network card connected to the RPN.
    /net/vmkernelnic/child[0001]/mac = "XX:YY:ZZ:AA:BB:CC”
  6. Reboot the ESXi to take the changes into effect. ```

    You need to add the route to /etc/rc.localto keep it after a reboot. For the version ESXi 5.1 the file is located at/etc/rc.local.d/local.sh`.

  7. Ping the RPN SAN to check your configuration.
    # ping san-1.rpn.online.net
    PING ( 56 data bytes
    64 bytes from icmp_seq=0 ttl=61 time=0.241 ms
    64 bytes from icmp_seq=1 ttl=61 time=0.241 ms

    It is important that the ping command works. If not, check your configuration.

Configuration from the ESXi interface

  1. Go back to Configuration, then click Storage Adapter (1) followed by Add.. (2).

  2. Select Add Software iSCSI Adapter, then, click OK.

    A new device created vmhba32 should appear in the adapter list.

  3. Click the device (1), then, go to Properties (2).

  4. Go to the Dynamic Discovery tab (1), then click on Add.. (2).

  5. Enter the RPN server address in the iSCSI Server box (the address is available in your Dedibox console).

  6. Click OK > Close. Then accept the rescan that is proposed.

    • The IET disk is displayed in the device list in the bottom panel.
  7. Go to Configuration > Storage (1) > Add storage… (2).

  8. Select Disk/LUN.

  9. Select the Target, then click Next.

Finish the configuration with the default settings.


If you have problems with VMFS5, choose to configure your target with VMFS3.

See Also