1 |
On 01/11/2011 03:09 PM, Konstantinos Agouros wrote: |
2 |
> In <1294686017.7979@rumba> elwood@×××××××.de (Konstantinos Agouros) writes: |
3 |
> |
4 |
>> Hi, |
5 |
> |
6 |
>> I just upgraded my box to a phenom and an intel quad gbit card. |
7 |
>> The card is a 82575GB. It is recognized (I use xen-sources 2.6.34-r4) and |
8 |
>> also tried the latest driver available at intel (2.4.12). Ifconfig |
9 |
>> show the interfaces mac addresses etc. |
10 |
> |
11 |
>> However I do not get a link. Neither on a switch nor on a laptop |
12 |
>> with gbit interface. |
13 |
> |
14 |
>> I found googling that there seems to be an issue with xen and this card/ |
15 |
>> chip. Anybody knows a way out of it? Especially since the card should have |
16 |
>> some virtualization optimizations? |
17 |
> OK more googling gave me the answer: |
18 |
> |
19 |
> ethtool -K tx off |
20 |
> |
21 |
> Now the question is: |
22 |
> what is the 'gentooest' way to put this into /etc/conf.d/net? |
23 |
> From reading the example file I would guess a preup() function. |
24 |
> |
25 |
> Also: is /etc/conf.d/net the place to put in the bridge definitions for |
26 |
> the xen guests? If yes, how do I get it to create empty bridges for inter- |
27 |
> guest communications? |
28 |
> |
29 |
> Regards, |
30 |
> |
31 |
> Konstantin |
32 |
----------------- |
33 |
brctl_br0=( "setfd 0" "sethello 0" "stp on" ) |
34 |
config_br0=( "aa.bb.cc.dd netmask dd.ee.ff.gg broadcast hh.ii.jj.kk" ) |
35 |
routes_br0=( "default via ll.mm.nn.oo" ) |
36 |
dns_domain_br0="example.com" |
37 |
dns_servers_br0="pp.qq.rr.ss tt.uu.vv.ww" |
38 |
dns_search_br0="example.com" |
39 |
bridge_add_eth0="br0" |
40 |
config_eth0=( "null" ) |
41 |
|
42 |
brctl_br1=( "setfd 0" "sethello 0" "stp on" ) |
43 |
config_br1=( "null" ) |
44 |
---------------- |
45 |
|
46 |
This should create two bridges: |
47 |
br0 gets the public IP and the physical interface is connected to it |
48 |
br1 can be used to interconnect two VMs without connection to dom0 |
49 |
and the outside world |
50 |
|
51 |
/etc/conf.d/net is super powerfull, and super bad documented :( |
52 |
|
53 |
Bye, |
54 |
Daniel |
55 |
|
56 |
|
57 |
-- |
58 |
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get |
59 |
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 |