OpenVZ Forum


Home » General » Support » running cobbler inside a CT (cobbler setup problem)
Re: running cobbler inside a CT [message #40166 is a reply to message #40164] Sat, 24 July 2010 08:45 Go to previous messageGo to previous message
olojoh1977 is currently offline  olojoh1977
Messages: 6
Registered: July 2010
Location: Sthlm Sweden
Junior Member
Unfortunately my problem didnt go away after restarting httpd.

Perhaps I have some faulty configuration? Plz check.

I'm running a CT with CentOS 4.8 (precreated template) with veth-interface.

On CT0 eth0 and veth103.0 is up and running.
Inside CT103:
bash> cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.213.223.103
NETMASK=255.255.255.0
GATEWAY=10.213.223.1

Snippet from CT0's /etc/sysctl.conf
net.ipv4.conf.eth0.forwarding = 1
net.ipv4.conf.eth0.proxy_arp = 1
# commented rows below because it's taken care of in mount-script
#net.ipv4.conf.veth103.0.forwarding = 1
#net.ipv4.conf.veth103.0.proxy_arp = 1

My 103.conf is created from basic-sample, just added veth-interface.

Appending /etc/vz/conf/103.conf and /etc/vz/conf/103.mount for the sake of clearity.
  • Attachment: 103.conf
    (Size: 1.73KB, Downloaded 294 times)
  • Attachment: 103.mount.txt
    (Size: 0.67KB, Downloaded 334 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Help] - Ip change
Next Topic: IPs constantly disconnecting
Goto Forum:
  


Current Time: Fri Oct 18 01:03:02 GMT 2024

Total time taken to generate the page: 0.05155 seconds