Allen Kistler wrote:
> (E-Mail Removed) wrote:
> > Is it possible to run the tcpdump to capture the packets sent between a
> > Solaris and Linux server?
> > I tried it($tcpdump solaris-01 and linux-02), but it did not work i.e.
> > tcpdump does not capture any packets at all. If my understanding is
> > wrong, please let me know how exactly I can debug this.
>
> The command you give above should have produced a syntax error.
No. It did not!
> On linux-02, something like
>
> # tcpdump -nnpi eth0 host solaris-01
>
> should give you what you want.
This worked. Thanks! But, I am wondering why 'tcpdump' did not work,
when I mention the host names directly.
I have given more information about what is happening here:
1) tcpdump host linux-1 and linux-2
- Works; Captures the packets between 2 different Linux servers
2) tcpdump host linux-1 and Solaris-3
- No Syntaxt error. The tcpdump runs and starts to listen, but it
does not capture any packets
3) tcpdump -nnpi eth2 host Solaris-3
- Works; Captures the packets between Linux server(at eth2) and
Solaris server
Here are my servers:
linux-1$ more /etc/SuSE-release
SUSE LINUX Enterprise Server 9 (x86_64)
VERSION = 9
Solaris-3$ more /etc/release
Solaris 9 9/04 s9s_u7wos_09 SPARC
All the servers(linux-1, linux2,Solaris-3) are in the same LAN.
Does anybody have a clue about why 'tcpdump host linux-1 and Solaris-3'
does not work?