Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net.eth0 funziona ma non capisco come e perchè
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Thu Aug 07, 2014 1:32 pm    Post subject: net.eth0 funziona ma non capisco come e perchè Reply with quote

è una domanda un pò strana la mia, non è un problema ma non capisco come la mia rete possa funzionare senza che ci sia un'interfaccia net.eth0

preciso che sono su parallels quindi gentoo installato su macchina virtuale

/etc/conf.d/net

Code:
config_eth0="dhcp"


in init.d come interfaccia ho solo net.lo

come è possibile?

se serve qualche info in più chiedete...intanto grazie
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1012

PostPosted: Thu Aug 07, 2014 5:54 pm    Post subject: Re: net.eth0 funziona ma non capisco come e perchè Reply with quote

net.eth[N] viene settato dall'utente se vuole/ha a disposizione più interfacce di rete e ne vuole utilizzare uno o più di una o alcune.

dhcp fornische un indirizzo IP a tutte quelle che il sistema riesce ad auto-rilevare

che riporta
Code:
# ifconfig



anche io ho solo dhcp e nessuna interfaccia di rete paricolare settata
Code:
# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.10  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::76d0:2bff:fe90:1619  prefixlen 64  scopeid 0x20<link>
        ether 74:d0:2b:90:16:19  txqueuelen 1000  (Ethernet)
        RX packets 307421  bytes 423684979 (404.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 198473  bytes 38860062 (37.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 466  bytes 318010 (310.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 466  bytes 318010 (310.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


_________________
LRS i586 on G.Drive
LRS x86-64 EFI on MEGA
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Fri Aug 08, 2014 1:43 pm    Post subject: Reply with quote

sai che non lo sapevo proprio?

ho installato gentoo diverse volte e su macchine diverse ma ho sempre creato l'interfaccia in init.d anche se ne avevo una sola.

non si smette mai di imparare, grazie!
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum