• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] Netzwerk verkonfiguriert

hallo community,
leider habe ich mein Netzwerk verkonfiguriert und finde den Fehler nicht. :irre:
Ich arbeite mit openSuSE 11.4, statischen IPs u. ohne Networkmanager.
Der Fehler zeigt sich wie folgt:
Per ping kann ich den switch erreichen, aber die Antwortzeiten sind viel zu kurz.
Code:
ping switch
PING switch.fh (192.168.178.80) 56(84) bytes of data.
64 bytes from switch.fh (192.168.178.80): icmp_req=1 ttl=64 time=0.032 ms
wie der nachfolgende ping zeigt.
Code:
ping Tux-sen
PING Tux-sen.fh (192.168.178.10) 56(84) bytes of data.
64 bytes from Tux-sen.fh (192.168.178.10): icmp_req=1 ttl=64 time=8.12 ms
64 bytes from Tux-sen.fh (192.168.178.10): icmp_req=2 ttl=64 time=3.11 ms
Weiterhin werden pings beantwortet, wo die Geräte offline sind
Code:
ping nas
PING nas.fh (192.168.178.100) 56(84) bytes of data.
64 bytes from nas.fh (192.168.178.100): icmp_req=1 ttl=64 time=0.035 ms
Nachfolgend meine hosts
Code:
127.0.0.1       localhost 
192.168.178.2   dslrouter.fh dslrouter
192.168.178.10  Tux-sen.fh Tux-sen
192.168.178.90  PrintServer.fh printer
192.168.178.100 nas.fh nas
192.168.178.80  switch.fh switch
192.168.178.20  Tux-jun Tux-jun
127.0.0.2       Tux-jun.fh Tux-jun
Wenn ich jetzt im Browser aufrufe
Code:
http://switch
erhalte ich im Browser die Antwort
Code:
Die Aktion lässt sich nicht ausführen
Verbindungsaufbau vom Server abgelehnt
Würde mich über einen Tipp von Euch sehr freuen. :thumbs:
viele grüsse aus dem abendlichen oberbayern an die community
vom bayernherz
 
OP
B

bayernherz

Hacker
Code:
# The network configuration file. This file is currently only used in
# conjunction with the TI-RPC code in the libtirpc library.
#
# Entries consist of:
#
#       <network_id> <semantics> <flags> <protofamily> <protoname> \
#               <device> <nametoaddr_libs>
#
# The <device> and <nametoaddr_libs> fields are always empty in this
# implementation.
#
udp        tpi_clts      v     inet     udp     -       -
tcp        tpi_cots_ord  v     inet     tcp     -       -
udp6       tpi_clts      v     inet6    udp     -       -
tcp6       tpi_cots_ord  v     inet6    tcp     -       -
rawip      tpi_raw       -     inet      -      -       -
local      tpi_cots_ord  -     loopback  -      -       -
unix       tpi_cots_ord  -     loopback  -      -       -
:wink:
 

marce

Guru
bayernherz schrieb:
Ich arbeite mit openSuSE 11.4, statischen IPs u. ohne Networkmanager.
Wie wäre es mir der Datei, in der Du die statischen IPs eingetragen hast, die Datei, in der Deine konfigurierten Routen stehen und die Datei, in der Dein Nameserver konfiguriert ist?

Alternativ auch die Ausgabe folgenden Scriptes: http://www.linux-tips-and-tricks.de/en/quickstart/
 
OP
B

bayernherz

Hacker
Wie wäre es mir der Datei, in der Du die statischen IPs eingetragen hast, die Datei,
in der Deine konfigurierten Routen stehen und die Datei, in der Dein Nameserver konfiguriert ist?
Ich habe die Configuration mit Yast durchgeführt, daher kenne ich die Namen der Configdateien nicht.
Bitte nenne sie mir und ich werde sie posten. :thumbs:
 
/etc/sysconfig/ifcfg-*
/etc/hosts
/etc/resolv.conf
und die Ausgabe von "route -n"
wären ein Anfang. Ansonsten guck mal in die anderen Threads hier, ein Mod hatte hier mal ein Skript gepostet das diese ganzen Infos sammelt und kompakt ausgibt.
 
OP
B

bayernherz

Hacker
hallo community,
ich habe das Tool
collectNWDataGUI.sh
laufen lassen.
Nachfolgend das Ergebnis. :p
Code:
Linux-club_collectNWData.sh V0.7.5.1

--- Which type of your network connection should be tested?
--- (2) Wired connection

--- What's the type of networktopology?
--- (2) DSL HW router <---> LinuxClient

--- On which host is the script executed?
--- (1) LinuxClient

--- NWCollect is collecting networkconfiguration information into file ...

--- NWEliza is analyzing the system for common network configuration errors ...
!!! CND0540W: Messages dropped on network interface eth0
!!! CND0180I: The system can't ping external IP address 8.8.8.8
!!! CND0150E: There might be a problem with the default gateway definition 192.168.178.2 on interface eth0
!!! CND0290E: No network configuration found for interface eth0:nas
!!! CND0290E: No network configuration found for interface eth0:rout
!!! CND0290E: No network configuration found for interface eth0:swit
!!! CND0310W: Classic network configuration with ifup was detected. Configuration with networkmanager is easier

--- Go to http://www.linux-tips-and-tricks.de/CND#English to get more detailed instructions 
--- about the error/warning messages and how to fix the problems on your own.

--- If you are unsuccessful then place the contents of file Linux-club_collectNWData.txt in the net
--- (see http://www.linux-tips-and-tricks.de/CND_UPL#English for links) 
--- and then paste the nopaste link on your favorite Linux forum.

==================================================================================================================
===== cat /etc/*[-_]release || cat /etc/*[-_]version =============================================================
/etc/SuSE-release
openSUSE 11.4 (i586)
VERSION = 11.4
CODENAME = Celadon
===== uname -a ===================================================================================================
Linux Tux-jun 2.6.37.6-0.9-desktop #1 SMP PREEMPT 2011-10-19 22:33:27 +0200 i686 i686 i386 GNU/Linux
===== cat /etc/sysconfig/network/ifcfg-[earwd]* | grep -v "^#|^$" | grep -v "=''" ================================
--- /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='static'
IPADDR='192.168.178.20/24'
MTU='1500'
NAME='191 Gigabit Ethernet Adapter'
STARTMODE='auto'
USERCONTROL='no'
IPADDR_0='192.168.178.80/24'
LABEL_0='switch'
IPADDR_1='192.168.178.100/24'
LABEL_1='nas'
IPADDR_2='192.168.178.2/24'
LABEL_2='router'
--- /etc/sysconfig/network/ifcfg-wlan0
BOOTPROTO='none'
NAME='AR5001 Wireless Network Adapter'
STARTMODE='off'
USERCONTROL='no'
WIRELESS_AP_SCANMODE='1'
WIRELESS_AUTH_MODE='open'
WIRELESS_BITRATE='auto'
WIRELESS_DEFAULT_KEY=@@@@@@
WIRELESS_KEY_LENGTH=@@@@@@
WIRELESS_MODE='Managed'
WIRELESS_POWER='yes'
===== ping tests =================================================================================================
Ping of 8.8.8.8 failed
ping: unknown host www.google.com
Ping of www.google.com failed
===== cat /etc/resolv | grep -i "nameserver" =====================================================================
nameserver 192.168.178.2
===== cat /etc/hosts =============================================================================================
127.0.0.1       localhost 
192.168.178.2   dslrouter.fh dslrouter
192.168.178.10  Tux-sen.fh Tux-sen
192.168.178.90  PrintServer.fh printer
192.168.178.100 nas.fh nas
192.168.178.80  switch.fh switch
192.168.178.20  Tux-jun Tux-jun
127.0.0.2       Tux-jun.fh Tux-jun
===== (route -n && route -A inet6 -n) | egrep "(en|wl|eth|ath|ra|wlan|dsl|ppp)" ==================================
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         192.168.178.2   0.0.0.0         UG    0      0        0 eth0
===== ifconfig (filtered for en|wl|eth|wlan|ra|ath|dsl|ppp) ======================================================
eth0      Link encap:Ethernet  HWaddr ##:##:##:##:##:#1  
          inet addr:192.168.178.20  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:56 errors:0 dropped:15 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1394 (1.3 Kb)  TX bytes:11789 (11.5 Kb)
          Interrupt:19 Base address:0xdead 
eth0:nas  Link encap:Ethernet  HWaddr ##:##:##:##:##:#1  
          inet addr:192.168.178.100  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Base address:0xdead 
eth0:rout Link encap:Ethernet  HWaddr ##:##:##:##:##:#1  
          inet addr:192.168.178.2  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Base address:0xdead 
eth0:swit Link encap:Ethernet  HWaddr ##:##:##:##:##:#1  
          inet addr:192.168.178.80  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Base address:0xdead 
===== lspci ======================================================================================================
00:04.0 Ethernet controller [0200]: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter [1039:0191] (rev 02)
	Subsystem: Fujitsu Technology Solutions Device [1734:1125]
	Kernel driver in use: sis190
--
02:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01)
	Subsystem: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01) [168c:3067]
	Kernel driver in use: ath5k
===== lsusb | grep -v "root hub" =================================================================================
Bus 002 Device 002: ID 046d:c404 Logitech, Inc. TrackMan Wheel
Bus 001 Device 003: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
===== hwinfo (filtered) ==========================================================================================
15: PCI 04.0: 0200 Ethernet controller
  Model: "Silicon Integrated 191 Gigabit Ethernet Adapter"
  Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
  Device: pci 0x0191 "191 Gigabit Ethernet Adapter"
  SubVendor: pci 0x1734 "Fujitsu Technology Solutions"
  SubDevice: pci 0x1125 
  Driver: "sis190"
  Driver Modules: "sis190"
  Device File: eth0
  Link detected: yes
    Driver Status: sis190 is active
    Driver Activation Cmd: "modprobe sis190"
22: PCI 200.0: 0282 WLAN controller
  Model: "Atheros AR242x 802.11abg Wireless PCI Express Adapter (rev 01)"
  Vendor: pci 0x168c "Atheros Communications Inc."
  Device: pci 0x001c "AR5001 Wireless Network Adapter"
  SubVendor: pci 0x168c "Atheros Communications Inc."
  SubDevice: pci 0x3067 "AR242x 802.11abg Wireless PCI Express Adapter (rev 01)"
  Driver: "ath5k"
  Driver Modules: "ath5k"
  Device File: wlan0
  Link detected: yes
    Driver Status: ath5k is active
    Driver Activation Cmd: "modprobe ath5k"
===== lsmod (filtered) ===========================================================================================
| ac              | arc4            | ath             | ath5k           | cfg80211         |
| ecb             | fscache         | jbd2            | mac80211        | pci_hotplug      |
| rfkill          | sata_sis        | serio_raw       | sg              | shpchp           |
| sis190          | sr_mod          |
===== egrep 'en|wl|eth|ath|wlan|ra|ppp' /etc/udev/rules.d/*net_persistent* /etc/udev/rules.d/*persistent-net* ====
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#2", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
==================================================================================================================
*** NWElizaStates V0.7.5.1
PNIN:1 CFR:1 IF:eth0 IM:2 IF:eth0:nas IM:2 IF:eth0:rout IM:2 IF:eth0:swit IM:2 IF:wlan0 IM:1 DI:5 FALON:1 NIC:0 cNiC:1:0 NIC:0 cNiC:2:0 NIC:0 cNiC:3:0 NIC:0 cNiC:4:0 NI:0 cNI:0 PNG:1 DR:1 NISS:0 IP6:0 KM:0 1 WLW:0 RTDT:SuSE GUI:0 UID:0
Noch eine Anmerkung dazu:
DSL-Router <--> Switch <--> Linux-Clients

viele grüsse aus dem vorfrühlingshaften Oberbayern an die community
vom bayernherz :thumbs:
 
OP
B

bayernherz

Hacker
hallo marce,
kann nicht sein, denn ich habe beim 2. PC ebenfalls die Gateway IP 192.168.178.2 eingetragen.
Und da funktioniert es. :wink:
Doch da fällt mir ein ich habe als DNS-Server beim 1. PC (der nicht funktioniert) die Gateway IP eingetragen.
Welche Config Datei möchtest Du sehen ? :irre:

:thumbs:
 
OP
B

bayernherz

Hacker
hallo :nosmile:
Code:
Linux-club_collectNWData.sh V0.7.5.1

--- Which type of your network connection should be tested?
--- (2) Wired connection

--- What's the type of networktopology?
--- (2) DSL HW router <---> LinuxClient

--- On which host is the script executed?
--- (1) LinuxClient

--- NWCollect is collecting networkconfiguration information into file ...

--- NWEliza is analyzing the system for common network configuration errors ...
!!! CND0180I: The system can't ping external IP address 8.8.8.8
!!! CND0150E: There might be a problem with the default gateway definition 192.168.178.2 on interface eth0
!!! CND0290E: No network configuration found for interface eth0:nas
!!! CND0290E: No network configuration found for interface eth0:rout
!!! CND0290E: No network configuration found for interface eth0:swit
!!! CND0310W: Classic network configuration with ifup was detected. Configuration with networkmanager is easier

--- Go to http://www.linux-tips-and-tricks.de/CND#English to get more detailed instructions 
--- about the error/warning messages and how to fix the problems on your own.

--- If you are unsuccessful then place the contents of file Linux-club_collectNWData.txt in the net
--- (see http://www.linux-tips-and-tricks.de/CND_UPL#English for links) 
--- and then paste the nopaste link on your favorite Linux forum.

==================================================================================================================
===== cat /etc/*[-_]release || cat /etc/*[-_]version =============================================================
/etc/SuSE-release
openSUSE 11.4 (i586)
VERSION = 11.4
CODENAME = Celadon
===== uname -a ===================================================================================================
Linux Tux-jun 2.6.37.6-0.9-desktop #1 SMP PREEMPT 2011-10-19 22:33:27 +0200 i686 i686 i386 GNU/Linux
===== cat /etc/sysconfig/network/ifcfg-[earwd]* | grep -v "^#|^$" | grep -v "=''" ================================
--- /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='static'
IPADDR='192.168.178.20/24'
MTU='1500'
NAME='191 Gigabit Ethernet Adapter'
STARTMODE='auto'
USERCONTROL='no'
IPADDR_0='192.168.178.80/24'
LABEL_0='switch'
IPADDR_1='192.168.178.100/24'
LABEL_1='nas'
IPADDR_2='192.168.178.2/24'
LABEL_2='router'
--- /etc/sysconfig/network/ifcfg-wlan0
BOOTPROTO='none'
NAME='AR5001 Wireless Network Adapter'
STARTMODE='off'
USERCONTROL='no'
WIRELESS_AP_SCANMODE='1'
WIRELESS_AUTH_MODE='open'
WIRELESS_BITRATE='auto'
WIRELESS_DEFAULT_KEY=@@@@@@
WIRELESS_KEY_LENGTH=@@@@@@
WIRELESS_MODE='Managed'
WIRELESS_POWER='yes'
===== ping tests =================================================================================================
Ping of 8.8.8.8 failed
ping: unknown host www.google.com
Ping of www.google.com failed
===== cat /etc/resolv | grep -i "nameserver" =====================================================================
nameserver %%%.%%%.43.161
nameserver %%%.%%%.43.177
===== cat /etc/hosts =============================================================================================
127.0.0.1       localhost 
192.168.178.2   dslrouter.fh dslrouter
192.168.178.10  Tux-sen.fh Tux-sen
192.168.178.90  PrintServer.fh printer
192.168.178.100 nas.fh nas
192.168.178.80  switch.fh switch
192.168.178.20  Tux-jun Tux-jun
127.0.0.2       Tux-jun.fh Tux-jun
===== (route -n && route -A inet6 -n) | egrep "(en|wl|eth|ath|ra|wlan|dsl|ppp)" ==================================
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         192.168.178.2   0.0.0.0         UG    0      0        0 eth0
===== ifconfig (filtered for en|wl|eth|wlan|ra|ath|dsl|ppp) ======================================================
eth0      Link encap:Ethernet  HWaddr ##:##:##:##:##:#1  
          inet addr:192.168.178.20  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0 frame:0
          TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1080 (1.0 Kb)  TX bytes:8112 (7.9 Kb)
          Interrupt:19 Base address:0xdead 
eth0:nas  Link encap:Ethernet  HWaddr ##:##:##:##:##:#1  
          inet addr:192.168.178.100  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Base address:0xdead 
eth0:rout Link encap:Ethernet  HWaddr ##:##:##:##:##:#1  
          inet addr:192.168.178.2  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Base address:0xdead 
eth0:swit Link encap:Ethernet  HWaddr ##:##:##:##:##:#1  
          inet addr:192.168.178.80  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Base address:0xdead 
===== lspci ======================================================================================================
00:04.0 Ethernet controller [0200]: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter [1039:0191] (rev 02)
	Subsystem: Fujitsu Technology Solutions Device [1734:1125]
	Kernel driver in use: sis190
--
02:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01)
	Subsystem: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01) [168c:3067]
	Kernel driver in use: ath5k
===== lsusb | grep -v "root hub" =================================================================================
Bus 002 Device 002: ID 046d:c404 Logitech, Inc. TrackMan Wheel
Bus 001 Device 003: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
===== hwinfo (filtered) ==========================================================================================
15: PCI 04.0: 0200 Ethernet controller
  Model: "Silicon Integrated 191 Gigabit Ethernet Adapter"
  Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
  Device: pci 0x0191 "191 Gigabit Ethernet Adapter"
  SubVendor: pci 0x1734 "Fujitsu Technology Solutions"
  SubDevice: pci 0x1125 
  Driver: "sis190"
  Driver Modules: "sis190"
  Device File: eth0
  Link detected: yes
    Driver Status: sis190 is active
    Driver Activation Cmd: "modprobe sis190"
22: PCI 200.0: 0282 WLAN controller
  Model: "Atheros AR242x 802.11abg Wireless PCI Express Adapter (rev 01)"
  Vendor: pci 0x168c "Atheros Communications Inc."
  Device: pci 0x001c "AR5001 Wireless Network Adapter"
  SubVendor: pci 0x168c "Atheros Communications Inc."
  SubDevice: pci 0x3067 "AR242x 802.11abg Wireless PCI Express Adapter (rev 01)"
  Driver: "ath5k"
  Driver Modules: "ath5k"
  Device File: wlan0
  Link detected: yes
    Driver Status: ath5k is active
    Driver Activation Cmd: "modprobe ath5k"
===== lsmod (filtered) ===========================================================================================
| ac              | arc4            | ath             | ath5k           | cfg80211         |
| ecb             | fscache         | jbd2            | mac80211        | pci_hotplug      |
| rfkill          | sata_sis        | serio_raw       | sg              | shpchp           |
| sis190          | sr_mod          |
===== egrep 'en|wl|eth|ath|wlan|ra|ppp' /etc/udev/rules.d/*net_persistent* /etc/udev/rules.d/*persistent-net* ====
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#2", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
==================================================================================================================
*** NWElizaStates V0.7.5.1
PNIN:1 CFR:1 IF:eth0 IM:2 IF:eth0:nas IM:2 IF:eth0:rout IM:2 IF:eth0:swit IM:2 IF:wlan0 IM:1 DI:5 FALON:1 NIC:0 cNiC:1:0 NIC:0 cNiC:2:0 NIC:0 cNiC:3:0 NIC:0 cNiC:4:0 NI:0 cNI:0 PNG:1 DR:1 NISS:0 IP6:0 KM:0 1 WLW:0 RTDT:SuSE GUI:0 UID:0
Code:
route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.178.2   0.0.0.0         UG    0      0        0 eth0
Code:
hosts
-------
127.0.0.1       localhost
127.0.0.2       Tux-jun.fh Tux-jun
192.168.178.2   dslrouter.fh dslrouter
192.168.178.10  Tux-sen.fh Tux-sen
192.168.178.90  PrintServer.fh printer
192.168.178.100 nas.fh nas
192.168.178.80  switch.fh switch
192.168.178.20  Tux-jun Tux-jun

Code:
resolv.conf
-----------
search fh
nameserver 217.0.43.161
nameserver 217.0.43.177

Code:
ifroute-lo
----------
127/8
Code:
routes
------
default 192.168.178.2 - -
Code:
networks
-------
loopback	127.0.0.0
link-local	169.254.0.0
habe den DNS vom Gateway -> DNS-Server geändert
und funktioniert trotzdem nicht ! :igitt:

Nachtrag:
Ich habe nochmals die Diagnose genau betrachte und diese mit meinem funktionierenden PC verglichen
und bin auf folgenden Hinweis gekommen

Code:
===== (route -n && route -A inet6 -n) | egrep "(en|wl|eth|ath|ra|wlan|dsl|ppp)" ==================================
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         192.168.178.2   0.0.0.0         UG    0      0        0 eth0

Code:
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
Wo kommt diese IP 169.254.0.0 her.
Ich habe diese nicht configuriert ! :-x
 
Das nennt sich APIPA und ist erstmal nichts schlimmes. Merkwürdig finde ich den tux-jun auf loopback (127.0.0.2) und einer "normalen" IP (192.168.178.20) Insgesamt sind mir die zig aliases (Netzwerkdevices) nicht ganz klar die Du verwendest, magst Du mir den Sinn verraten?
 
OP
B

bayernherz

Hacker
hallo Geier0815,
die Alias verwende ich um ggf. zu pingen oder um Verbindung mit dem Switch aufzunehmen, welches sehr häufig
der Fall ist. Mit dem Alias ist eben kürzer zum schreiben.
Die Antwortzeiten vom pingen z.B. Switch sind entschieden zu kurz.
Normalerweise liegen die bei ca. 1ms - 2ms.
Es kommt mir so vor, als würde das Ping Signal über die Loopback sofort zurückgesendet.
Ich bekomme ja auch keinen Kontakt ins Netwerk z.B. zum Switch. :-x

viiele grüsse aus dem mittaglichen oberbayern an die community
vom bayernherz :thumbs:
 
A

Anonymous

Gast
bayernherz schrieb:
Die Antwortzeiten vom pingen z.B. Switch sind entschieden zu kurz.
Normalerweise liegen die bei ca. 1ms - 2ms.
Es kommt mir so vor, als würde das Ping Signal über die Loopback sofort zurückgesendet.
Ich bekomme ja auch keinen Kontakt ins Netwerk z.B. zum Switch. :-x
Was würdest du denn anders erwarten wenn du 4 Addressen auf dem selben NIC im selben Netz konfigurierst.
Code:
--- /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='static'
IPADDR='192.168.178.20/24'
MTU='1500'
NAME='191 Gigabit Ethernet Adapter'
STARTMODE='auto'
USERCONTROL='no'
IPADDR_0='192.168.178.80/24'
LABEL_0='switch'
IPADDR_1='192.168.178.100/24'
LABEL_1='nas'
IPADDR_2='192.168.178.2/24'
LABEL_2='router'
Keine Ahnung was du damit erreichen willst, für mich ist es Quatsch.

robi
 
OP
B

bayernherz

Hacker
hallo robi,
Was würdest du denn anders erwarten wenn du 4 Addressen auf dem selben NIC im selben Netz konfigurierst.
Könntest Du mir das bitte ein bischen näher erläutern.
Ich denke, da ist ein bischen Unwissenheit bei mir vorhanden. :-/

viele grüsse aus dem abendlichen oberbayern an die community
vom bayernherz :thumbs:
 

josef-wien

Ultimate Guru
Du definierst vier unterschiedliche Adressen für einen einzigen PC, nämlich für jenen, für den die Datei ifcfg-eth0 gilt. Wie ich das sehe, verwendest Du dafür sogar Adressen, die bereits andere Geräte in Deinem Netz haben, die durch diese Doppelvergabe somit nicht angesprochen werden können.
robi schrieb:
Keine Ahnung was du damit erreichen willst
 
OP
B

bayernherz

Hacker
hallo josef-wien,
dann war das ein Missverständnis von mir.
D.h. ich kann in der Config nur die Alias Adresse des eingenen PCs angeben.

Ich wundere mich da schwer, da ich mit dem Aufruf switch im Adressfeld des Browsers das Menue
vom Switch aufrufen konnte. :-?
Also gut, ich werde das im der Config ändern und dann wieder berichten.

Bis dahin viele Grüsse aus oberbayern an die community
vom bayernherz :thumbs:
 
OP
B

bayernherz

Hacker
hallo marce,
solche Einträge gehören in die hosts-Datei.
Da standen sie auch !
Ich habe diese Einträge mittels YAST Netzwerkeinstellungen jetzt entfernt.
etc/hosts
Code:
127.0.0.1       localhost 
192.168.178.20  Tux-jun Tux-jun
127.0.0.2       Tux-jun.fh Tux-jun
Anschliessend war das Netzwerk wieder funktionsfähig.
Die Anwortgeschwindigkeit beim ping bleibt allerdings nach wie vor bei 2ms bis 3ms.

Ich frage mich wieso hat das Netzwerk vorher mit den alten Einträgen funktioniert
und urplötzlich nicht mehr? :???:
Nachstehend nochmals die Diagnose mit den jetzigen Einstelungen.
Code:
Linux-club_collectNWData.sh V0.7.5.1

--- Which type of your network connection should be tested?
--- (2) Wired connection

--- What's the type of networktopology?
--- (2) DSL HW router <---> LinuxClient

--- On which host is the script executed?
--- (1) LinuxClient

--- NWCollect is collecting networkconfiguration information into file ...

--- NWEliza is analyzing the system for common network configuration errors ...
!!! CND0200W: Maximum possible MTU is 1492, but actual MTU on nic eth0 is 1500
!!! CND0310W: Classic network configuration with ifup was detected. Configuration with networkmanager is easier

--- Go to http://www.linux-tips-and-tricks.de/CND#English to get more detailed instructions 
--- about the error/warning messages and how to fix the problems on your own.

--- If you are unsuccessful then place the contents of file Linux-club_collectNWData.txt in the net
--- (see http://www.linux-tips-and-tricks.de/CND_UPL#English for links) 
--- and then paste the nopaste link on your favorite Linux forum.

==================================================================================================================
===== cat /etc/*[-_]release || cat /etc/*[-_]version =============================================================
/etc/SuSE-release
openSUSE 11.4 (i586)
VERSION = 11.4
CODENAME = Celadon
===== uname -a ===================================================================================================
Linux Tux-jun 2.6.37.6-0.9-desktop #1 SMP PREEMPT 2011-10-19 22:33:27 +0200 i686 i686 i386 GNU/Linux
===== cat /etc/sysconfig/network/ifcfg-[earwd]* | grep -v "^#|^$" | grep -v "=''" ================================
--- /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='static'
IPADDR='192.168.178.20/24'
MTU='1500'
NAME='191 Gigabit Ethernet Adapter'
STARTMODE='auto'
USERCONTROL='no'
--- /etc/sysconfig/network/ifcfg-wlan0
BOOTPROTO='none'
NAME='AR5001 Wireless Network Adapter'
STARTMODE='off'
USERCONTROL='no'
WIRELESS_AP_SCANMODE='1'
WIRELESS_AUTH_MODE='open'
WIRELESS_BITRATE='auto'
WIRELESS_DEFAULT_KEY=@@@@@@
WIRELESS_KEY_LENGTH=@@@@@@
WIRELESS_MODE='Managed'
WIRELESS_POWER='yes'
===== ping tests =================================================================================================
Ping of 8.8.8.8 OK
Ping of www.google.com OK
===== cat /etc/resolv | grep -i "nameserver" =====================================================================
nameserver %%%.%%%.43.161
nameserver %%%.%%%.43.177
===== cat /etc/hosts =============================================================================================
127.0.0.1       localhost 
192.168.178.20  Tux-jun Tux-jun
127.0.0.2       Tux-jun.fh Tux-jun
===== (route -n && route -A inet6 -n) | egrep "(en|wl|eth|ath|ra|wlan|dsl|ppp)" ==================================
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         192.168.178.2   0.0.0.0         UG    0      0        0 eth0
===== ifconfig (filtered for en|wl|eth|wlan|ra|ath|dsl|ppp) ======================================================
eth0      Link encap:Ethernet  HWaddr ##:##:##:##:##:#1  
          inet addr:192.168.178.20  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3506 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3860 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2683074 (2.5 Mb)  TX bytes:569013 (555.6 Kb)
          Interrupt:19 Base address:0xdead 
===== lspci ======================================================================================================
00:04.0 Ethernet controller [0200]: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter [1039:0191] (rev 02)
	Subsystem: Fujitsu Technology Solutions Device [1734:1125]
	Kernel driver in use: sis190
--
02:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c] (rev 01)
	Subsystem: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01) [168c:3067]
	Kernel driver in use: ath5k
===== lsusb | grep -v "root hub" =================================================================================
Bus 002 Device 002: ID 046d:c404 Logitech, Inc. TrackMan Wheel
===== hwinfo (filtered) ==========================================================================================
15: PCI 04.0: 0200 Ethernet controller
  Model: "Silicon Integrated 191 Gigabit Ethernet Adapter"
  Vendor: pci 0x1039 "Silicon Integrated Systems Corp."
  Device: pci 0x0191 "191 Gigabit Ethernet Adapter"
  SubVendor: pci 0x1734 "Fujitsu Technology Solutions"
  SubDevice: pci 0x1125 
  Driver: "sis190"
  Driver Modules: "sis190"
  Device File: eth0
  Link detected: yes
    Driver Status: sis190 is active
    Driver Activation Cmd: "modprobe sis190"
22: PCI 200.0: 0282 WLAN controller
  Model: "Atheros AR242x 802.11abg Wireless PCI Express Adapter (rev 01)"
  Vendor: pci 0x168c "Atheros Communications Inc."
  Device: pci 0x001c "AR5001 Wireless Network Adapter"
  SubVendor: pci 0x168c "Atheros Communications Inc."
  SubDevice: pci 0x3067 "AR242x 802.11abg Wireless PCI Express Adapter (rev 01)"
  Driver: "ath5k"
  Driver Modules: "ath5k"
  Device File: wlan0
  Link detected: no
    Driver Status: ath5k is active
    Driver Activation Cmd: "modprobe ath5k"
===== lsmod (filtered) ===========================================================================================
| ac              | arc4            | ath             | ath5k           | cfg80211         |
| ecb             | fscache         | jbd2            | mac80211        | pci_hotplug      |
| rfkill          | sata_sis        | serio_raw       | sg              | shpchp           |
| sis190          | sr_mod          |
===== egrep 'en|wl|eth|ath|wlan|ra|ppp' /etc/udev/rules.d/*net_persistent* /etc/udev/rules.d/*persistent-net* ====
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#2", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
==================================================================================================================
*** NWElizaStates V0.7.5.1
PNIN:1 CFR:1 IF:eth0 IM:2 IF:wlan0 IM:1 DI:2 FALON:1 NIC:0 cNiC:1:0 NI:0 cNI:0 PNG:0 DNS:0 MTU:1 NISS:0 IP6:0 KM:0 1 WLW:0 RTDT:SuSE GUI:0 UID:0
Ich würde mich freuen, wenn Du mir verraten würdest was da nicht gestimmt hat ! :p

viel grüsse vom bayernherz :thumbs:
 
Oben