S
synet2k
Guest
Hi
I created a KVM with CentOS 5.8 but couldn't get the network working. attached are the config files,
/etc/pve/qemu-server/103.conf
bootdisk: virtio0
cores: 4
ide2: local:iso/CentOS-5.8-x86_64-bin-DVD-1of2.iso,media=cdrom
memory: 512
name: test.domain.com
net0: virtio=4E:CB:A1:52:5F:4C,bridge=vmbr0
ostype: l26
sockets: 1
virtio0: local:103/vm-103-disk-1.raw
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
HWADDR=4E:CB:A1:52:5F:4C
IPADDR=118.122.241.222
NETMASK=255.255.255.0
NETWORK=118.122.241.222.0
/etc/sysconfig/network-scripts/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=test.domain.com
GATEWAY=118.122.241.1
Can anyone help? Thank you.
I created a KVM with CentOS 5.8 but couldn't get the network working. attached are the config files,
/etc/pve/qemu-server/103.conf
bootdisk: virtio0
cores: 4
ide2: local:iso/CentOS-5.8-x86_64-bin-DVD-1of2.iso,media=cdrom
memory: 512
name: test.domain.com
net0: virtio=4E:CB:A1:52:5F:4C,bridge=vmbr0
ostype: l26
sockets: 1
virtio0: local:103/vm-103-disk-1.raw
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
HWADDR=4E:CB:A1:52:5F:4C
IPADDR=118.122.241.222
NETMASK=255.255.255.0
NETWORK=118.122.241.222.0
/etc/sysconfig/network-scripts/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=test.domain.com
GATEWAY=118.122.241.1
Can anyone help? Thank you.
Last edited by a moderator: