Documente Academic
Documente Profesional
Documente Cultură
About Lartc:
Possibilities with linux and Lartc:
-Throttle: place limits on
-Throttle bandwidth for certain computer to certain
computers
-Share bandwidth
-restrict access
-do routing based on user id
Traffic control is almost undocumented
Why iproute2?
with iproute2, tunnels are an integral part of the tool set.
intergral - built in
Traffic control
supports methods for classifying, prioritzing, sharing and
limited ins and outs in traffic.
Prerequisites
Need a package called “iproute”
Download here ftp://ftp.inr.ac.ru/ip-routing/iproute2-
current.tar.gz
have netlink support
Is a socket-like mechanism for ipc between kernel and
user space processes
ipc = the assoiciation connecting electronic industries,
standardize the assembly and production required of electronic
equipment and assemblies
Ip shows us our links
$ ip link list
With ppp0, the same concept goes, though the numbers are
different. Its address is 212.64.94.251, without a subnet mask.
This means that we have a point-to-point connection and that
every address, with the exception of 212.64.94.251, is remote.
There is more information, however. It tells us that on the other
side of the link there is, yet again, only one address,
212.64.94.1. The /32 tells us that there are no 'network bits'.
Learn these concepts its vital that you understand them. Read
more on PPP here http://www.faqs.org/docs/Linux-HOWTO/PPP-
HOWTO.html#AEN44
by now you should know how to find 10.x.y.z addresses and are
able to reach 212.64.94.1
Now we need instructions on how to reach the world. the internet
is available via our ppp connection. Which is willing to spread
our packets around the world and deliver results back to the
computer.
$ ip route show
212.64.94.1 dev ppp0 proto kernel scope link src 212.64.94.251
Intro to ARP
ARP is the address resolution protocol as described in RFC 826
( http://www.faqs.org/rfcs/rfc826.html )
ARP is used by a network machine to resolve the hardware
location/address of another machine on the same local network.
An IP Address cannot tell you the physical location of a machine.
This is where ARP comes in.
An ARP request is sent out looking for the ips available. Which
when one is found it displays here.
Now do:
# ip neigh show
Note:
Re-documented for personal better understand by the works of http://lartc.org/