net-snmp auf 7270 mit freetz

Hallo,

ich wollte nur mal bekunden, dass ich gut finde, dass ihr euch um den snmpd kümmert und würde mich freuen, ihn benutzen zu können. Ich hatte ihn auch schonmal compiliert und notdürftig am Laufen - aber soweit wie ihr war ich nicht. Weiter so!:)


Dirk
 
Welches Interface wofür?

Hallo Forum,

habe NET-SNMP auf meiner Firtz Box 7170 mit freetz 1.1.2 installiert und frage mich nun, welches Interface, die ich per SNMP aus der Box auslesen kann, wofür genutzt wird.

Die Interface Liste, die ich per Getif aus der Box Auslesen kann habe ich an den Post angehängt.

Nun würde ich gerne wissen, welches dieser Interfaces aus der Liste das WAN Interface ist. Rein intuitiv würde ich auf Interface 5 oder 6 (dsl bzw. adsl) tippen, die sind aber beide 'down'. Und wofür sind die vielen anderen Interfaces?

Vielleicht kann ja jemand aus dem Forum helfen?

Gruß

Piet
 

Anhänge

  • Getif.PNG
    Getif.PNG
    27 KB · Aufrufe: 36
[...]
Nun würde ich gerne wissen, welches dieser Interfaces aus der Liste das WAN Interface ist. Rein intuitiv würde ich auf Interface 5 oder 6 (dsl bzw. adsl) tippen, die sind aber beide 'down'.
[...]
In welchem Modus "arbeitet" deine FritzBox 7170?

EDIT:
Schau dir auch die Ausgaben von:
Code:
cat /proc/net/dev
und
Code:
ifconfig
auf der Box an.
 
Zuletzt bearbeitet:
In welchem Modus "arbeitet" deine FritzBox 7170?

Ich vermute, Du möchtest wissen, dass meine FritzBox als Router und DSL-Modem arbeitet - es ist kein weiteres DSL-Modem im Spiel. Das Kabel vom Splitter ist direkt an die FritzBox angeschlossen.

Die Ausgabe von
Code:
cat /proc/net/dev
sieht wie folgt aus:
Code:
 cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
cpmac0:22850926  125515   55    0    0     0          0  61587018 109111330  117012   55    0    0  6784       0          0
    lo:  208742    3053    0    0    0     0          0         0   208742    3053    0    0    0     0       0          0
  eth0:22850926  125515    0    0    0     0          0         0 14130724   47454    0    0    0     0       0          0
   lan:20591380  125509    0    0    0     0          0         0 14130724   47454    0    0    0     0       0          0
   dsl: 6839118   23122    0    0    0     0          0         0  4454881   20401    0    0    0     0       0          0
  adsl:104402078  101548    0    0    0     0          0         0 13828450   73799    0    0    0     0       0          0
tiwlan0:       0       0    0    0    0     0          0         0  6173864   26546    0    0    0     0       0          0
tiwlan1:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
tiwlan2:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
tiwlan3:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
wdsup0:       0       0    0    0    0     0          0         0  6173864   26546    0    0    0     0       0          0
wdsdw0:       0       0    0    0    0     0          0         0  6173864   26546    0    0    0     0       0          0
wdsdw1:       0       0    0    0    0     0          0         0  6173864   26546    0    0    0     0       0          0
wdsdw2:       0       0    0    0    0     0          0         0  6173864   26546    0    0    0     0       0          0
wdsdw3:       0       0    0    0    0     0          0         0  6173804   26546    0    0    0     0       0          0

Wenn ich das richtig interpretiere, so bedeutet diese Anzeige, dass auch über die Interfaces dsl und adsl Daten transportiert werden - obwohld diese Interfaces laut SNMP Abfrage 'down' sind :confused:

Ein ähnliches Bild zeigt mir
Code:
ifconfig

Code:
 ifconfig
adsl      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:2000  Metric:1
          RX packets:101665 errors:0 dropped:0 overruns:0 frame:0
          TX packets:73878 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:104576018 (99.7 MiB)  TX bytes:13834704 (13.1 MiB)

cpmac0    Link encap:Ethernet  HWaddr 00:1C:4A:E4:92:69
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:125714 errors:55 dropped:0 overruns:0 frame:0
          TX packets:117207 errors:55 dropped:0 overruns:0 carrier:0
          collisions:6784 txqueuelen:1000
          RX bytes:22872734 (21.8 MiB)  TX bytes:109308546 (104.2 MiB)

dsl       Link encap:Point-to-Point Protocol
          inet addr:169.254.2.1  P-t-P:169.254.2.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:23124 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20403 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:6840650 (6.5 MiB)  TX bytes:4454961 (4.2 MiB)

eth0      Link encap:Ethernet  HWaddr 00:1C:4A:E4:92:69
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:125714 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47536 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:128
          RX bytes:22872734 (21.8 MiB)  TX bytes:14157762 (13.5 MiB)

lan       Link encap:Ethernet  HWaddr 00:1C:4A:E4:92:69
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:125708 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47536 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:20609606 (19.6 MiB)  TX bytes:14157762 (13.5 MiB)

lan:0     Link encap:Ethernet  HWaddr 00:1C:4A:E4:92:69
          inet addr:169.254.1.1  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3053 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3053 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:208742 (203.8 KiB)  TX bytes:208742 (203.8 KiB)

tiwlan0   Link encap:Ethernet  HWaddr 00:1C:4A:D3:1C:0B
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:6175701 (5.8 MiB)

wdsdw0    Link encap:Ethernet  HWaddr 00:1C:4A:D3:1C:0B
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:6175701 (5.8 MiB)

wdsdw1    Link encap:Ethernet  HWaddr 00:1C:4A:D3:1C:0B
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:6175701 (5.8 MiB)

wdsdw2    Link encap:Ethernet  HWaddr 00:1C:4A:D3:1C:0B
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:6175701 (5.8 MiB)

wdsdw3    Link encap:Ethernet  HWaddr 00:1C:4A:D3:1C:0B
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:6175641 (5.8 MiB)

wdsup0    Link encap:Ethernet  HWaddr 00:1C:4A:D3:1C:0B
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:6175701 (5.8 MiB)

Was sagen mir diese Ausgaben nun?

Ich würde vermuten, dass SNMP lügt und trotz der Anzeige, dass das DSL und ADSL Interface 'down' sind, dies die richtigen Interfaces sind, über die der WAN Traffic transportiert wird.
Doch welches von Beiden ist nun das richtige? Und warum gibt es überhaupt 2 WAN Interfaces? Und wofür sind all die anderen Interfaces (eth0 kann ich noch zuordnen...)

Fragen über Fragen :confused:

Kannst Du hier etwas Licht ins Dunkel bringen??


Danke und Gruß

Piet
 
Bei meiner Box 7170 im ata-Modus, ist dsl das Interface zum WAN. Das kann man z. B. mit iptables, syslogd und logread sehen.
 
ata-Modus: Internetzugang via LAN 1
 

Neueste Beiträge

Statistik des Forums

Themen
244,884
Beiträge
2,220,156
Mitglieder
371,617
Neuestes Mitglied
eastman
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.

IPPF im Überblick

Neueste Beiträge