VMware Communities > Blogs > Christian FERRERO > 2008 > November > 12

Blog Posts

Christian FERRERO

Previous Next
1

#esxcfg-vswif -l
#esxcfg-vswif -p Service\ Console -i IP_Address -n IP_Mask
#esxcfg-vswif -p Service\ Console -i x.x.x.x -n x.x.x.x vswif0

Change GW
Edit this file "/etc/sysconfig/network" and change IP GW



Add a comment Leave a comment on this blog post.
Nov 7, 2008 3:08 PM Reply Eric

Actually I think you're missing vswif0 from the end of the second command

  1. esxcfg-vswif -p Service\ Console -i x.x.x.x -n x.x.x.x vswif0

If you don't add vswif0 at the end, the command generates a syntax error.