Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th June 2007, 18:13
ko0nz ko0nz is offline
Junior Member
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 12th June 2007, 13:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What exactly did you change in your network settings? What's in /etc/network/interfaces, what's the output of
Code:
ifconfig
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 12th June 2007, 16:52
ko0nz ko0nz is offline
Junior Member
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #4  
Old 12th June 2007, 17:16
ko0nz ko0nz is offline
Junior Member
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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...
Reply With Quote
  #5  
Old 12th June 2007, 18:59
ko0nz ko0nz is offline
Junior Member
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well, with this change, i can't ping something out of my network yet...
Reply With Quote
  #6  
Old 13th June 2007, 02:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

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/
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
adamassasda291 (28th June 2013)
  #7  
Old 13th June 2007, 10:26
ko0nz ko0nz is offline
Junior Member
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sorry, but i was already with
network 172.20.2.0
Reply With Quote
  #8  
Old 14th June 2007, 21:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 13th November 2007, 20:48
ko0nz ko0nz is offline
Junior Member
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you have The Perfect Setup - Debian Etch ? Dekalb Installation/Configuration 2 2nd June 2007 00:16
The Perfect Xen 3.0.3 Setup For Debian Sarge iptables problem on dom0 ren22 HOWTO-Related Questions 21 7th January 2007 19:32
iptables issue with xen perfect setup - debian alexnz HOWTO-Related Questions 3 25th November 2006 13:49
The Perfect Xen 3.0.3 Setup For EDGY petersolson HOWTO-Related Questions 2 4th November 2006 01:37
The Perfect Xen 3.0 Setup For Debian - IpTables Problem Gurke666 HOWTO-Related Questions 2 21st April 2006 17:21


All times are GMT +2. The time now is 19:57.


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