To assign the virtual ethernet card in linux system
# To assign the virtual ethernet card in linux system
------------------------------------------------------
# Configuraton file:
--------------------
/etc/sysconfig/network-scripts/ifcfg-eth0:x
# Command:
----------
netconfig -d eth0:1
ip address:
subnet mask:
deault gateway:
primary nameserver:
# Turn on the services to get the effect
chkconfig network on
service network restart
# Removal of virtual ethernet card:
-----------------------------------
rm -rf /etc/sysconfig/network-scripts/ifcfg-eth0:x
------------------------------------------------------
# Configuraton file:
--------------------
/etc/sysconfig/network-scripts/ifcfg-eth0:x
# Command:
----------
netconfig -d eth0:1
ip address:
subnet mask:
deault gateway:
primary nameserver:
# Turn on the services to get the effect
chkconfig network on
service network restart
# Removal of virtual ethernet card:
-----------------------------------
rm -rf /etc/sysconfig/network-scripts/ifcfg-eth0:x
Comments