Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i know someone should be a wiz at this kind of stuff, and should only take like 3 minutes. i have to answer these questions for my lab. any help would be great!
1. Write the syntax for an ifconfig command that sets the IP address of the interface
eth0 to 128.143.2.3/16 with broadcast address 128.143.255.255.
2. Write the syntax of a tcpdump command that captures packets containing IP
datagrams with source or destination IP address equal to 10.0.1.12.
3. Write the syntax of a tcpdump command that captures packets containing ICMP
messages with source or destination IP address equal to 10.0.1.12.
4. Write the syntax of a tcpdump command that captures packets containing IP
datagrams between two hosts with IP addresses 10.0.1.11 and 10.0.1.12, both on
interface eth1.
5. Write a tcpdump filter expression that captures packets containing TCP segments
with source or destination IP address equal to 10.0.1.12.
6. Write a tcpdump filter expression that, in addition to the constraints in Question 5,
only captures packets using port number 23.
7. Write the syntax for an ethereal command with capture filter so that all IP
datagrams with source or destination IP address equal to 10.0.1.12 are recorded.
8. Write the syntax for an ethereal display filter that shows IP datagrams with
destination IP address equal to 10.0.1.50 and frame sizes greater than 400 bytes.
9. Write the syntax for an ethereal display filter that shows packets containing ICMP
messages with source or destination IP address equal to 10.0.1.12 and frame
numbers between 15 and 30.
10. Write the syntax for an ethereal display filter that shows packets containing TCP
segments with source or destination IP address equal to 10.0.1.12 and using port
number 23.
11. Write an ethereal capture filter expression for Question 10.
Originally posted by ezra_kim sure is homework, i figured someone out there wouldn't mind.
I'm stepping in. If you where smart you would've spread your questions around and rephrased them so it wouldn't look like homework. But no, you didn't care and just try to leech from others w/o doing things yourself your sposed to do yourself (that's what the fsckin homework is about).
I object to that and since you've shown this kind of attitude as well I'm gonna close this thread.
You do your homework yourself!
*If you got a problem with this, take it up with me, OK.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.