VMware Performance Community
AbouElNadar
Contributor
Contributor
Jump to solution

No network in all OVAs except the DHCP

I am deploying the OVA templates of the OlioDB, OlioWeb and DS2DB and in the manual part of "configuring Network" it said that when I open yast2 lan I will have two networks one "Not configured" and one "DHCP" and I should delete the DHCP one.

In all of the vms I can only find one network which is the DHCP network. So should I delete it or not? If so how will I create a new one?

Anyone faced this problem??

Tags (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
Singh09
Contributor
Contributor
Jump to solution

Hi,

I think the reason for this is that you only assign one network adaptor to your vm. check in edit setting. and add a new network adaptor and assign a static ip to this adaptor.

eg. in vm console vim /etc/sysconfig/network/ifcfg-eth1.

BOOTPROTO='static'

BOOTPROTO='static'

NETMASK='255.255.255.0'

IPADDR='<assign a static ip>'

NAME='VMXNET3 Ethernet Controller'

STARTMODE='auto'

USERCONTROL='no'

save the file

now delete the dhcp from yast2

run 'static network restart' without quotes

.

if you want to access your vm from putty

run 'dhcpcd eth0' without quotes

you have to run dhcpcd command every time you restart your vm

View solution in original post

Reply
0 Kudos
1 Reply
Singh09
Contributor
Contributor
Jump to solution

Hi,

I think the reason for this is that you only assign one network adaptor to your vm. check in edit setting. and add a new network adaptor and assign a static ip to this adaptor.

eg. in vm console vim /etc/sysconfig/network/ifcfg-eth1.

BOOTPROTO='static'

BOOTPROTO='static'

NETMASK='255.255.255.0'

IPADDR='<assign a static ip>'

NAME='VMXNET3 Ethernet Controller'

STARTMODE='auto'

USERCONTROL='no'

save the file

now delete the dhcp from yast2

run 'static network restart' without quotes

.

if you want to access your vm from putty

run 'dhcpcd eth0' without quotes

you have to run dhcpcd command every time you restart your vm

Reply
0 Kudos