LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-04-2017, 09:24 AM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Rep: Reputation: 29
how are network cards represented on a vm?


if im running a vm of centos7
in my /etc/sysconfig/network-scripts what is the file representing
my wifi card or ethernet card?

thanks
 
Old 09-04-2017, 09:31 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by sigint-ninja View Post
if im running a vm of centos7
in my /etc/sysconfig/network-scripts what is the file representing
my wifi card or ethernet card?

thanks
The virtual machine software presents "virtual network adapters" (fake network cards) to the VM, therefore the OS installed within the VM, thinks the "represented" network interface(s), are real network interface/cards/hardware.

The naming of the network interfaces in a VM, is the same as on a real PC, as far as I know.

Have a look at the following for more info;

https://www.virtualbox.org/manual/ch06.html
 
Old 09-05-2017, 05:26 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,176

Rep: Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644Reputation: 3644
I assume above is correct.

Just to be positive maybe post a few bits of information. Are you using any sort of pass through? Usb or pci? The vm choice may help too. Also might as well tell us bridged or nat?
 
Old 09-05-2017, 09:15 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
One way to find out is to run this cmd and see what the output reveals:-

Code:
lspci | grep -i network
OR just read through the output of lspci.

Are you using Virtual Box or some other VM?

https://www.vmware.com/support/ws55/...vadapters.html

Last edited by Ztcoracat; 09-05-2017 at 09:24 PM.
 
  


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
[SOLVED] problem: Wind River Linux is not detecting the network cards (network interfaces) NM04 Linux - Newbie 17 12-06-2013 09:06 AM
[SOLVED] Ubuntu /etc/network/interfaces - my 3 network cards - not working correctly WildDrake! Linux - Networking 2 06-13-2013 02:53 PM
where are the process ids of the threads in firefox represented.. linuxdoniv Linux - Newbie 1 03-01-2008 01:21 PM
two network cards - one for local network, one for http/vsftpd server scottster Linux - Networking 1 01-20-2005 09:52 PM
Why IP addresses are represented in 32-bit patterns? velan Debian 1 04-16-2004 03:06 AM

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

All times are GMT -5. The time now is 10:52 PM.

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
Open Source Consulting | Domain Registration