PDA

View Full Version : ma cosè tutta questa roba?


Simone XP
23-07-2003, 09:38
Cioa, ho una connessione adsl ethernet e debian, vorrei sapere il significato di tutte queste cose, non dovrebbe esserci solo lo, eth0, eth1 e ppp0?


eth0 Link encap:Ethernet HWaddr 00:03:6D:30:69:CE
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:393 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:42986 (41.9 KiB) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0xd400

eth1 Link encap:Ethernet HWaddr 00:03:6D:30:61:FA
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:333680 errors:0 dropped:0 overruns:0 frame:0
TX packets:321215 errors:0 dropped:0 overruns:0 carrier:0
collisions:349 txqueuelen:100
RX bytes:282508619 (269.4 MiB) TX bytes:110497866 (105.3 MiB)
Interrupt:11 Base address:0xd000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:800 (800.0 b) TX bytes:800 (800.0 b)

ppp0 Link encap:Point-to-Point Protocol
inet addr:62.211.144.185 P-t-P:192.168.100.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:168 errors:0 dropped:0 overruns:0 frame:0
TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:61753 (60.3 KiB) TX bytes:58318 (56.9 KiB)

vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:192.168.211.1 Bcast:192.168.211.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:163 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
inet addr:192.168.32.1 Bcast:192.168.32.255 Mask:255.255.255.0
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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

hal-9000:~#

ciao

ilsensine
23-07-2003, 09:42
eth0 e eth1 sono le due schede di rete, lo è l'interfaccia di loopback, ppp0 il link pppoe, vmnetx sono le interfacce virtuali di vmware.

Simone XP
23-07-2003, 09:44
Originariamente inviato da ilsensine
eth0 e eth1 sono le due schede di rete, lo è l'interfaccia di loopback, ppp0 il link pppoe, vmnetx sono le interfacce virtuali di vmware.


ah, ho capito, infatti prima di mettere vmware non c'erano, ma non credevo fosse roba sua!:D
Ho apena fatto il masquerading configurando iptables, sai mica dirmi dove posso trovare l'indirizzo ip della mia eth0 da inserire nel client?
ciao

DjMix
23-07-2003, 11:39
ad eth0 non è stato assegnato nessun indirizzo.

Confronta per esempio con la mia:
eth0 Link encap:Ethernet HWaddr 00:0A:E6:53:11:68
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:549 errors:0 dropped:0 overruns:0 frame:0
TX packets:605 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:222759 (217.5 KiB) TX bytes:145631 (142.2 KiB)
Interrupt:22 Base address:0xd800

Simone XP
23-07-2003, 11:48
Originariamente inviato da DjMix
ad eth0 non è stato assegnato nessun indirizzo.

Confronta per esempio con la mia:
eth0 Link encap:Ethernet HWaddr 00:0A:E6:53:11:68
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:549 errors:0 dropped:0 overruns:0 frame:0
TX packets:605 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:222759 (217.5 KiB) TX bytes:145631 (142.2 KiB)
Interrupt:22 Base address:0xd800


bene, l'avevo immaginato, e come si assegna un indirizzo ip a una eth?

ciao

DjMix
23-07-2003, 12:11
man ifconfig ;)

#ifconfig eth0 <numero ip>

Simone XP
23-07-2003, 12:21
Originariamente inviato da DjMix
man ifconfig ;)

#ifconfig eth0 <numero ip>


non sapevo si dovesse fare con ifconfig!
grazie;)