[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth1" ------------> Ethernet Port address seen on "Ifconfig".
BOOTPROTO="static" ------------> "Static" IP or "dhcp".
IPV6INIT="yes"
NM_CONTROLLED="yes"
ONBOOT="yes" ---------> Set on boooting.
TYPE="Ethernet" -----------> Port type.
IPADDR=192.168.1.147 -----------> IP address.
NETMASK=255.255.255.0 -----------> Network Mask.
[root@localhost ~]#
DEVICE="eth1" ------------> Ethernet Port address seen on "Ifconfig".
BOOTPROTO="static" ------------> "Static" IP or "dhcp".
IPV6INIT="yes"
NM_CONTROLLED="yes"
ONBOOT="yes" ---------> Set on boooting.
TYPE="Ethernet" -----------> Port type.
IPADDR=192.168.1.147 -----------> IP address.
NETMASK=255.255.255.0 -----------> Network Mask.
[root@localhost ~]#
Restart "network" service to see if the configuration is working.
You can verify it using the following command after the network restart:
# ifconfig eth1
# route -n
You can verify it using the following command after the network restart:
# ifconfig eth1
# route -n
No comments:
Post a Comment
Thank You.
https://linwintech.blogspot.com/