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 #10701 is a reply to message #10632] Mon, 26 February 2007 18:01 Go to previous messageGo to previous message
dragon001 is currently offline  dragon001
Messages: 16
Registered: February 2007
Junior Member
by the way, more about the ve

root@localhost:/# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:1398 (1.3 KiB)

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:11.22.33.172 P-t-P:11.22.33.172 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

the /etc/network/interfaces

# This configuration file is auto-generated.
# WARNING: Do not edit this file, otherwise your changes will be lost.
# Please edit template /etc/network/interfaces.template instead.


# 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 192.0.2.1 netmask 255.255.255.255 dev venet0
up route add default gw 192.0.2.1
iface lo inet loopback

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

I tried to add routing information or korrekt the netmask, but every time i restarted the ve, every setting is reseted to this.

I tried this as Routes
up route add -net 11.22.33.1 netmask 255.255.255.0 venet0
up route add default gw 11.22.33.1 venet0

But as i said, vzctl overwrites my settings.

Sad
 
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: Sun Aug 04 16:59:40 GMT 2024

Total time taken to generate the page: 0.02909 seconds