How to use eth0 on CT? [GUI]

boy_pishit

New Member
Feb 27, 2012
8
0
1
Hi,

I want to use the CT eth, I've tried to do it, but CT can not ping to the gateway of the ISP, but I can ping CT on the same Network.

Proxmox 2.0 I'm using a GUI.
 
did you configure the network inside the container?
 
I use OS CentOS 6 32 bit.

After I add eth0 to the CT100, I have to create a config ifcfg-eth0.

My Network of ISP.
Network: 192.168.1.0/24.
Use IP: 192.168.1.10-20.
Gateway: 192.168.1.254.

192.168.1.10 for the Host Proxmox 2.0.
192.168.1.11 for the CT 100.

I defined on the CT 100.

# vi / etc/sysconfig/network-scripts/ifcfg-eth0
# # # # # # # # # # # # # # # # # # # # # # # # #.
DEVICE = eth0.
IPADDR = 192.168.1.11.
NETMASK = 255.255.255.0.
GATEWAY = 192.168.1.254.
ONBOOT = yes.
# # # # # # # # # # # # # # # # # # # # # # # # #.

I reboot CT 100.
I ping 192.168.1.10-20 OK.
But I can not ping 192.168.14.254.

What should I do it?

Thank.
 
Add the following too...

/etc/sysconfig/network

GATEWAY=XXX.XXX.XXX.XXX


This option should be created but seems to be missing on the container templates.

Should sort your problem :-)