This is an old revision of the document!


This documentation covers the versions 5.0/5.1/5.5/6.0 of VMWare ESXi

Configuration of VMWare ESXi for the usage of the RPN

Activation of the ESXi console

  1. Start the vSphere client
  2. Select the host, click the Configuration tab, and click Security Profile in the Software panel.
  3. In the Services section, click Properties.
  4. Select ESXi Shell and click Options.
  5. Change the ESXi Shell options.
  6. To enable access permanently, click Start and stop with host. The change will take effect the next time you reboot the host.
  7. Click OK.

Configuration of ESXi to access the RPN network

In the ESXi interface

Create a new VMKernel named “RPN” and bind it to the network card connected to the RPN. The network will go down because the virtual mac is not the same than the one of the physical card (for security reasons)

Set the MTU 9000
Configuration -> Network settings -> Properties... (of vSwitch1)
vSwitch -> Modify -> MTU = 9000 -> OK
RPN -> Modify -> MTU = 9000 -> OK

Attention: If the MTUs are not matching, there is a risk that it will not work

In the console

Edit the configuration file of ESXi

vi /etc/vmware/esx.conf

Find the number of the child in the RPN portgroup (in this example: 0001)

/net/vmkernelnic/child[0001]/portgroup = "RPN"

Find 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”

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”

Reboot the ESXi to take the changes into effect

Find your RPN gateway

Add to route the subnet of the RPN the IP of its gateway

esxcfg-route -a [PUT HERE YOUR RPN GATEWAY]

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

Ping the RPN-SAN

# ping
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

The ping has to work, if not there is a problem.

In the ESXi interface

Click on

Configuration -> Storage adapters -> Add...


“Software iSCSI Adapter” -> OK

Then click on

Software Adapter (normally named vmhba32)

Click then, in the panel at the bottom, at


Go to the tab Dynamic discovery, then click on


Enter the address of the RPN server in the textbox “iSCSI Server” (the address is available in your management console)

Click on

OK -> Fermer

Accept the proposed rescanning.

The IET disk will appear in the panel at the bottom Now go to

Configuration -> Storage -> Add storage... -> Disk/LUN -> Etc...

to use the added storage