Network Configuration
Shutdown your VM and Network card with following steps
Go to Edit Settings
Press Next
Select network Adapter PRESS OK and START VM
After login type "ifconfig" to view network --> eth1 is newly added Network card
Configure static IP Address
[root@localhost Desktop]# cd /etc/sysconfig/network-scripts/
Shutdown your VM and Network card with following steps
Go to Edit Settings
Press Next
Select network Adapter PRESS OK and START VM
After login type "ifconfig" to view network --> eth1 is newly added Network card
Configure static IP Address
[root@localhost Desktop]# cd /etc/sysconfig/network-scripts/
Create ifcfg-eth1 file and following lines
[root@localhost network-scripts]# vi ifcfg-eth1
[root@localhost network-scripts]# cat ifcfg-eth1
DEVICE="eth1"
BOOTPROTO="Static"
IPV6INIT="no"
NM_CONTROLLED="yes"
ONBOOT="yes"
IPADDR=192.168.0.10
NETMASK=255.255.255.0
[root@localhost network-scripts]#
Device-- Device name
BOOTPROTO-- Type of Booting Protocal Static / Dynamic
ONBOOT --- While booting its enabled
NM_CONTROLLED --- Handled with Network Manager
IPADDR-- IP address
NETMASK -- Netmasking
Restart Network
No comments:
Post a Comment