Specifications

Administration Guide
318 VMware, Inc.
10.2.0.4!for!the!network!accessed!through!the!vmnic1!adapter,!use!the!following!
command:!
ifconfig eth1 up 10.2.0.4
If!you!want!an!easy!way!to!see!which!eth<n>!devices!are!added!by!the!insmod!
command,!add!the!tagName!parameter!to!the!insmod!command,!as!shown!in!this!
example:!
insmod vmxnet_console devName=”vmnic1;vmnet_0” tagName=<tag>
In!this!case,!the!vmxnet_console!module!adds!the!names!of!each!of!the!eth<n>!devices!
that!it!created!to!/var/log/messages.!Each!message!begins!with!the!string!<tag>.!
To!determine!the!names!of!the!devices!that!were!added,!use!this!command:!
grep <tag> /var/log/messages
Starting Shared VMkernel Network Adapters and Virtual
Networks when the Service Console Boots
There!are!two!ways!to!configure!the!service!console!to!start!VMkernel!network!adapters!
when!the!service!console!boots.!The!simpler!case!involves!sharing!a!network!adapter!
other!than!eth0.!Sharing!eth0!is!more!complicated!and!is!described!later.!
Continuing!with!the!example!from!the!previous!section,!you!can!append!
the!following!
lines!to!/etc/rc.d/rc.local:!
insmod vmxnet_console devName=”vmnic1;vmnet_0”
ifconfig eth1 up 10.2.0.4
ifconfig eth2 up 63.93.12.47
Another!method!is!to!set!up!the!files!
/etc/sysconfig/network-scripts/ifcfg-eth1!and!
/etc/sysconfig/network-scripts/ifcfg-eth2!with!the!appropriate!network!
information.!Make!sure!the!ONBOOT=!line!is!ONBOOT=yes.!The!ifcfg-eth1!file!for!this!
example!would!be:!
DEVICE=eth1
BOOTPROTO=static
BROADCAST=10.255.255.255
IPADDR=10.2.0.4
NETMASK=255.0.0.0
NETWORK=10.0.0.0
ONBOOT=yes
NOTE You!might!want!to!add!commands!that!depend!on!networking!to!the!end!of!rc.local!
(such!as!mount -a!to!mount!any!NFS!entries!in!/etc/fstab).