WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Linux, UNIX, Open Source

Linux, UNIX, Open Source Rat & Tat bei Problemen und Fragen rund um GNU/Linux, BSD und sonstige UNIXe

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 10.01.2006, 14:59   #1
jay_R
Inventar
 
Registriert seit: 20.11.2002
Beiträge: 3.081


Standard route "fixieren"

wenn ich mit route add ne route hinzufüge bleibt sie genau solang bis ich nen reboot mache... wie stelle ich es an, dass die route auch nach einem reboot noch da ist?
____________________________________
MfG - jay_R
jay_R ist offline   Mit Zitat antworten
Alt 10.01.2006, 15:23   #2
ari
Jr. Member
 
Registriert seit: 08.01.2001
Alter: 56
Beiträge: 66


Standard

route add -p
ari ist offline   Mit Zitat antworten
Alt 10.01.2006, 15:59   #3
ingomar
rh 805007434729099
 
Benutzerbild von ingomar
 
Registriert seit: 03.09.2003
Ort: wien
Alter: 55
Beiträge: 710


Standard

welches os ?
ingomar ist offline   Mit Zitat antworten
Alt 10.01.2006, 16:05   #4
jay_R
Inventar
 
Registriert seit: 20.11.2002
Beiträge: 3.081


Standard

redhat enterprise 4
____________________________________
MfG - jay_R
jay_R ist offline   Mit Zitat antworten
Alt 10.01.2006, 16:46   #5
JoergStueger
Master
 
Registriert seit: 28.10.2002
Alter: 47
Beiträge: 626


JoergStueger eine Nachricht über ICQ schicken
Standard

Da sollten die Routen rein ...

/etc/sysconfig/network-scripts/route-ethx

LG
Joerg
JoergStueger ist offline   Mit Zitat antworten
Alt 10.01.2006, 16:52   #6
jay_R
Inventar
 
Registriert seit: 20.11.2002
Beiträge: 3.081


Standard

hab aber kein route verzeichnis drinnen...
____________________________________
MfG - jay_R
jay_R ist offline   Mit Zitat antworten
Alt 10.01.2006, 16:59   #7
ingomar
rh 805007434729099
 
Benutzerbild von ingomar
 
Registriert seit: 03.09.2003
Ort: wien
Alter: 55
Beiträge: 710


Standard

/etc/sysconfig/static-routes ?
ingomar ist offline   Mit Zitat antworten
Alt 11.01.2006, 09:29   #8
callas
Inventar
 
Registriert seit: 19.01.2000
Ort: Leoben
Alter: 57
Beiträge: 3.128

Mein Computer

Standard

Creating static routes in RHEL 4.
Monday, October 31st, 2005

It looks as though many people are hitting my site looking for information on setting up static routes in Red Hat Enterprise Linux 4. Previously in on of my earlier entries covered setting up static routes with a metric, this is entry is just for setting up static routes. You could always add them manually, however below is a recipie for making them persistant.

For each device, (say eth0) create the file: /etc/sysconfig/network-scripts/route-eth0

And the contents should be something like:

10.0.1.0/24 via 192.168.2.4 dev eth0
10.0.4.0/24 via 192.168.2.2 dev eth0

If you have devices, make one for each device, and modify the line above to match that device.

The syntax is pretty straight forward, and I believe you can expand the “/24″ out to be a full netmask. The keen eye will realise that this is basically an interface to the “ip” tool. There are other cool things you can do with routing, for more information check out the “man ip” command.


von http://blog.subverted.net/?cat=1


oder mit 'system-config-network' falls du eine graphische konsole hast.
callas ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 04:08 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag