HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   The Perfect Xen 3.1.0 Setup For Debian Etch (i386) (http://www.howtoforge.com/forums/showthread.php?t=13335)

ko0nz 11th June 2007 19:13

The Perfect Xen 3.1.0 Setup For Debian Etch (i386)
 
hi,

i'm testing xen 3.1 in a debian testing several time:
- firstly, my installing stopped before installing xen-tools
and i can't have access to the network, neither my gw.
i can ping my own adress but i can't ping else.

- lastly, my installation stopped before installing xen-tools and
after reboot of the xen kernel in a new station, i can ping my network x.x.2.x, my gw x.x.2.1
but i can't ping x.x.10.x
my network is a vlan : x.x.2.x and x.x.10.x are different network.

is there something wrong about the network with xen 3.1 and debian ?

thanks in adavance for your help.

falko 12th June 2007 14:40

What exactly did you change in your network settings? What's in /etc/network/interfaces, what's the output of
Code:

ifconfig
?

ko0nz 12th June 2007 17:52

static IP: 172.20.2.160
gateway: 172.20.2.1

# cat /etc/network/interfaces

auto lo
iface lo inet loopback

iface eth0 inet static
address 172.20.2.160
netmask 255.255.255.0
gateway 172.20.2.1
auto eth0

eth0 Lien encap:Ethernet HWaddr 00:0F:FE:6B:57:32
inet adr:172.20.2.160 Bcast:172.20.2.255 Masque:255.255.255.0
adr inet6: fe80::20f:feff:fe6b:5732/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:140 (140.0 b) TX bytes:3370 (3.2 KiB)

lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:286 errors:0 dropped:0 overruns:0 frame:0
TX packets:286 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:23600 (23.0 KiB) TX bytes:23600 (23.0 KiB)

peth0 Lien encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet adr:169.254.249.7 Bcast:169.254.255.255 Masque:255.255.0.0
adr inet6: fe80::fcff:ffff:feff:ffff/64 Scope:Lien
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:322 errors:0 dropped:481 overruns:0 frame:0
TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:100
RX bytes:53172 (51.9 KiB) TX bytes:7674 (7.4 KiB)
Adresse de base:0x1100 Mémoire:f0500000-f0520000

vif0.0 Lien encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
adr inet6: fe80::fcff:ffff:feff:ffff/64 Scope:Lien
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:3370 (3.2 KiB) TX bytes:210 (210.0 b)

xenbr0 Lien encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:2922 (2.8 KiB) TX bytes:168 (168.0 b)

Table de routage IP du noyau
Destination Passerelle Genmask Indic MSS Fenêtre irtt Iface
172.20.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 peth0
0.0.0.0 172.20.2.1 0.0.0.0 UG 0 0 0 eth0

ko0nz 12th June 2007 18:16

perhaps :
# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet static
address 172.20.2.160
netmask 255.255.255.0
gateway 172.20.2.1
auto eth0

---------->
auto lo
iface lo inet loopback
iface eth0 inet static
address 172.20.2.160
netmask 255.255.255.0
network 172.20.0.0
broadcast 172.20.2.255 <---------
gateway 172.20.2.1 <---------------
auto eth0

hmm...i can't tried it because i uninstalled xen 3.1
well i think i am going to have a try again...:)

ko0nz 12th June 2007 19:59

well, with this change, i can't ping something out of my network yet...

falko 13th June 2007 03:05

Quote:

Originally Posted by ko0nz
perhaps :
# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet static
address 172.20.2.160
netmask 255.255.255.0
gateway 172.20.2.1
auto eth0

---------->
auto lo
iface lo inet loopback
iface eth0 inet static
address 172.20.2.160
netmask 255.255.255.0
network 172.20.0.0
broadcast 172.20.2.255 <---------
gateway 172.20.2.1 <---------------
auto eth0

hmm...i can't tried it because i uninstalled xen 3.1
well i think i am going to have a try again...:)

Please try network 172.20.2.0 instead.

This link might help you: http://www.subnetmask.info/

ko0nz 13th June 2007 11:26

sorry, but i was already with
network 172.20.2.0

falko 14th June 2007 22:14

Can you post the output of
Code:

cat /etc/network/interfaces
again, but this time put CODE tags around it so that I can see the formatting? The leading spaces are important.

ko0nz 13th November 2007 21:48

Code:

auto lo
iface lo inet loopback

#auto xenbr0
#iface  xenbr0 inet static
#      address 172.20.2.160
#      netmask 255.255.255.0
#      network 172.20.2.0
#      broadcast 172.20.2.255
#      gateway 172.20.2.1
#      bridge_ports eth0
 # optional
#      bridge_maxwait 0


auto eth0
iface eth0 inet static
 address 172.20.2.160
 netmask 255.255.255.0
 network 172.20.2.0
 broadcast 172.20.2.255
 gateway 172.20.2.1


it's strange that i can't ping the gateway, neither the subnet 172.20.2.x


All times are GMT +2. The time now is 00:01.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.