Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Feb 15, 2010 11:59 am 
Offline
Senior Member
User avatar

Joined: Tue Mar 17, 2009 5:11 am
Posts: 129
Location: UK
I've purchased an additional public IP address for my linode from the control panel.

I then configured my network using the instructions in the linode library.

I'm using clean Debian 5 install so I placed the additional IP address and gateway into /etc/network/interfaces as eth0:0

I restarted networking and eth0:0 appears in the list underneath eth0

However I think I'm missing a step as the new interface doesn't appear to be doing anything. I can't ping from it, nor can I configure sshd to listen on the IP.

I've not got a firewall setup that's blocking it.

Can anyone suggest what I'm missing please?

Thanks.
MN


Top
   
 Post subject: *solved*
PostPosted: Mon Feb 15, 2010 12:24 pm 
Offline
Senior Member
User avatar

Joined: Tue Mar 17, 2009 5:11 am
Posts: 129
Location: UK
Got it working...a reboot fixed it.


Top
   
 Post subject:
PostPosted: Mon Feb 15, 2010 1:08 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Adding an IP requires a reboot ;)


Top
   
 Post subject:
PostPosted: Mon Feb 15, 2010 4:17 pm 
Offline
Senior Member
User avatar

Joined: Tue Mar 17, 2009 5:11 am
Posts: 129
Location: UK
Ok thanks - I thought a quick network restart would fix it :roll:

Now to get the new IP working with an OpenVZ container...


Top
   
 Post subject:
PostPosted: Tue Feb 16, 2010 11:35 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
A warning: virtualization-inside-virtualization (as in, OpenVZ inside your Xen linode) will *not* work properly.

You really shouldn't be double-virtualizing; since the minimum linode size is $20, it's not expensive to just get additional linodes if you want isolation.


Top
   
 Post subject:
PostPosted: Tue Feb 16, 2010 3:53 pm 
Offline
Senior Member
User avatar

Joined: Tue Mar 17, 2009 5:11 am
Posts: 129
Location: UK
That probably explains why I'm having a horrid time trying to get the additional IP working with a container, although I've had success forwarding from eth0 to a container.

It was just a learning exercise though, I'm not really into virtualisation, but I was bored at work the last few days and thought I'd see how far I could take it :lol:


Top
   
 Post subject:
PostPosted: Tue Feb 16, 2010 4:22 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
On virtualization within a domU, I'm less of a "it won't work" guy and more of a "you're going to have some limitations" guy. Your best bet might be to set up a private address space for your container(s), then use a combination of NAT for outgoing traffic and port forwarding/HTTP proxying for incoming traffic.

For virtualization-under-virtualization purposes, I'd say OpenVZ is probably one of the better ways to go, thanks to its memory management shenanigans. Purely academic, though.


Top
   
 Post subject:
PostPosted: Tue Feb 16, 2010 4:36 pm 
Offline
Senior Member
User avatar

Joined: Tue Mar 17, 2009 5:11 am
Posts: 129
Location: UK
Yeah I managed to get containers with private IPs working as you suggested hoopycat.

Still it's a bit of a moot point now as I've read that Debian & Ubuntu are to drop support for OpenVZ in their next releases. Ah well I'll have to find something else to do at work instead!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group