Every dog has a blog!
[ start | index | login or register ]
start > 2008-09-30 > 1

How to configure the second NIC on a VMWare ESX

Created by derjohn. Last edited by derjohn, 4 years and 236 days ago. Viewed 3,094 times. #1
[edit] [rdf]
labels
attachments

How to configure the second NIC on a VMWare ESX

We already have one virtual port that bridges/switches to NIC1:

# esxcfg-vswitch -l Switch Name Num Ports Used Ports Configured Ports MTU Uplinks vSwitch0 64 8 64 1500 vmnic0

PortGroup Name VLAN ID Used Ports Uplinks VM Network 0 4 vmnic0 Service Console 0 1 vmnic0

We want to add a new virtual port that is bridged/switched to NIC2:

# esxcfg-vswitch -a vSwitch1 # esxcfg-vswitch -A "Backup Network" vSwitch1 # esxcfg-vswitch -L vmnic1 vSwitch1 # esxcfg-vswif -a vswif1 -p "Backup Network" -i 192.168.2.99 -n 255.255.255.0

['Vnic' warning] Generated New MAC address, xxxxx for vswif1 Nothing to flush.

Then you get a second interface like this:

vswif1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether xxxxx brd ff:ff:ff:ff:ff:ff inet 192.168.2.99/24 brd 192.168.2.255 scope global vswif1

The result is as follows:

# esxcfg-vswitch -l Switch Name Num Ports Used Ports Configured Ports MTU Uplinks vSwitch0 64 8 64 1500 vmnic0

PortGroup Name VLAN ID Used Ports Uplinks VM Network 0 4 vmnic0 Service Console 0 1 vmnic0

Switch Name Num Ports Used Ports Configured Ports MTU Uplinks vSwitch1 64 4 64 1500 vmnic1

PortGroup Name VLAN ID Used Ports Uplinks Backup Network 0 1 vmnic1

no comments | post comment

< May 2013 >
SunMonTueWedThuFriSat
1234
567891011
12131415161718
19202122232425
262728293031


Logged in Users: (0)
… and 2 Guests.

Blogrolling:
>>Blog des Wahnsinns
>>Daniel Holbach's Blog
>>Matt Cutt's blog
>>Randgruppentourismus

XHTML 1.0 validated
CSS validated
RSS 2.0 validated
RSS Feed

Hinweise zur Formatierung
snipsnap-help.

Powered by
SnipSnap 1.0b1-snipit

Ads will be placed here!

dem john sein blog | Impressum: Andreas John, Frankfurter Str. 98a, 63067 Offenbach, E-Mail: himself@derjohn.de