To see if the third NIC had been detected, i did;
Code:
# kudzu -p | grep network |
network.hwaddr: xx:xx:xx:xx:xx:xx
network.hwaddr:yy:yy:yy:yy:yy:yy
network.hwaddr:zz:zz:zz:zz:zz:zz
so the third network.hwaddr above is for the new card.
To find the mac address of eth0 and eth1, i did,
Code:
# cd /etc/sysconfig/network-scripts/ |
Better still you could do; (be sure to use caps on HWaddr)
Code:
# ifconfig | grep HWaddr |
then; copy ifcfg-eth1 to ifcfg-eth2
Code:
# cp ifcfg-eth1 ifcfg-eth2 |
then using your favourite text editor, vi, nano.....
Code:
#nano ifcfg-eth2 |
change the lines,
DEVICE='eth1' to 'eth2'
IPADDR="192.168.X.X" to the desired ip of DMZ "10.0.x.x"
NETMASK="255.255.255.0" to desired mask
HWADDR="xx.xx.xx.xx.xx.xx" to the mac address of the new card.
save and exit.
then;
Code:
# ifup eth2 |
then Alt+F1 (to go back to the GUI) and voila there it was eth2 under network->Settings->Ipsettings.....
Source