Gentoo Archives: gentoo-user

From: Facu Curti <facu.curti@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Get bridge working for xen
Date: Thu, 17 Apr 2014 02:17:27
Message-Id: 20140417021727.GA5576@facGentoo
In Reply to: Re: [gentoo-user] Get bridge working for xen by AR
1 On Thu, Apr 17, 2014 at 09:54:46AM +0800, AR wrote:
2 > On Thu, Apr 17, 2014 at 9:31 AM, Facu Curti <facu.curti@×××××.com> wrote:
3 > > Hi all! :)
4 > >
5 > > I'm following the gentoo wiki [1]. I can't find any mistake on config
6 > > files, but network does not work :/.
7 > >
8 > > I don't have any xen configuration (or domU) yet. I'm just trying to get a bridge
9 > > with functional network on my domain0.
10 > >
11 > > I attach my /etc/conf.d/net
12 > >
13 > > When I try to ping, with any iface, to to outside, or even to the getaway, it says host
14 > > unreachable. Also, the system delays on load the system. It takes like
15 > > 30 sec more, and conky get stuck (I use it to take data like IP, getway,
16 > > dns, etc..).
17 > >
18 > > I hope can help me please, I need to get this working :/
19 > >
20 > > Thank you! You all are the best!! Bye!
21 > >
22 > > Sorry if my english is not the best :/
23 > >
24 > > [1] https://wiki.gentoo.org/wiki/Xen#Networking_on_Unpriviledged_Domains
25 >
26 > and what is your current network situation and your config (in
27 > /etc/conf.d/net) ?>
28 My /etc/conf.d/net is:
29 config_enp3s0="192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255"
30 routes_enp3s0="default via 192.168.1.1"
31
32
33 And ifconfig:
34
35 enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
36 inet 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255
37 ether ac:22:0b:c1:dc:de txqueuelen 1000 (Ethernet)
38 RX packets 4630 bytes 4343241 (4.1 MiB)
39 RX errors 0 dropped 0 overruns 0 frame 0
40 TX packets 4923 bytes 686607 (670.5 KiB)
41 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
42
43 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
44 inet 127.0.0.1 netmask 255.0.0.0
45 loop txqueuelen 0 (Local Loopback)
46 RX packets 0 bytes 0 (0.0 B)
47 RX errors 0 dropped 0 overruns 0 frame 0
48 TX packets 0 bytes 0 (0.0 B)
49 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
50
51 >
52 > Just for reference, here is my config.
53 >
54 > the IP on br0 is got from DHCP, everything else should be similar.
55 >
56 > modules="iproute2" # optional
57 >
58 > config_eth0="null"
59 >
60 > dns_servers_br0="192.168.1.136"
61 >
62 > config_br0="dhcp" # change this line if your network config is static
63 > brctl_br0="setfd 0 sethello 10 stp off"
64 > bridge_br0="eth0"
65 >
66 > rc_net_br0_need="net.eth0"
67 > rc_net_eth0_provide="!net"
68 >
69
70 I will try this config. I need an static ip, but I can do this from
71 router configuring the dhcp server. So, it is not a problem.
72
73 I bring news in a few minutes
74 > --
75 > Silence is golden.
76 Thank you!

Replies

Subject Author
Re: [gentoo-user] Get bridge working for xen Joost Roeleveld <joost@××××××××.org>