How to add route to ESXi host and Vcenter


At this  article  I tried to  explain  how  to add  static  route  to  ESXi  host and  Vcenter server. Please  check  link and  also  documentation for  more  details.

Step 1: How  to add  static  route  to  ESXi  host

For ESXi 5.*  and  also  6 ;

esxcli network ip route ipv4/ipv6 add –gateway IPv4_address_of_router –network IPv4_address

#esxcli network ip route ipv4 add --gateway 192.168.2.1 --network 192.168.120.0/24

Step 2: How to add  static  route  to  VCenter  Server Appliance ;

Login  VCenter  Server  over  SSH and  use  route  command  to add  routing

#route add -net 192.168.15.0 netmask 255.255.255.0 gw 192.168.121.252

Also check  this  link for more details

Tagged In:

I'm a IT Infrastructure and Operations Architect with extensive experience and administration skills and works for Turk Telekom. I provide hardware and software support for the IT Infrastructure and Operations tasks.

205 Total Posts
Follow Me

Related Post