OpenVZ Forum


Home » General » Support » Server4you Server and Connecting to the Internet and from the Internet
Re: Server4you Server and Connecting to the Internet and from the Internet [message #10689 is a reply to message #10671] Mon, 26 February 2007 17:13 Go to previous messageGo to previous message
dragon001 is currently offline  dragon001
Messages: 16
Registered: February 2007
Junior Member
Ok, first of all, I'm Using Debian Linux 3.1 on two boxes.
Here is, what I did:

I Edited the
/etc/network/interfaces
like this:
# /etc/network/interfaces - network interfaces configuration

# loopback interface

auto lo
iface lo inet loopback

# ethernet interface

auto eth0
iface eth0 inet static
  address 11.22.33.152
  network 11.22.33.0
  netmask 255.255.255.0
  broadcast 11.22.33.255
  gateway 11.22.33.1

# virtual interfaces
auto eth0:1
iface eth0:1 inet static
address 11.22.33.172
network 11.22.33.0
netmask 255.255.255.0
broadcast 11.22.33.255
gateway 11.22.33.1


the I entered following command twice:
#ifup -a
Then I assigned it to the VE
vzctl set 100 --ipadd 11.22.33.172 --save
vzctl start 100
vzctl enter 100
But all of it didn't work.
Im trying to tell him where to find the router, but if this dosn't work, I don't know what to do else.
Is it possible that IP Tables blocks the VE?

[Updated on: Mon, 26 February 2007 18:05]

Report message to a moderator

 
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: How to setup bonding in a VPS?
Next Topic: *SOLVED* Wiki Update for Debian Installation
Goto Forum:
  


Current Time: Wed Jul 10 11:18:05 GMT 2024

Total time taken to generate the page: 0.02499 seconds