Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Tech > Debian: impostare mtu su eth0
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Flyzone
.coltellino:svizzero.

User info:
Registered: Jan 2003
Posts: 1956 (0.23 al dì)
Location:
Corso:
Anno:
Time Online: 19 Days, 22:20:19 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Question Debian: impostare mtu su eth0

Come crincio si imposta il valore mtu sull'interfaccia eth0 in modo permanente senza che venga "resettato" ogni volta che riavvio?

Ho provato ad inserirlo in /etc/network/interface come valore "iface eth0 inet mtu 1492 dhcp", ma in quest'ultimo caso la rete non vuole neanche saperne di essere attivata...nei log non appare neanche un errore a riguardo.
Vorrei evitare di usare uno script "ifconfig eth0 mtu 1492" dato che comporterebbe un ritardo di 6 secondi per la disattivazione e la riattivazione della rete.

Nel kernel 2.4, su non sò quale distro, si poteva modificare il file /etc/sysconfig/network-scripts/ifcfg-eth0 impostando manualmente l'mtu.

In debian e con kernel 2.6 tale possibilità non esiste (non c'è proprio la cartella sysconfig, e non c'è il comanto ifcfg).

Suggerimenti?

01-11-2005 22:20
Click Here to See the Profile for Flyzone Click Here to See the Blog of Flyzone Click here to Send Flyzone a Private Message Find more posts by Flyzone Add Flyzone to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Renaulto
is fan of UTF-8

User info:
Registered: Aug 2002
Posts: 4064 (0.47 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 96 Days, 0:23:57 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Il file è /etc/network/interfaces , scrivi:

mtu 1492

incorrispondenza di eth0

__________________
Tanenbaum is overrated.

01-11-2005 22:42
Click Here to See the Profile for Renaulto Click Here to See the Blog of Renaulto Click here to Send Renaulto a Private Message Find more posts by Renaulto Add Renaulto to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Viry
dsy moderator

User info:
Registered: Oct 2002
Posts: 2429 (0.28 al dì)
Location: Milano
Corso: Ticom
Anno: primo
Time Online: 43 Days, 3:27:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

una roba del tipo:

code:
iface eth0 inet dhcp pre-up /sbin/ifconfig $IFACE mtu 1492

nel file /etc/network/interfaces

__________________
When once you have tasted flight, you will walk the earth, forever more, with your eyes turned skyward. For there you have been, and there you long to return.

“Dovere, tempo, destino, tutto tende a separarci e, di fatto, ci separa. Ma il sentimento non conosce frontiere e mi unisce a te come se avessi sempre la mia mano sulla tua"

02-11-2005 14:19
Click Here to See the Profile for Viry Click here to Send Viry a Private Message Find more posts by Viry Add Viry to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 05:56.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.118 seconds (69.43% PHP - 30.57% MySQL) con 23 query.