Red Hat NETSCAPE ENTREPRISE SERVER 6.1 - 08-2002 ADMINISTRATOR Technical Information Page 102

  • Download
  • Add to my manuals
  • Print
  • Page
    / 126
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 101
90 Deploying Samba on IBM Eserver BladeCenter
5.6 Viewing NetBIOS network traffic
There are times when the only way to debug is to view the network traffic. There are several
tools that come with most Linux distributions for doing this. The most popular is tcpdump,
because it has been around the longest. Because some versions of tcpdump do not handle
NetBIOS traffic and other versions do not produce very useful output, we are going to use
another popular tool, ethereal.
5.6.1 Installing ethereal
Depending on how the server was installed, ethereal may already be installed. Check using
the command:
rpm -q etheral
If nothing is returned, then install it from the distribution CDs. Ethereal was installed from the
install server using the command shown in Example 5-16.
Example 5-16 Installing ethereal from install server
linux:~ # rpm -ivh
ftp://portal1/pub/SLES8/disc2/UnitedLinux/i586/ethereal-0.9.6-65.i586.rpm
Retrieving ftp://portal1/pub/SLES8/disc2/UnitedLinux/i586/ethereal-0.9.6-65.i586.rpm
ethereal ##################################################
linux:~ # rpm -q ethereal
ethereal-0.9.6-65
5.6.2 Using ethereal
The rpm installs a GUI and non-GUI version of network protocol analyzers. We are going to
use the non-GUI version, tethereal, because the traffic can be viewed live and many servers
are not installed with X11 support.
Find the active network interfaced using the ifconfig command as shown in Example 5-17.
Example 5-17 Output of ifconfig
[root@blade5 root]# ifconfig
eth1 Link encap:Ethernet HWaddr 00:09:6B:00:12:61
inet addr:9.24.104.65 Bcast:9.24.105.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12690 errors:0 dropped:0 overruns:0 frame:0
TX packets:4493 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2973404 (2.8 Mb) TX bytes:1458873 (1.3 Mb)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:113 errors:0 dropped:0 overruns:0 frame:0
TX packets:113 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8358 (8.1 Kb) TX bytes:8358 (8.1 Kb)
Network interface eth1 is the only active network interface, so it will be used. If there are more
than one active network interfaces, choose one.
Page view 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 125 126

Comments to this Manuals

No comments