Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Internet
Date: Wed, 15 Jun 2011 14:22:03
Message-Id: 201106151519.03469.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Internet by Cahn Roger
1 On Wednesday 15 Jun 2011 14:55:00 Cahn Roger wrote:
2 > > open a root terminal and type
3 > > ifconfig
4 > > and
5 > > route -n
6 >
7 > Here it is:
8 >
9 > ifconfig
10 > eth0 Lien encap:Ethernet HWaddr 00:1e:8c:4a:44:db
11 > inet adr:192.168.1.20 Bcast:192.168.1.255 Masque:255.255.255.0
12 > adr inet6: fe80::21e:8cff:fe4a:44db/64 Scope:Lien
13 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
14 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0
15 > TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
16 > collisions:0 lg file transmission:1000
17 > RX bytes:0 (0.0 B) TX bytes:8715 (8.5 KiB)
18 > Interruption:17
19 >
20 > lo Lien encap:Boucle locale
21 > inet adr:127.0.0.1 Masque:255.0.0.0
22 > adr inet6: ::1/128 Scope:Hôte
23 > UP LOOPBACK RUNNING MTU:16436 Metric:1
24 > RX packets:3480 errors:0 dropped:0 overruns:0 frame:0
25 > TX packets:3480 errors:0 dropped:0 overruns:0 carrier:0
26 > collisions:0 lg file transmission:0
27 > RX bytes:276568 (270.0 KiB) TX bytes:276568 (270.0 KiB)
28 >
29 > Bureau cahn # route -n
30 > Table de routage IP du noyau
31 > Destination Passerelle Genmask Indic Metric Ref Use
32 > Iface
33 > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
34 > eth0 127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0
35 > 0 lo
36
37 No gateway defined. :(
38
39 When you then run:
40
41 route add default gw 192.168.1.1
42
43 to define a route manually what do you get in response and then what does it
44 show:
45
46 route -n
47
48 and what does ip show:
49
50 ip link show dev eth0
51 --
52 Regards,
53 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Internet Cahn Roger <rcahn@×××××××××××××.fr>
Re: [gentoo-user] Internet Cahn Roger <rcahn@×××××××××××××.fr>