Slashdot Mirror


Linux Networking Cookbook

stoolpigeon writes "As a dba, I'm constantly looking to learn more about networking and system administration. Both can have quite an impact on the performance of my piece of the puzzle. A welcome addition to the materials to help me learn about networking is Carla Schroder's "Linux Networking Cookbook". This book is just right for the person like myself who enjoys learning by getting hands-on experience with the technology. The scope is wide and so someone with a great depth of networking experience may find that the treatments of each is a bit shallow. On the other hand, that wide scope means this book may hold something new, even for someone with some level of experience." Read on for the rest of JR's review. Linux Networking Cookbook author Carla Schroder pages 632 publisher O'Reilly Media Inc. rating 9 reviewer JR Peck ISBN 0-596-10248-8 summary From asterisk to zebra with easy to use recipes. This is not the kind of book that one sits and reads in the evening to gain new knowledge. I think of it more as a lab book or exercise guide. The user who has this open on the desk beside them, as they work through the 'recipes' is the one who will gain the most. The cookbook also assumes a basic level of ability in working with Linux from the command line.

The book follows a consistent format throughout the chapters. It truly is a cook book with the recipes taking the form of problems and solutions. There are eighteen chapters containing these recipes, the first chapter is a brief overview of networking in general. I think that Schroder's experience in implementing Linux networks or working with Linux in heterogenous networks really shows in the types of solutions and scenarios presented in the book.

Often as I worked through exercises, I kept thinking that what this book gave me was what I would have after hours of Googling and sifting through the results. Schroder has boiled that kind of hunting down to the necessary steps from installation, through configuration and use. For the person who values their time, or is not sure where to start searching for answers, this is a great resource.

The limitation of a recipe format is that modifying the solution or moving away from the detailed plan requires more experience and knowledge the further the reader departs from the given formula. Schroder has dealt with this issue in many chapters by giving instructions appropriate to Fedora and Debian. There are a couple exceptions to this which I will explain below.

I think that a strength of the book is that Schroder has not limited herself to desktop PC hardware. She is presenting a true overview of networking and so if the reader intends to work through every solution in the book, they are going to need to purchase some hardware. Some may object to this, and it is not absolutely necessary. Someone with enough experience or willing to do the research could shift things around and use say, an old desktop machine, but at that point they would be really doing things on their own and not needing the book.

There are 2 chapters that focus on building network devices with Pyramid Linux on a Single-Board computer. The hardware Schroder uses to write the solutions is a Soekris 4521, which retails for about $150. I think it is good that a person who might want to use this book knows that up front. To me, this is a much more economical solution than suggesting that one get their hands on a commercial device, and allows much more flexibility. Schroder could have shied away from asking for the reader to go to this step, but I think the choice reflects her commitment to making the book useful in real world situations.

The chapter on building an Asterisk VoIP system would probably also work best with some nice headphone/microphone sets that may be a necessary purchase for many. They are not required, a soundcard, microphone and speakers would work as well.

Having parallel solutions for Fedora and Debian side by side is very nice. After each solution there is also discussion of pertinent issues and reference to applicable resources. The other resources include pointing out appropriate man pages, web sites and other books. Schroder's style throughout is relaxed and very succinct. The nineteen chapters do cover such a wide array of technologies and issues, this book could easily be twice as large if she were wordy, instead it is very portable.

The chapters on network devices, routing, network monitoring and using linux to manage a network would be most valuable I think to network administrators or the person wearing that hat in a smaller shop. The chapters that revolve around connecting to systems remotely and using linux to manage windows machines could be a real boon to anyone who works in a mixed environment that includes more than just Linux machines. I've found all of it to be of value because I interact with all these pieces every day. It is nice to have a better grasp of how subnets are built and how routers work. I look forward to not relying on a gui or searching endless forums to get a good grasp on managing my iptables firewall.

Following the body, the book has three appendices. The first is a list of other resources. This is primarily other O'Reilly books, but there are books from other publishers and some resources available on the web. The second is a glossary of networking terms. The most useful to me was the third, a kernel building reference. I found the index to be decent. It isn't great, but it isn't bad either. The book comes with free access to it through Safari for 45 days, I thought that was a nice plus. O'Reilly has all of the examples available for download and the author's website is also a good launch point for related articles and information.

Slashdot often posts questions about Linux training. This book is a great way for the self learner to have a relatively unobtrusive guide while they gain direct experience in networking. Reading it alone wont do it, and there is still much to learn after completing each exercise, but a large part of the core competencies are there and thoroughly covered. I think there is also a lot here for that reader who has lobbied to get Linux in the door and now faces the task of getting their Linux machine to play nice with the rest of the network.

You can purchase Linux Networking Cookbook from amazon.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

36 comments

  1. steam powered modem forwarding by suitti · · Score: 0, Troll

    So does it tell you how to get you linux box to gateway a wireless router to the internet via slow phone modem?

    --
    -- Stephen.
    1. Re:steam powered modem forwarding by jamieswith · · Score: 1

      I don't know... but go away and look up DialD... there may be something better than this now, but DialD was certainly the best solution I found before I stopped doing this around 7 years ago!

    2. Re:steam powered modem forwarding by Intron · · Score: 3, Informative

      You want the ppp howto from 1997. See the sections on automating scripts and routing issues.

      --
      Intron: the portion of DNA which expresses nothing useful.
  2. Stay away... by explosivejared · · Score: 5, Funny

    The last time I followed advice from a cookbook I ended up in prison for three years. Anarchist's, Linux Networking... I don't care I'll never touch another cookbook again!

    --
    I got a catholic block.
    1. Re:Stay away... by MarkRose · · Score: 1

      So that's where Grandma went when she said she was going to bake muffins!

      --
      Be relentless!
    2. Re:Stay away... by Elite_Warrior · · Score: 1

      Thank god I'm here to post on bail .

  3. Or use the howto's by SCHecklerX · · Score: 2, Informative

    That is what they are for, and is where I went when I first learned to set up my network (dns, dhcp, ipchains later iptables, etc). The neat thing is you'll stumble across something cool that you might not have thought of before.

    http://tldp.org/

  4. Translation by jayhawk88 · · Score: 4, Funny

    Sorry, this isn't meant as a personal shot at the reviewer or the book, but I just can't resist:

    As a dba, I'm constantly looking to learn more about networking and system administration.
    Our networking guy got busted watching 2 Girls 1 Cup last week and now I'm stuck pulling double duty while we look for a replacement.

    Both can have quite an impact on the performance of my piece of the puzzle.
    Look there's a reason I became a DBA, OK? I can barely calculate a subnet, let alone figure out how to get a new server up and running.

    A welcome addition to the materials to help me learn about networking is Carla Schroder's "Linux Networking Cookbook".
    So I went to Barnes and Noble over lunch and bought every damn computer book with an animal on it I could find, and then some.

    This book is just right for the person like myself who enjoys learning by getting hands-on experience with the technology.
    I lucked out with this one as it has lots of step-by-step examples for various tasks and commands.

    The scope is wide and so someone with a great depth of networking experience may find that the treatments of each is a bit shallow.
    I already said I was a noob, OK, cut me some slack!

    On the other hand, that wide scope means this book may hold something new, even for someone with some level of experience.
    But it saved my butt when the swap file partition took a crap yesterday, you could do worse.

    1. Re:Translation by techpawn · · Score: 3, Insightful

      Sorry, this isn't meant as a personal shot at the reviewer or the book, but I just can't resist:

      As a dba, I'm constantly looking to learn more about networking and system administration. Our networking guy got busted watching 2 Girls 1 Cup last week and now I'm stuck pulling double duty while we look for a replacement.
      Caught watching What? You know what? I don't want to know...

      Both can have quite an impact on the performance of my piece of the puzzle. Look there's a reason I became a DBA, OK? I can barely calculate a subnet, let alone figure out how to get a new server up and running.
      A DBA, as much as I hate to say it, has to be both a programmer and networking guy while being neither at the same time my friend. We can get away with not calculating subnets but we better be able to at least get the servers that our databases are running on back up and running on in case of hardware/network failure or be able to figure out that is IS hardware/network and not our database structures. Where I'm at now, they don't expect you to be a Rambo 1 man IT staff able to take on EVERYTHING, but you better be able to make the server run like it did before the problem if something REALLY bad happens.

      Nothing personal... Let's call it professional pride?
      --
      Ask not what you can do for your country. Ask what your country did to you
    2. Re:Translation by Seakip18 · · Score: 1

      Heh. Sounds more like snark than a shot at the reviewer. Either way, when you are a one-man wrecking/building machine, it helps the other, lesser, common men if you help sift through the crap.

      --
      import system.cool.Sig;
    3. Re:Translation by beatbox32 · · Score: 1

      Our networking guy got busted watching 2 Girls 1 Cup last week and now I'm stuck pulling double duty while we look for a replacement.
      <immature>
      "2 Girls 1 Cup"..."double duty"... Ha!
      </immature>

      --
      "The purpose of learning is growth, and our minds, unlike our bodies, can continue growing as long as we live." - M.J. A
    4. Re:Translation by Anonymous Coward · · Score: 0

      Why in the world is this being marked as "Informative"? He's responding to a joke that went right over his head...

    5. Re:Translation by Anonymous Coward · · Score: 0

      I think the gp was going for the marketing speak conversion humor. I don't think anything was serious, just a stab at making someone laugh. At least that's how I read it.

    6. Re:Translation by Anonymous Coward · · Score: 0

      Gort-- Klaatu Barada Nikto

    7. Re:Translation by Locomorto · · Score: 1

      Caught watching What? You know what? I don't want to know...

      Well don't worry too much. Its shit. Quite literally.
      --
      Stopping Content Restriction Annulment and Protection means not calling it DRM.
    8. Re:Translation by stoolpigeon · · Score: 1

      I've been traveling the last 2 days and was without internet.
       
      Anyhow- just wanted to say that I thought that was hilarious.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
  5. What, no Marcel Gagne by davidsyes · · Score: 1

    in the story/review?

    Hmmm....

    --
    Previously: "Linux... Toward the Sunrise..." Now: "Linux... Toward the-- No, now, part of Every Sunrise"
  6. PARENT IS MINICITY SPAM - FUCK OFF!!! by trolltalk.com · · Score: 2, Informative

    Parent is another one of those lame myminicity spams.

    1. Re:PARENT IS MINICITY SPAM - FUCK OFF!!! by hdparm · · Score: 1

      So, you are moded troll by default?

    2. Re:PARENT IS MINICITY SPAM - FUCK OFF!!! by trolltalk.com · · Score: 1

      "So, you are moded (sic) troll by default?"

      Yeah, but that's okay ...

      I was thinking that maybe one way to defeat all this myminicity spam-linking crap would be to just repeatedly wget the same spam link. Eventually, they'll set up a block list, and then I'll be myminicity-proof until my IP changes.

      I'm going to test it this weekend at home (cable IP only changes once in a blue moon) - unless someone has already tried this.

      If that doesn't work, the next step would be to automatically visit every one of them - "give them too much of what they want and hope they choke on it".

      Sort of like repeatedly sending large attachments to a spammer.

  7. Yeah right by Anonymous Coward · · Score: 1, Informative

    As a dba, I'm constantly looking to lear I stopped reading there, this is written by a marketing type not a geek. And btw, what the hell is up with the vista-like 'click here to read 2 more comments' that's at the bottom of Slashdot these days? Trying to save bandwith on *text* ?
    1. Re:Yeah right by stoolpigeon · · Score: 1

      I'm an oracle dba - 10g RAC on AIX. I also look after SQL Server and MySQL databases. I run Linux at home and work. My machines at home I built myself. I love Star Trek, Star Wars and grew up on Sci-Fi and Fantasy books. I write code for fun. I was vice president of the RPG club at my highschool one year. I would have been president but the other guy out rolled me for it. I have a couple blogs but slashdot is my primary hangout on the web. I have never, ever been a 'marketing type'. And I may not meet your standard of 'geek' but I think I am one.
       
      Those words are true. When you start working in an environment a little more complicated than 3 old pc's in your mom's basement - what people often perceive to be database problems can be networking problems. When all your data is on a san - when you are backing up to a VLT and you have 5 instances in your production RAC cluster - networking matters. So I am always looking to learn more.
       
      At the same time - the gui tools for working with ip tables on Fedora are not where I would like them to be. This book really helped me to get a better grasp on how to understand and work from bash rather than getting frustrated. This is useful for me at home and work - as I'd rather not just say "Hey, I'm behind a network firewall already, I'll just turn the local one off so I can work".
       
      Maybe your just a troll that got modded up - but I just wanted to make sure and set the record straight on this. I didn't see this go to the front page yesterday because I was walking around downtown Budapest. I'm here as tech support for a conference. I'm in Hungary for the first time, so any downtime I've had I've been sight seeing. It's a bit outside my normal work - more desktop support oriented. But since I'm a geek and not a marketing guy, I'm holding my own. Having read that book has already been valuable to me here as well.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
  8. Re:Linux networking: a recipe for disaster by Anonymous Coward · · Score: 1, Funny

    Ooh, you really hate karma, don't ya :)

  9. Bonding? by illumin8 · · Score: 2, Informative

    I find that the more complicated Linux networking setups involve bonding, which is used in enterprise setups to allow you to both aggregate traffic across multiple ethernet links, and to provide automatic failover/failback in case one or more of those links go down.

    Is this covered in the book? A Linux networking book that doesn't cover bonding is pretty much worthless to me as a Linux system administrator.

    --
    "When the president does it, that means it's not illegal." - Richard M. Nixon
    1. Re:Bonding? by syzler · · Score: 1

      A Linux networking book that doesn't cover bonding is pretty much worthless to me as a Linux system administrator.

      I would think most geeks do not have a hard time forming an emotional bind with their Linux boxes. If anything the book should cover how to avoid forming these bonds with our binary Goddesses, err, hardware.

  10. Re:Linux networking: a recipe for disaster by Anonymous Coward · · Score: 0

    You are correct that Linux is difficult to configure and the documentation sucks. What you don't mention is that Windows is impossible to configure and undocumented. For example, how do I configure my Windows system to mount a disk with a JFS2 filesystem? To print to CUPS? To read a 9-track tape written on TOPS-20? How do I find out?

  11. Re:Linux networking: a recipe for disaster by Anonymous Coward · · Score: 0

    Ubuntu comes pre-configured, it auto downloads video and audio codexes from the web, nothing difficult about it. If you do have to configure anything it's a simple point and click interface, no terminals needed.

    However, if you want to learn you can even go dig up linux from scratch and go through every step in creating an entire Linux distro. It is your choice, stick with what you are given, or infinitely customize it to your liking.

    And you are free to take your work and sell it, or rent it out, or give it away for free. Your choice. MySQL just sold for a billion dollars. Maybe you should get to work on writing some needed infrastructure and creating a company around it and you can

    Microsoft does not give you the choice. It's their way or nothing. And no sharing with friends. And if you dare to try to compete against them on their platform, like netscape, or they will crush you.

  12. Damn Bind using newbies... by Dareth · · Score: 1

    A hosts file should be enough for anyone! Especially if they got a PFY to keep them all updated.

    --

    I only look human.
    My mother is a halfling and my dad is an ogre, so that makes me an Ogreling
  13. Re:Linux networking: a recipe for disaster by dwye · · Score: 1

    > And if you dare to try to compete against them on their
    > platform, like netscape, or they will crush you.

    Netscape pretty much owned the browser market, before MS wrote IE.

    Therefore, it is "And if you dare to have a product that they can reimplement in a mediocre fashion and compete against you, they will, and then they will crush you."

  14. Damn right by Anonymous Coward · · Score: 0

    Jayhaek88 is right then. And I have some additions. You get jobs through "networking". You never red a book .. you watch TV. You are too lazy to read so you picked up what you considered is a "shortcut" book. You don't write code ( and yes scripting is not code ) ..proof is the book that you red. You are trying to invent yourself. Your post is marketing bullshit.