Friday, 15 January 2016

Vcenter Appliane Network Issue



Vcenter Appliane  Network Issue


Recently I deployed a vcenter appliance 5.5 and I set the ip address,gateway and all details using the command below command but  I am not able to access from the vcenter appliance to outside network.


/opt/vmware/share/vami/vami_config_net


Actually it was problem with the route.It got resolved after adding static route in the appliance



To apply temporary route .(note:This will get removed after restart)

1.Connect using SSH client(Putty is the best)

2.Type Route and check whether your gateway is mentioned there.If not please add it  as below

route add –net <target_network> netmask <netmask> gw <gateway>  dev  eth0
eg:route add –net  192.168.100.0 netmask 255.255.255.0 gw 192.168.100.1 dev eth0

3.verify

route


To apply a persistent static route on the appliance.(note:if the below file not there create it)

vi /etc/sysconfig/network/ifroute-eth0

add the below line and restart network and verify route
<targetnetwork> <gateway> <netmask> <interface>
 eg:192.168.100.0 192.168.100.1 255.255.255.0 eth0

service network restart

route

No comments:

Post a Comment