The Lin-Win network toolkit

1 comment | I like it!
March 19, 2001, 04:49 PM —  LinuxWorld.com — 


There is no doubt in my mind that Linux is the best operating system available, and having the source at your fingertips provides enormous leverage. That was reinforced for me after giving an X.25 course recently in Canberra, Australia. I had been unhappy with the ancient X.25 Packet Assembler/Disassemblers (PADs) the class used and thought that we ought to be able to use Linux to demonstrate many of the concepts in the course.



While Linux has good X.25 support, when using X.25 between pairs of Linux systems you have to modify the LAPB driver (to function as a DCE). I felt that made class setup more difficult. On the flight home, I fired up my laptop and modified the LAPB driver to automatically set the appropriate parameter when loading the module with insmod or modprobe. Try doing that with a proprietary operating system!



When I got home, I had everything working, which means that future courses will be able to use Linux with Ethereal to give students hands-on exposure to X.25 using modern tools that they are likely to have available in the office and at home.



Speaking of Ethereal brings me to the topic of this month: Network debugging in a mixed Windows and Linux environment.



Many of us have to deal with Windows, sometimes on a daily basis. When we do, we often have to debug networking problems. It is very helpful to be able to find problems both from Linux and from Windows. This article explores the tools available to us in resolving network problems and observes that the strong similarity in those tools under Windows and Linux means that we can be more effective in both environments.



We will look at the mainstays like ping, traceroute (or tracert), nslookup, and so on. We will also look at Ethereal, as it is available for both Linux and Windows.

Tools common to Linux and DOS

Probably you are all familiar with tools under Linux like ping, traceroute, ifconfig, and so forth. However, the over emphasis on the GUI under Windows leads many people to believe that similar tools are not available for Windows. That is just not true; all you need to do is to fire up a command prompt. Click on Start, Run, enter command under Win9x, or cmd under Windows NT, and then click on Ok. Those same tools are also available as MS-DOS Prompt under Start, Programs. Once you have started a command prompt, a number of tools become available that behave in similar ways to tools under Linux.



First and foremost, there is ping. This command operates a little differently than the Linux ping command. Here is an example:


C:\>ping 10.0.0.6


Pinging 10.0.0.6 with 32 bytes of
I like it!
Comments

Mixed Environment Administration

While I was extremely happy to see this article, I am new to sys admin and want to learn more. Not many companies will take the chance on training, so I am setting up an environment at my home. I have Red Hat running on one machine, with Windows vista on another. I also have set up 3 other desktops with XP, 2000 and a version of Apple OS.
I want to install an application server and also server 2003. Can anyone direct me on the best way to begin and any manuals that will assist me in teaching and troubleshooting my environment myself? I also have a couple of cisco switches and routers to play with. I just need a beginning and a little direction. Thanks.
| reply
Free books

Essential JavaFX
Get started building rich Web apps quickly with an introduction to the power of JavaFX key features -- scene node graphs, nodes as components, the coordinate system, layout options, colors and gradients, custom classes with inheritance, animation, binding, and event handlers.Enter now!

The Nomadic Developer
Consulting can be hugely rewarding, but it's easy to fail if you are unprepared. To succeed, you need a mentor who knows the lay of the land. Aaron Erickson is your mentor, and this is your guidebook. Enter now!

Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace