[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: R: Collegare due pc con cavo ethernet incrociato



Rodolfo Medina ha scritto:
"Premoli, Roberto" <roberto.premoli@pfizer.com> writes:

Prova cosi':


auto eth0
allow-hotplug eth0
iface eth0 inet static
	address 192.168.0.1
	netmask 255.255.255.0


Fatto.

Poi dai /etc/init.d/networking restart


# /etc/init.d/networking restart
Reconfiguring network interfaces...done.




E poi vedi se la rete e' attiva tramite

Ifconfig

# ifconfig
eth0      Link encap:UNSPEC  HWaddr 00-03-0D-53-25-5C-86-16-00-00-00-00-00-00-00-00
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0

qui ti fa vedere che ip ha preso l'interfaccia di rete (corretto)
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:151.82.172.123  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:1080 errors:23 dropped:0 overruns:0 frame:0
          TX packets:988 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:998947 (975.5 KiB)  TX bytes:169372 (165.4 KiB)


Non so decifrare: com'è la situazione?

Rodolfo


ma il ping non è che prova a uscire sull'interfaccia ppp0?


Reply to: