new1234.jpg

Archive

Posts Tagged ‘route’

VMware: Adding a static route to an ESX host for an extra service console

August 11th, 2009 No comments

First you can add a route with putty or console:

route add -net 172.16.254.0 netmask 255.255.255.0 gw 10.20.1.222

image

After restart your route is gone, so you need to add a static route.

Add the following line to /etc/rc.local so that route is set on boot:

/sbin/route add -net 172.16.254.0 netmask 255.255.255.0 gw 10.20.1.222

image

Route settings:

image

Source: VMware KB

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

Categories: VMware Tags: , ,

VMware: Change vShphere service console ip-address

August 4th, 2009 1 comment

Change the ip address from the ESX 4.0 server it’s possible but not without danger. Make sure you’ve got ILO configured or can access directly to the server console.

Follow the next steps to change the ip address from mij vSphere hosts:

1. Put your ESX host in Maintenance Mode and disconect it from Virtual Center.

2. Give the following command:

esxcfg-vswif -a vswif0 -p Service\ Console -i 172.16.254.203 -n 255.255.255.0 -b 172.16.254.253

-i is the new IP adresse
-n is your new subnet
-b is your broadcast

image
Read more…

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

Microsoft: Windows 2008 ROUTE ADD elevation error

July 27th, 2009 1 comment

Tijdens het toevoegen van een route op Windows 2008 (Vista) kan je de volgende foutmelding krijgen;

“The requested operation requires elevation.”

image

Deze melding wordt veroorzaakt wanneer het zeer geliefde fenomeen User Account Control ingeschakeld is.

Dit kan uitgeschakeld worden onder:

Control Panel >  User Accounts > Turn User Account Control On or Off

image

Na uitschakelen dient het systeem herstart te worden. Vervolgens kan de route worden toegevoegd.

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: Adding multiple gateways to Service Console network (1008464)

February 23rd, 2009 No comments

The following scenario describes requirements for multiple subnets:

  • You have separate subnets and for each subnet there is service console.
  • You use each subnet for file copying or other purposes.
  • The network consists of three subnets. Each subnet has its own gateway.   
        For example, VMware Converter can access ESX to store newly converted virtual machines.

If routes are added in rc.local as per Adding static route to ESX host for extra Service Console when service network restart is executed, all added routes disappear.

To create a route file for multiple subnets on the service console network TCP/IP stack:

1. Log in to the ESX host command line as root.

2. Run the following command to generate and edit the route file:
nano /etc/sysconfig/network-scripts/ route-vswifX
Where X represent interface number.

3. Input the entries as per the following sample:
GATEWAY0=10.21.51.1
NETMASK0=255.255.255.0
ADDRESS0=192.168.55.0
GATEWAY1=10.21.51.2
NETMASK1=255.255.255.0
ADDRESS1=192.168.50.0
GATEWAY2=10.21.51.3
NETMASK2=255.255.255.0
ADDRESS2=10.10.40.0

4. If gateway does not provide proper connectivity as expected, replace GATEWAY X with GATEWAY X=0.0.0.0.

Restart the network and new routes are added.

Check out the complete knowledge base article after the jump

Source: 1008464
Categories: VMware Tags: , , ,