<< 4 - Setup <<
>> 1 - Preparation >>
These are commands that can be used to find the status of the network.
Returns all host IP Addresses and Mac Addresses on network.
# arp (*X)
# arp -a (*DOS & NT)
Example of return:
Address HWtype HWaddress Flags Mask Iface
192.168.1.1 ether 00:30:F1:2D:D7:36 C eth0
192.168.1.36 ether 00:04:5A:69:FA:76 C eth0
Returns all host Microsoft smb on network.
# findsmb (*DOS & NT)
Example of return:
IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
---------------------------------------------------------------------
Domain=[LINUX_NET] OS=[Unix] Server=[Samba 3.0.10]
192.168.1.7 SAMBA +[ LINUX_NET ]
192.168.2.36 IBM [ LINUX_NET ]
Returns all host Microsoft smb on network.
Returns the local host name / domain name.
$ hostname
Dumps active Internet connections & active UNIX domain sockets.
$ netstat
Returns DNS cache.
# ifconfig (*X)
# ifconfig /displaydns (*DOS & NT)
Example of return:
eth0 Link encap:Ethernet HWaddr 00:04:48:D1:5A:59
inet addr:192.168.1.7 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::204:5aff:fe59:48d1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3204291 errors:0 dropped:0 overruns:0 frame:0
TX packets:2291316 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:99460819 (94.8 Mb) TX bytes:198689870 (189.4 Mb)
Interrupt:10 Base address:0xb800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12752 errors:0 dropped:0 overruns:0 frame:0
TX packets:12752 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1996051 (1.9 Mb) TX bytes:1996051 (1.9 Mb)
Returns Routing table.
# route (*X)
# route print (*DOS & NT)
Example of return:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
This site, Speakeasy Speedtest, will check your connections speed.
<< 4 - Setup <<
>> 1 - Preparation >>