LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-21-2020, 08:04 AM   #1
ajithborra
LQ Newbie
 
Registered: May 2020
Posts: 2

Rep: Reputation: Disabled
Oracle Linux server 6.2 will work on Hyper-V


Hi all,

I tried to install Oracle Linux server 6.2 on Hyper-V 2016. All went fine at installation. After installation Guest OS is not getting internet from static ip. I tried all possible network adapter settings but no use.

Please help me on this.
 
Old 05-21-2020, 08:21 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,697

Rep: Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243
Quote:
Originally Posted by ajithborra View Post
Hi all,
I tried to install Oracle Linux server 6.2 on Hyper-V 2016. All went fine at installation. After installation Guest OS is not getting internet from static ip. I tried all possible network adapter settings but no use. Please help me on this.
The latest version is 8.x....why are you installing something so old? And why Oracle Linux??? Unless you're paying for it, and *NEED* to run an Oracle database (which is NOT free), there are better choices.

Beyond that, unless you enable the virtual network adapter to be shared, you will NEVER get an address to anything but the guest machine. Go under "Action->Virtual Switch manager", and set things up according to the documentation.
 
Old 05-21-2020, 09:37 AM   #3
ajithborra
LQ Newbie
 
Registered: May 2020
Posts: 2

Original Poster
Rep: Reputation: Disabled
@TB0ne
Hi TB0ne,

I know that i can use latest version but as per my company requirement i have to install 6.2 only and I configured Virtual Switch Manager as per the documentation but its not working and the same is working for Linux other versions and it is working fine.
 
Old 05-21-2020, 09:50 AM   #4
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 1,373

Rep: Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618
Does
Code:
ifconfig -a
show a NIC? ?
 
Old 05-21-2020, 10:02 AM   #5
dc.901
Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 762

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by ajithborra View Post
Hi all,

I tried to install Oracle Linux server 6.2 on Hyper-V 2016. All went fine at installation. After installation Guest OS is not getting internet from static ip. I tried all possible network adapter settings but no use.

Please help me on this.
Did you check:
- default gateway
- DNS entries in resolv.conf

Some companies require NAC agent to be installed, do you have this requirement?
 
Old 05-21-2020, 10:12 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,697

Rep: Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243Reputation: 6243
Quote:
Originally Posted by ajithborra View Post
I know that i can use latest version but as per my company requirement i have to install 6.2 only and I configured Virtual Switch Manager as per the documentation but its not working and the same is working for Linux other versions and it is working fine.
I find it hard to believe that your 'company requirement' is to use something old with well-known vulnerabilities. Again, WHY do you need this particular version??? Oracle can run on many versions of Linux...why OEL 6.2? And again, are you PAYING for your use of Oracle??? Are you even running an Oracle database???

And saying "not working" doesn't give us anything to go on. What documentation did you follow? What other versions of Linux are working? Have you compared the two? What network interfaces do you have available?
 
Old 05-21-2020, 10:40 AM   #7
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 4,612

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Quote:
Originally Posted by ajithborra View Post
After installation Guest OS is not getting internet from static ip.
Do you mean DHCP? If so, run the dhclient on the guest manually. If you get nothing from the DHCP server, the Hyper-V network configuration or DHCP server configuration must be the culprits.
If you get a response from the DHCP server, the error is in the Linux configuration.

Or do you mean a static IP address set in an ifcfg file?

Could there be a problem related to NetworkManager?

In any case, share the guest's network configuration.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL 6.6. Hyper-V VM - kdump doesn't work mmorley7 Red Hat 3 06-08-2016 04:51 PM
RHEL Hyper visor Instillation on VMware Workstation / Oracle Virtual Box mail4vijay Linux - Virtualization and Cloud 5 10-22-2013 12:01 PM
install Redhat Linux 4.6 AS on a Microsoft Hyper V 2008 server rammohantv Linux - Virtualization and Cloud 6 04-18-2012 11:49 PM
Can not Connect Wireless Laptop/XP Hyper Terminal to Linux Server on WRT54G Router msilva10 Linux - Networking 1 05-20-2011 07:52 AM
openSUSE 11.3 and Hyper-V IC: Did someone get it to work? Drio Linux - Newbie 0 11-25-2010 04:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration