Gentoo Archives: gentoo-user

From: "Hemmann
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ifconfig vs iproute2
Date: Sat, 15 Oct 2005 22:35:51
Message-Id: 200510160018.39387.volker.armin.hemmann@tu-clausthal.de
In Reply to: Re: [gentoo-user] ifconfig vs iproute2 by Joshua Schmidlkofer
1 On Saturday 15 October 2005 18:48, Joshua Schmidlkofer wrote:
2 > iproute2 is newer and while it takes over all of the abilities of ifconfig,
3 > it is modularized and designed for controlling advanced router features as
4 > well as basic interface related stuff.
5 >
6 > The capabilities of it are vastly superior to ifconfig, and sometimes the
7 > notation is simpler.
8 >
9 > Setup eth0, and activate it:
10 >
11 > ifconfig eth0 192.168.1.1 <http://192.168.1.1> netmask
12 > 255.255.255.0<http://255.255.255.0>broadcast
13 > 192.168.1.255 <http://192.168.1.255> up
14 > route add -net 0/0 gw 192.168.1.254 <http://192.168.1.254>
15 >
16 > ip addr add 192.168.1.1/24 <http://192.168.1.1/24> brd
17 > 192.168.1.255<http://192.168.1.255>
18 > ip link set eth0 up
19 > ip route add default via 192.168.1.254 <http://192.168.1.254>
20 >
21
22 http:// ???
23
24 that does not have anything to do there... http:// is for urls...
25 In the config, you are only dealing with ips ;)
26 --
27 gentoo-user@g.o mailing list