OpenVZ Forum


Home » General » Support » Ubuntu dapper template, or upgrading debian stable to ubuntu
Re: Ubuntu dapper template, or upgrading debian stable to ubuntu [message #3745 is a reply to message #3744] Wed, 14 June 2006 03:08 Go to previous messageGo to previous message
dmbt is currently offline  dmbt
Messages: 8
Registered: June 2006
Junior Member
Well, if you look at /etc/network/interfaces, it should look something like this:
# Auto generated venet0 interfaces
auto venet0 lo
iface venet0 inet static
address 127.0.0.1
netmask 255.255.255.255
broadcast 0.0.0.0
up route add -net 191.255.255.1 netmask 255.255.255.255 dev venet0
up route add default gw 191.255.255.1
iface lo inet loopback

auto venet0:0
iface venet0:0 inet static
address 10.0.0.55
netmask 255.255.255.255
broadcast 0.0.0.0


The ipadd command is supposed to add it, but sometimes it doesn't for some reason. I don't know if thats the templates fault, or something else. If it is the template faults, someone post and ill fix it. For now, just paste something like this in the user vps or make a script that does it:
auto venet0:0
iface venet0:0 inet static
address 10.0.0.55 //this is the ip address your assigning to the VE.
netmask 255.255.255.255
broadcast 0.0.0.0
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* 2.6.16+026test014 compilation Error
Next Topic: *SOLVED* Compile SW in a VPS
Goto Forum:
  


Current Time: Sun Jul 14 15:56:53 GMT 2024

Total time taken to generate the page: 0.02286 seconds