NETWORKING:
tcpdump -nn -i eth0 dst net ---ip- -->(rpm)
for monitoring the specific card
setup iptref than u can c network connection by:
iptref -i all, X-for exit
/etc/sysconfig/network-scripts/ifcfg-eth0
-->configure net card
/etc/sysconfig/network
--> put gateway (do not touch localhost.localdomain)
/etc/hosts -->change comp name:
127.0.0.1 localhost.localdomain localhost
192.168.1.30 ros.co.il ros
internet:
/etc/resolv.conf -->DNS
search springst.bruce.com
search file bind
nameserver 192.114.47.52 (194.90.1.5)
nameserver 192.114.47.1 (199.203.1.20)
route -n --> list for routes
add -host 1.2.3.4 gw 192.168.1.155 eth0
traceroute --> route place, dnsdomainname
-->the name
ifdown eth0 / ifup eth0
--> up & down net card.or restart service network
/etc/msswitch.conf -->u see dns host
hostname -i
nslookup www.linux.org
ping -b 192.168.0.0
-->ping broadcast
-w 3 cisco.com
-->3 times
ifconfig --> ethernet card:ifconfig eth0 inet 192.168.0.3
-->change adress
netconfig --> gui interface (127.0.0.1 loopback 0.0.0.0)
arp -a --> 2 see all mac + addresses of your local net
-e
dmesg |grep hda --> log ide configurations
|