R: [FoLUG] Ancora con adsl

Alessandro Ronchi alessandro@aronchi.org
Lun 1 Mar 2004 13:12:34 CET


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 01 March 2004 12:31, Conte Piero wrote:
> Ma scusami tu hai configurato la sk di rete
> per ricevere un indirizzo ip con dhcp ???
>  Se ho capito ricevo 82.51.177.24 che mi
> permette di contattare il 192.168.100.1.
> ma questo ultimo non è un indirizzo privato??
>
> Ti giuro non capisco niente.

Il modem riceve un indirizzo ip dinamico se il contratto non prevede un ip 
fisso.

In pratica devi fare in modo che succeda qualcosa del tipo:

[root@berto root]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:6E:3D:B5:93
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.0.0
          inet6 addr: fe80::20c:6eff:fe3d:b593/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3696878 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4073897 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1942305579 (1852.3 Mb)  TX bytes:1055074580 (1006.1 Mb)
          Interrupt:5
 
ppp0      Link encap:Point-to-Point Protocol
          inet addr:82.49.200.36  P-t-P:192.168.100.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:80478 errors:0 dropped:0 overruns:0 frame:0
          TX packets:83423 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:53089078 (50.6 Mb)  TX bytes:9500766 (9.0 Mb)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[root@berto root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.100.1   *               255.255.255.255 UH    0      0        0 ppp0
169.254.0.0     *               255.255.0.0     U     0      0        0 eth0
192.168.0.0     *               255.255.0.0     U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.100.1   0.0.0.0         UG    0      0        0 ppp0

- -- 
Alessandro Ronchi
http://www.aronchi.org
http://ilfioredelcactus.no-ip.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAQyiyJ6tXMhkeD0IRAoCWAKCHUF7VIVj4eQv/qoqXTxPDPnhvnACdH1Uf
JFFcP9psQ/sp6MGpe2xsQ7g=
=a1fu
-----END PGP SIGNATURE-----




Maggiori informazioni sulla lista FoLUG