[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Dom0 network doesn't work



Hi all,
  i'm new to Xen and i tried to install it in gentoo some days ago. It 
worked fine, but for some reason i had to reinstall al the systtem. Now 
i have the same problem i had the first time i installed it and i 
forgot the reason of the problem so i'm uable to solve it. When i boot 
gentoo the network don't start.
Seems that no one take a ip so the network cannot bring up.
server04 ~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:10:5A:B4:31:AA
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:315 errors:0 dropped:0 overruns:0 frame:0
          TX packets:131 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:27595 (26.9 Kb)  TX bytes:15298 (14.9 Kb)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          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)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:315 errors:0 dropped:0 overruns:0 frame:0
          TX packets:131 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:28087 (27.4 Kb)  TX bytes:15394 (15.0 Kb)
          Interrupt:17 Base address:0xe000

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:131 errors:0 dropped:0 overruns:0 frame:0
          TX packets:315 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:15298 (14.9 Kb)  TX bytes:27595 (26.9 Kb)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:129 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:9452 (9.2 Kb)  TX bytes:0 (0.0 b)

server04 ~ # netstat -ran
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  
irtt Iface
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          
0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          
0 lo

bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              vif0.0
                                                        peth0
I really don't remember what i have to do to start netowork. I 
modified my /etc/conf.d/net like this:

bridge_xenbr0="eth0"
config_eth0=( "null" )
config_xenbr0=( "192.168.1.204" )
brctl_xenbr0=( "setfd 0" "sethello 0" "stp off" )
routes_xenbr0=( "default via 192.168.1.254" )

I want that 192.168.1.204 is the ip address and 192.168.1.254 the 
gateway.
Thx for any answer. Bye


Naviga e telefona senza limiti con Tiscali     
Scopri le promozioni Tiscali adsl: navighi e telefoni senza canone Telecom

http://abbonati.tiscali.it/adsl/


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.