OpenVZ Forum


Home » General » Support » Gateway 192.0.2.1 with Ubuntu-8.04 and Debian 4.0
Gateway 192.0.2.1 with Ubuntu-8.04 and Debian 4.0 [message #33876] Mon, 17 November 2008 22:36 Go to previous message
tanteauguri is currently offline  tanteauguri
Messages: 8
Registered: November 2008
Junior Member
I am new to OpenVZ so please be graceful...

On two hostsystems (ubuntu 8.04, Debian Lenny) I installed each a VE ununtu-8.04-minimal. In both envirements a gateway 192.0.2.1 is added and the network does not work. Changing the /etc/network/interfaces to correct values and after a network restart everything works.
After a reboot of the VE the /etc/network/interfaces is crappy again:
# 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 lo
iface lo inet loopback

auto venet0
iface venet0 inet manual
        up ifconfig venet0 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
auto venet0:0
iface venet0:0 inet static
        address 192.168.3.105
        netmask 255.255.255.255
        broadcast 0.0.0.0

This ist the routing table:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.0.2.1       0.0.0.0         255.255.255.255 UH    0      0        0 venet0
0.0.0.0         192.0.2.1       0.0.0.0         UG    0      0        0 venet0


The same problem using debian-4.0-minimal.

How do I get rid of this problem?

Thx...
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Samba server in VE
Next Topic: shorewall in VE
Goto Forum:
  


Current Time: Sun Oct 20 11:54:45 GMT 2024

Total time taken to generate the page: 0.05148 seconds