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. > Didattica > Corsi N - Z > Sicurezza > [LAB] default gateway: perdonate l'ignoranza
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
devil1970
.novellino.

User info:
Registered: May 2003
Posts: 2 (0.00 al dì)
Location: milano
Corso: Informatica
Anno: sono laureando
Time Online: 6:01:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
default gateway: perdonate l'ignoranza

scusate ma in quale file posso indicare il default gateway?
e cosa posso fare per rendere l'informazione persistent?

firmato: un vero principiante in ambiente linux!

03-11-2004 11:53
Click Here to See the Profile for devil1970 Click here to Send devil1970 a Private Message Find more posts by devil1970 Add devil1970 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
iesse
.fedelissimo.

User info:
Registered: Apr 2003
Posts: 56 (0.01 al dì)
Location: Nerbate sul Membro
Corso: Informatica
Anno: 666
Time Online: 1 Day, 6:09:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

se non sbaglio il comando è:
#route add default gw INDIRIZZO_IP
Per controllare le tabelle di routing:
#route -n

Byez
Ivan

__________________
Think indifferent!

03-11-2004 14:22
Click Here to See the Profile for iesse Click here to Send iesse a Private Message Visit iesse's homepage! Find more posts by iesse Add iesse to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
sullivan
.precettore.

User info:
Registered: Oct 2004
Posts: 86 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 9:13:18 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Re: default gateway: perdonate l'ignoranza

Woa!

Originally posted by devil1970
scusate ma in quale file posso indicare il default gateway?
e cosa posso fare per rendere l'informazione persistent?

firmato: un vero principiante in ambiente linux!


Dipende dal tipo di distribuzione che usi, purtroppo; su Debian, il file in questione e` /etc/network/interfaces [1], mentre sui sistemi Red Hat based (Mandrake, Red Hat, Fedora, ...) dovrebbe essere in /etc/sysconfig/network-scripts/ifcfg-<iface> dove <iface> rappresenta il nome della tua interfaccia (e.g. eth0) [2].

Le informazioni sono rese persistenti, visto che modifichi dei file di configurazione di sistema. Ovviamente tali modifiche si rendono effettive al prossimo reboot OPPURE (non siamo su Windows :)) rieseguendo gli script di avvio inerenti alla configurazione del networking della macchina, come root [3].

bye,
Lorenzo

[1]: man interfaces per maggiori info
[2]: http://www.redhat.com/docs/manuals/...orkscripts.html
[3]: /etc/init.d/networking restart su Debian e qualcosa di simile su distribuzioni basate su Red Hat (sorry, ma non ne ho sottomano e non le conosco bene :|)

03-11-2004 19:31
Click Here to See the Profile for sullivan Click here to Send sullivan a Private Message Find more posts by sullivan Add sullivan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.55 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Re: Re: default gateway: perdonate l'ignoranza

Originally posted by sullivan
Ovviamente tali modifiche si rendono effettive al prossimo reboot OPPURE (non siamo su Windows :)) rieseguendo gli script di avvio inerenti alla configurazione del networking della macchina, come root

aka service network restart :)

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

03-11-2004 19:34
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
10t8or
dsy adminz
=)

User info:
Registered: Feb 2002
Posts: 2189 (0.26 al dì)
Location: QUI
Corso: Ho gia dato..
Anno: oo
Time Online: 10 Days, 14:48:15 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

/etc/sysconfig/network (GATEWAY=1.2.3.4)
service network restart
;)

tent:wq

__________________
Dr. Ma. Lol. Francisco Peralta Aguaron
francisco@dico.unimi.it - http://www.10t8or.com
No SW Patents.. Mazzetta?!

04-11-2004 13:30
Click Here to See the Profile for 10t8or Click Here to See the Blog of 10t8or Click here to Send 10t8or a Private Message Visit 10t8or's homepage! Find more posts by 10t8or Add 10t8or to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 07:43.    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.060 seconds (76.27% PHP - 23.73% MySQL) con 28 query.