FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 08-22-2011, 01:49 PM
Lázaro Morales
 
Default libvirt network problem

Hello,

After a fresh install of libvirt in a box with one physical interface
(eth0), I tried to set up a bridged network in br0:

[ifcfg-eth0:]

DEVICE=eth0
HWADDR=48:5b:39:ba:f9:2a
NM_CONTROLLED=no
BRIDGE="br0"
ONBOOT=yes
NETMASK=255.255.255.0
IPADDR=192.168.0.10
GATEWAY=192.168.0.2
DNS2=192.168.0.6
TYPE=Ethernet
BOOTPROTO=none
DNS1=192.168.0.5
IPV6INIT=no
USERCTL=no

[ifcfg-br0]

DEVICE=br0
TYPE=Bridge
BOOTPROT="dhcp"
ONBOOT=yes
DELAY=0
NM_CONTROLLED=no
BOOTPROTO=dhcp
IPV6INIT=no
USERCTL=no

After that I get this:

br0 Link encap:Ethernet HWaddr 48:5B:39:BA:F9:2A
inet addr:192.168.0.122 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::4a5b:39ff:feba:f92a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:398 errors:0 dropped:0 overruns:0 frame:0
TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:36074 (35.2 KiB) TX bytes:23902 (23.3 KiB)

eth0 Link encap:Ethernet HWaddr 48:5B:39:BA:F9:2A
inet6 addr: fe80::4a5b:39ff:feba:f92a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:417 errors:0 dropped:0 overruns:0 frame:0
TX packets:167 errors:0 dropped:0 overruns:0 carrier:2
collisions:0 txqueuelen:1000
RX bytes:43047 (42.0 KiB) TX bytes:24860 (24.2 KiB)
Interrupt:28

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

virbr0 Link encap:Ethernet HWaddr 8E:37B:3B:46:3F
inet addr:192.168.122.1 Bcast:192.168.122.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

And now I don't have an IP address in eth0, but I have one br0.

Is something wrong here? I see that eth0 have "Interrupt:28", what this
mean?

Thanks in advance.

Best regards,
Lázaro.

Este mensaje de correo electrónico ha sido procesado por el servidor de Frioclima


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-22-2011, 08:21 PM
Tom H
 
Default libvirt network problem

2011/8/22 Lázaro Morales <lazaro@frioclima.com.cu>:
>
> After a fresh install of libvirt in a box with one physical interface
> (eth0), I tried to set up a bridged network in br0:
>
> [ifcfg-eth0:]
>
> DEVICE=eth0
> HWADDR=48:5b:39:ba:f9:2a
> NM_CONTROLLED=no
> BRIDGE="br0"
> ONBOOT=yes
> NETMASK=255.255.255.0
> IPADDR=192.168.0.10
> GATEWAY=192.168.0.2
> DNS2=192.168.0.6
> TYPE=Ethernet
> BOOTPROTO=none
> DNS1=192.168.0.5
> IPV6INIT=no
> USERCTL=no
>
> [ifcfg-br0]
>
> DEVICE=br0
> TYPE=Bridge
> BOOTPROT="dhcp"
> ONBOOT=yes
> DELAY=0
> NM_CONTROLLED=no
> BOOTPROTO=dhcp
> IPV6INIT=no
> USERCTL=no
>
> After that I get this:
>
> br0 * * * Link encap:Ethernet *HWaddr 48:5B:39:BA:F9:2A
> * * * * * inet addr:192.168.0.122 *Bcast:192.168.0.255 *Mask:255.255.255.0
> * * * * * inet6 addr: fe80::4a5b:39ff:feba:f92a/64 Scope:Link
> * * * * * UP BROADCAST RUNNING MULTICAST *MTU:1500 *Metric:1
> * * * * * RX packets:398 errors:0 dropped:0 overruns:0 frame:0
> * * * * * TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
> * * * * * collisions:0 txqueuelen:0
> * * * * * RX bytes:36074 (35.2 KiB) *TX bytes:23902 (23.3 KiB)
>
> eth0 * * *Link encap:Ethernet *HWaddr 48:5B:39:BA:F9:2A
> * * * * * inet6 addr: fe80::4a5b:39ff:feba:f92a/64 Scope:Link
> * * * * * UP BROADCAST RUNNING MULTICAST *MTU:1500 *Metric:1
> * * * * * RX packets:417 errors:0 dropped:0 overruns:0 frame:0
> * * * * * TX packets:167 errors:0 dropped:0 overruns:0 carrier:2
> * * * * * collisions:0 txqueuelen:1000
> * * * * * RX bytes:43047 (42.0 KiB) *TX bytes:24860 (24.2 KiB)
> * * * * * Interrupt:28
>
> lo * * * *Link encap:Local Loopback
> * * * * * inet addr:127.0.0.1 *Mask:255.0.0.0
> * * * * * inet6 addr: ::1/128 Scope:Host
> * * * * * UP LOOPBACK RUNNING *MTU:16436 *Metric:1
> * * * * * RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> * * * * * TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> * * * * * collisions:0 txqueuelen:0
> * * * * * RX bytes:0 (0.0 b) *TX bytes:0 (0.0 b)
>
> virbr0 * *Link encap:Ethernet *HWaddr 8E:37B:3B:46:3F
> * * * * * inet addr:192.168.122.1 *Bcast:192.168.122.255
> Mask:255.255.255.0
> * * * * * UP BROADCAST RUNNING MULTICAST *MTU:1500 *Metric:1
> * * * * * RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> * * * * * TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> * * * * * collisions:0 txqueuelen:0
> * * * * * RX bytes:0 (0.0 b) *TX bytes:0 (0.0 b)
>
> And now I don't have an IP address in eth0, but I have one br0.

eth0 won't and shouldn't have an IP address.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 06:06 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org