/usr/share/doc/HOWTO/text/Adv-Routing-HOWTO

Chapter 3. Introduction to iproute2

3.1. Why iproute2?

Most Linux distributions, and most UNIX's, currently use the venerable
arp, 
ifconfig and route commands. While these tools work, they show some
unexpected behaviour under Linux 2.2 and up. For example, GRE tunnels
are an
integral part of routing these days, but require completely different
tools.

With iproute2, tunnels are an integral part of the tool set.

The 2.2 and above Linux kernels include a completely redesigned network
subsystem. This new networking code brings Linux performance and a
feature
set with little competition in the general OS arena. In fact, the new
routing, filtering, and classifying code is more featureful than the one
provided by many dedicated routers and firewalls and traffic shaping
products.

As new networking concepts have been invented, people have found ways to
plaster them on top of the existing framework in existing OSes. This
constant
layering of cruft has lead to networking code that is filled with
strange
behaviour, much like most human languages. In the past, Linux emulated
SunOS's handling of many of these things, which was not ideal.

This new framework makes it possible to clearly express features
previously
beyond Linux's reach.


On Thu, 2003-07-17 at 02:24, Mihai M wrote:
> On Wednesday 16 July 2003 15:44, Adrian Pirciu wrote:
> > the simple way
> >
> > ifconfig eth0 10.0.0.2 netmask 255.0.0.0
> > route add default gw 10.0.0.1
> 
> Am si eu o nedumerire. Am citit raspunsurile, si obs. ca "utlitarul" lui 
> iproute2, comanda ip, nu o foloseste nimeni. E un motiv special?
> 
> MihaiM
-- 
Alexandru N. Barloiu <[EMAIL PROTECTED]>
Dale Media


Raspunde prin e-mail lui