Difference between revisions of "VMWare"

From VyOS Wiki
Jump to: navigation, search
m (Setting up network interfaces: Added note regarding use of e1000 and GRE tunnel(s))
Line 6: Line 6:
  
 
Download the template from:
 
Download the template from:
http://mirror.vyos.net/iso/release/1.1.7/vyos-1.1.7-amd64-signed.ova
+
https://downloads.vyos.io/release/1.1.8/vyos-1.1.8-amd64.ova
 
to the machine with VMWare vSphere Client or Web vSphere client.
 
to the machine with VMWare vSphere Client or Web vSphere client.
  
Line 18: Line 18:
  
 
[[Category: User documentation]]
 
[[Category: User documentation]]
 
== Setting up network interfaces ==
 
 
In vSphere client or Hosted client, click edit and add two or more network interfaces to the guest.  '''you must use e1000.''' <small>(Note: If wanting to use GRE tunnel(s) with VyOS on VMware. Refer to [[GRE/IPsec]] before choosing e1000!)</small> See VMWare steps here:
 
https://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.vm_admin.doc_50%2FGUID-47765AC6-38AA-4ADB-84DF-5094EDA718EC.html
 
  
 
=== A suggested topology ===
 
=== A suggested topology ===

Revision as of 03:08, 28 January 2018

VMWare is one of VyOS supported platforms.

OVA

One of the deployment options is the OVA template. This OVA supports ESX/ESXi 4.0 and newer.

Download the template from: https://downloads.vyos.io/release/1.1.8/vyos-1.1.8-amd64.ova to the machine with VMWare vSphere Client or Web vSphere client.

In vSphere Client select File, Deploy OVF Template and follow the instructions.

Default login is "vyos", default password is "vyos". No network interfaces or addresses are configured by default.

Installation from the LiveCD

This option should work for both ESX and VMWare Workstation.

A suggested topology

VMWare Adapter Use Case Comments
Network adapter 1 Management interface Put this in a separate port-group specific to your management network
Network adapter 2 External Interface/WAN Put this in a separate port-group specific to a WAN vlan. You may be able to use 802.1Q/VLAN Tagging on a modem or CPE device doing the ethernet handoff. Make sure this is within the same vSwitch that has a physical adapter connected to your modem/gateway
Network adapter 3+ Internal Interface/LAN Create a LAN port group and set the VLAN to 4095. This allows you to create VIFs for each of your internal vlans on the fly without needing to attach additional network adapters from the vSphere console. Do this for each non-WAN/Management vSwitch instance on the Host.

As an added bonus, you can create a vSwitch that has no physical adapters, and still route traffic out to the web through vyos and a second vSwitch. This allows for easy creation and teardown of new lab environments.