[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RiminiLUG-General] problemi settaggi multischede di rete
- To: riminilug-general@xxxxxxxxxxxx
- Subject: Re: [RiminiLUG-General] problemi settaggi multischede di rete
- From: "Giuseppe Ferrara" <giuseppeferrara@xxxxxxxxxxxx>
- Date: Thu, 12 Aug 2010 13:26:58 +0200 (CEST)
- Delivered-to: battarsa@xxxxxxxxxxxx
- Delivered-to: riminilug.it_riminilug_general@xxxxxxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=neutrino1.xteklabs.com; h= message-id:in-reply-to:references:date:subject:from:to:reply-to :mime-version:content-type:content-transfer-encoding; s=postfix; bh=Hw/jvw4IxLmBI2h5CU2Yu6XU2tc=; b=CzVW/BG8x1H6cD0HfnIpk9B9fvr6 0T9PujPIGPYOOaeD2uzgLjcQObaxPjJHynlGCR8DpG1UzKE6by/KV9U1+QsrHpFO 2VVu4eFsB3eq7TWo9/Y9kSgn8vNMW6eRM1tvt9YBcfph0H+tUol9/GCI3MF1Lb+J 1b1ycR45hzZAi9o=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=neutrino1.xteklabs.com; h= message-id:in-reply-to:references:date:subject:from:to :mime-version:content-type:content-transfer-encoding; s=postfix; bh=Hw/jvw4IxLmBI2h5CU2Yu6XU2tc=; b=aqFUIjzyQysrv+tLQNrNHZ+jtMuZ C7k3Pb5jSkZpldmlounggEuEc2KY5rshWRhMVl4wzniXrOkQcn1vUX0RpqUvmY+e fq+nbH+24HcrLi6BPPPaf6dMEnKnp19bNOIK10xXUZlI0uVxFY8fOH77sFWoZrWC tAx9hrkMtK02jIw=
- Importance: Normal
- In-reply-to: <4C62DA92.7030200@riminilug.it>
- References: <4C62DA92.7030200@riminilug.it>
- Reply-to: riminilug-general@xxxxxxxxxxxx
- User-agent: SquirrelMail/1.4.15
> Ciao a tutti,
> sempre parlando con Andrea è emerso che avete avuto qualche noia nel
> settaggio delle 3 schede di rete del server LTSP, il file da verificare
> per l'attribuzione dei nomi è:
>
> /etc/udev/rules.d/70-persistent-net.rules
>
> dentro troverete delle righe tipo:
>
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
> ATTR{address}=="5c:ff:35:0a:35:f7", ATTR{dev_id}=="0x0",
> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
>
> come potete vedere alla fine della riga c'e' il nome che è stato dato
> durante il primo boot (legato all'ordine di caricamento dei moduli ed
> altro).
>
> ...tale nome puo' essere modificato ...ad esempio potete invertire eth0
> con eth1 ecc
>
>
> Saluti,
> Christian
>
Ciao a tutti.
Premesso che questa mattina il DHCP per thin client LTSP e il collegamento
ad internet tramite router-firewall IPcop con addr 10.0.2.2 sta
funzionando come potete vedere di seguito:
tjener:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:21:66:93:20
inet addr:10.0.2.2 Bcast:10.0.3.255 Mask:255.255.254.0
inet6 addr: fe80::21b:21ff:fe66:9320/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12141 errors:0 dropped:0 overruns:0 frame:0
TX packets:9783 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:13309961 (12.6 MiB) TX bytes:1328430 (1.2 MiB)
Memory:df3c0000-df3e0000
eth1 Link encap:Ethernet HWaddr 00:1b:21:66:93:21
inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21b:21ff:fe66:9321/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:680581 errors:6 dropped:0 overruns:0 frame:6
TX packets:1485180 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:125880361 (120.0 MiB) TX bytes:1940698114 (1.8 GiB)
Memory:df3e0000-df400000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:345101 errors:0 dropped:0 overruns:0 frame:0
TX packets:345101 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1794092042 (1.6 GiB) TX bytes:1794092042 (1.6 GiB)
Ho controllato /etc/udev/rules.d/70-persistent-net.rules
e mi sembra che il riconoscimento e caricamento dei moduli venga fatto
correttamente.
This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# PCI device 0x8086:0x10c9 (igb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1b:21:66:93:21", ATTR{dev_id}=="0x0", ATTR{type}=="1",
KERNEL=="eth*", NAME="eth1"
# PCI device 0x14e4:0x165a (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="b8:ac:6f:88:02:f1", ATTR{dev_id}=="0x0", ATTR{type}=="1",
KERNEL=="eth*", NAME="eth2"
# PCI device 0x8086:0x10c9 (igb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1b:21:66:93:20", ATTR{dev_id}=="0x0", ATTR{type}=="1",
KERNEL=="eth*", NAME="eth0"
Giuseppe