OpenVZ Forum


Home » General » Support » /etc/network/interfaces file
Re: /etc/network/interfaces file [message #36090 is a reply to message #36083] Thu, 21 May 2009 04:15 Go to previous messageGo to previous message
Balbuzard is currently offline  Balbuzard
Messages: 26
Registered: March 2009
Location: Australia
Junior Member
Ok, thanks for your answer.
But what happens if I want to set up a private dynamic network for my VPS? Is it still possible to set up a DNS server and a DHCP server (with dnsmasq for example) with this configuration?
I have tried previously without any success, I don't know if the problem comes from this configuration. I had this in the file /etc/network/interfaces of the VPS:
# Auto generated interfaces

auto lo

iface lo inet loopback



auto venet0

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

auto venet0:0

iface venet0:0 inet dhcp

Thank you for your help!
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: bridging work one-way only
Next Topic: Time falls behind in Hardware(host) node
Goto Forum:
  


Current Time: Fri Aug 01 18:14:31 GMT 2025

Total time taken to generate the page: 0.35351 seconds