PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Wie werde ich ne route wieder los



pixel
14.05.02, 12:36
Hi@all,

mein Kollege hat an unserem Linux-Server versehentlich eine route hinzugefügt. Der route-befehl (auch mit -n) gibt folgendes aus:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.111.0 * 255.255.255.0 U 0 0 0 eth0
BASE-ADDRESS.MC * 240.0.0.0 U 0 0 0 eth0
default 192.168.111.20 0.0.0.0 UG 0 0 0 eth0
tux:/ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.111.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
224.0.0.0 0.0.0.0 240.0.0.0 U 0 0 0 eth0
0.0.0.0 192.168.111.20 0.0.0.0 UG 0 0 0 eth0

Ich möchte die 224.0.0.0 (BASE-ADDRESS.MC) wieder los werden. Wie schaffe ich das?

Was bedeutet eigentlich:"BASE-ADDRESS.MC"

Gruss Pixel

MrIch
14.05.02, 12:40
route -del net 224.0.0.0 gw 224.0.0.0

BASE-ADDRESS.MC liegt das darn, dass ger gw und die Destination gleich sind?

pixel
14.05.02, 16:41
Danke, wenn ich das eingebe erhalte ich:

tux:/ # route -del net 224.0.0.0 gw 224.0.0.0
route: invalid option -- d
route: invalid option -- l
Usage: route [-nNvee] [-FC] [<AF>] List kernel routing tables
route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.

route {-h|--help} [<AF>] Detailed usage syntax for specified AF.
route {-V|--version} Display version/author and exit.

-v, --verbose be verbose
-n, --numeric don't resolve names
-e, --extend display other/more information
-F, --fib display Forwarding Information Base (default)
-C, --cache display routing cache instead of FIB

<AF>=Use '-A <af>' or '--<af>'; default: inet
List of possible address families (which support routing):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
x25 (CCITT X.25)

Tippfehler?

Gruss Pixel

ReSeT
14.05.02, 17:28
lass ma das - vor dem del weg, dann sollte das klappen

Newbie2001
14.05.02, 17:42
hat er die route in die /etc/roue.conf geschrieben ? wenn ja dann musst du sie aus dieser datei auch rauslöschen weil sonstg wird beim nächsten start von route diese route wieder eingebaut. der befehl route del wird eigentlich nur vernwedet um etwas aus der aktuellen routing-table zu löschen, wenn die route allerdings auch in der /etc/roue.conf steht musst du sie manuell aus dieser config-file entfernen.