- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: tcpdump
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 03:28 PM
тАО03-20-2011 03:28 PM
Dear Guys
Im trying to capture tcpdump for all interfaces so we can track network issue..what would be the syntax, I have gone thru man page but not quite sure. as I understand -w write to a file and -i captures on a specific interface if specified but I need to capture for all interfaces and write to a file so we can read it later with -r flag using ipreport command ...
what is the correct syntax ? I'm running this on linix and aix machines...
thnx
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 10:14 PM
тАО03-20-2011 10:14 PM
SolutionIf you want to capture the complete contents of the packets, the syntax would be something like:
tcpdump -s0 -i all -w /really/fast/disk/capture.dat
If you omit "-s0", only the header of each packet may be captured, depending on tcpdump version.
I have no idea if "-i all" works on AIX.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 11:25 PM
тАО03-20-2011 11:25 PM
Re: tcpdump
Thanks for your time to reply MK...
In aix I worked it out
tcpdump -w /tempfs/tcpdump.out (this captures all data from all available interfaces.
AND
tcpdump -w /tempfs/tcpdump.out -i en1 ( This captures data for a specefic interface such as en1 in this case....
By the way question on Linux...I'm trying to install linix on my laptop so I can get rid of windows and start using linux only, can u pls give me some handy doco to do this or a good web site which has instructions to do so ??? Im pretty good with aix but never played with Linux..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2011 02:20 AM
тАО03-22-2011 02:20 AM
Re: tcpdump
Installing linux to a laptop is a very easy task. Just download an iso image of your chosen distro, burn it to cd/dvd, and boot your laptop from this disk. You will be presented with a GUI interface, and if you don't want to overcomplicate it, the install goes like "next --> next --> finish"
that's it, have fun!
Viktor
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2011 03:56 PM
тАО03-22-2011 03:56 PM
Re: tcpdump
Thanks Victor, which website I can download the ISO image from ?
I need to create multi boot partition so I can boot from my windown whenever I want or boot in linix mode if I want to etc etc ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2011 12:23 AM
тАО03-23-2011 12:23 AM
Re: tcpdump
For example, RedHat Enterprise Linux (RHEL) and SuSE Linux Enterprise Server (SLES) are commercial, mainly server-oriented Linux distributions with good support. You'll need to pay for license to get these (and updates for them).
There are also free versions of these, with no official support: CentOS is the free equivalent of RHEL (exactly the same source code, but RedHat-copyrighted graphics are exchanged for free ones), and I understand OpenSuse is the nearest free equivalent to SLES. These might be very useful if you want to practice for RHEL or SLES specifically.
(SuSE/SLES has a centralized management tool "yast". In AIX speak, it's essentially a functional equivalent of SMIT/smitty. RedHat/CentOS has no single all-encompassing management tool, but a collection of GUI admin tools named system-config-
Another family of Linux distributions is Debian and Ubuntu: Debian is completely free and very stable, but often includes older versions of software. Ubuntu is based on test versions of Debian: it is more tailored for desktop/laptop use and includes newer software.
Many distributions offer "Live CD" versions: that means you can boot the entire Linux OS from a CD/DVD without installing anything at all onto your hard drive: it might be a little slow, but it's an easy way to test different distributions. (It also works as a great troubleshooting tool if something is wrong with your installed OS so you cannot boot it successfully.)
If you're going to learn Linux in general, see what other Linux users near you are using and pick the same distribution they're using: that makes it easier for them to help you. If you're the first Linux user around, pick one of the major distributions, so there will be plenty of documentation and tips on the Internet.
Since you already know AIX, you are already familiar with general fundamentals of Unix-style operating systems. This will give you a great advantage over people moving to Linux from Windows.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2011 02:18 AM
тАО03-25-2011 02:18 AM
Re: tcpdump
Good stuff