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 11-18-2009, 04:22 AM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Rep: Reputation: 55
ipaddress of virutal machine


Hi all....

In my fedora9 machine i have a Virtual Machine installed...The ip of virtual machine is 192.168.122.82.

But when i execute ifconfig in my fedora9 machine i get
Code:
virbr0    Link encap:Ethernet  HWaddr 00:FF:5E:31:17:72  
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          inet6 addr: fe80::2c7c:1dff:fef8:5fcc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:57 errors:0 dropped:0 overruns:0 frame:0
          TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:8920 (8.7 KiB)  TX bytes:7813 (7.6 KiB)

vnet0     Link encap:Ethernet  HWaddr 00:FF:5E:31:17:72  
          inet6 addr: fe80::2ff:5eff:fe31:1772/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:57 errors:0 dropped:0 overruns:0 frame:0
          TX packets:625 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:9718 (9.4 KiB)  TX bytes:33902 (33.1 KiB)
Above what is virbr0 and vnet0 ?

Also ip address in virbr0 is different than Ip address of my virtual machine which is 192.168.122.82 ?

Also there is no ipaddress for vnet0 ?

I am confused...Can anyone please help me...

Thanks in advance...
 
Old 11-18-2009, 04:27 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
There can be multiple form of networking exist between host and guest.
like
NAT
Host only networking
Bridged Networking
If you select bridged network then a virtaul network interface created on your guest that is vnet0 that create a bridge interface virbr0. Ip address specified to virbr0.

You can use brctl to view which interfaces are present in bridge interface.

Last edited by vishesh; 11-18-2009 at 04:28 AM.
 
  


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
how make virutal machine to communicate with physical network mannmaniyar Linux - Newbie 1 05-18-2009 09:58 AM
Virutal Root Directory Murdock1979 Slackware 1 08-05-2005 09:19 AM
building dbase for virutal user pfunck123 Linux - Newbie 3 10-28-2004 01:31 PM
Name Based virutal host in apache Inexactitude Linux - Networking 9 04-11-2004 11:11 PM
virutal host not opening notorious_guy Linux - Networking 0 08-06-2003 04:27 AM

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

All times are GMT -5. The time now is 04:39 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
Open Source Consulting | Domain Registration