- Offizieller Beitrag
ensure hyper-v mod is installed
#modinfo hv_vmbus
#rpm -qa | grep hyper
system-config-network-tui &
or using vi
# cd /etc/sysconfig/network-scripts/
You need to edit / create files as follows using a text editor such as vi:
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
DHCPCLASS=
HWADDR=00:30:48:56:A6:2E
IPADDR=10.10.29.66
NETMASK=255.255.255.192
ONBOOT=yes
# vi /etc/sysconfig/network
Append or modify configuration as follows:
NETWORKING=yes
HOSTNAME=http://www1.nixcraft.in
GATEWAY=10.10.29.65
restart service
/etc/init.d/network restart
Setting up dns server
Make sure you have correct DNS server defined in /etc/resolv.conf file:
# vi /etc/resolv.conf
Setup DNS server IP address as follows (feel free to replace 10.0.80.11, 10.0.80.12 as per your setup):
nameserver 10.0.80.11
nameserver 10.0.80.12
nameserver 202.67.222.222