snoop, netstat, ifconfig snoop broadcast snoop -V mochabomb netstat -i Address field: /etc/inet/hosts netstat -r display routing table for a local system ifconfig le0 show info for my interface
ARP TABLE example# arp -a, example# arp -s mochabomb 8:0:20:ab:12:3f add mochabomb perm'ly to table example# arp -s mochabomb 8:0:20:ab:12:3f temp add mochabomb temp'ly to table: 3-4 minutes example# arp -s mochabomb 8:0:20:ab:12:3f pub use for machines that cannot resp'd to arp req's example# arp -d mochabomb delete from table example# arp -f newhosts.txt add from a file of form:hostname ether_addr [temp][pub] NETWORK INTERFACE CONFIGURATION init process: /sbin/init /etc/inittab /etc/initd/rootusr /etc/hostname.le0 hostname entry here arp begins with IP, gets ether (target hardware address) rarp begins with known ether, gets IP snoop -v rarp see a rarp request, ON SAME SUBNET in.rarpd rarp daemon, booting machine must be listed in /etc/iniet/hosts & /etc/ethers /sbin/ifconfig -plumb, -a, -unplumb, uses /etc/rc2.d/S72inetsvc & rcS.d/S30rootusr scripts ifconfig le0 up, down turn up, down an interface, take it down before tweaking something ifconfig le0 netmask 255.255.255.0 broadcast + up guess....
The Internet Layer Class Netmasks Compute the network number 1 bits keep, 0's mask out Reserved Numbers IPv6: 128 bit address, versus 32 bit |
|||
