Thursday, July 9, 2015

locations of ip information for centos & windows

this is a followup to the "problem"
 centos:  
 IP  
 cat /etc/sysconfig/network-scripts/ifcfg* |grep IPADDR  
   
 Name  
 cat /etc/sysconfig/network  
   
 Mac  
 cat /sys/class/net/eth*/address  
   
 ubuntu:  
 IP  
 cat /etc/network/interfaces  
   
 Name  
 cat /etc/hostname  
   
 Mac  
 cat /etc/udev/rules.d/70-persistent-net.rules  
   
   
 windows  
   
 IP  
 \ControlSet001\services\Tcpip\Parameters\Interfaces   
 between brackets...  
 IPAddress, SubnetMask, DefaultGateway, NameServer  
   
 Name  
 \ControlSet001\Control\ComputerName\ComputerName  
 ComputerName  
   
 Mac  
 \ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}  
 0000-?...  
 NetworkAddress  
Post a Comment