ping funktioniert nur in eine Richtung

/dev/null

New Member
Hallo und guten Tag,
auf meiner neuen hw apu2c4 will ich einen router und später eine firewall aufsetzen. Die installation hat gut geklappt, aber das routing (wenn es denn daran liegen sollte) nicht.
Der Aufbau ist hier wiedergegben.
Code:
fritzbox               em0          apu2c4       em1           win7
192.168.178.1---dhcp---192.168.178.24    192.168.1.8---fixed---192.168.1.6
Symptome:
Ping von 192.168.1.6 nach 192.168.1.8 funktioniert, umgekehrt jedoch nicht.
Ping von 192.168.1.6 nach 192.168.178.24 funktioniert, nicht jedoch nach 192.168.178.1
Ping von apu2c4 nach 192.168.178.1 funktioniert.
em0 bezieht seine ip über dhcp.
Code:
apu2_bsd# uname -a
OpenBSD apu2_bsd.fritz.box 6.4 GENERIC.MP#494 amd64

apu2_bsd# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
        index 5 priority 0 llprio 3
        groups: lo
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0d:b9:4d:1e:3c
        index 1 priority 0 llprio 3
        groups: egress
        media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
        status: active
        inet 192.168.178.24 netmask 0xffffff00 broadcast 192.168.178.255
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0d:b9:4d:1e:3d
        index 2 priority 0 llprio 3
        media: Ethernet autoselect (1000baseT full-duplex,master,rxpause,txpause)
        status: active
        inet 192.168.1.8 netmask 0xffffff00 broadcast 192.168.1.255
em2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0d:b9:4d:1e:3e
        index 3 priority 0 llprio 3
        media: Ethernet autoselect (none)
        status: no carrier
enc0: flags=0<>
        index 4 priority 0 llprio 3
        groups: enc
        status: active

apu2_bsd# pfctl -d
pfctl: pf not enabled

apu2_bsd# cat /etc/hostname.em0
dhcp
apu2_bsd# cat /etc/hostname.em1
inet 192.168.1.8 255.255.255.0
!route add -net default 192.168.178.1

apu2_bsd# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default            192.168.178.1      UGS        4       13     -     8 em0
224/4              127.0.0.1          URS        0       13 32768     8 lo0
127/8              127.0.0.1          UGRS       0        0 32768     8 lo0
127.0.0.1          127.0.0.1          UHhl       1        2 32768     1 lo0
192.168.1/24       192.168.1.8        UCn        1        0     -     4 em1
192.168.1.6        00:24:8c:29:bb:e3  UHLc       0       55     -     3 em1
192.168.1.8        00:0d:b9:4d:1e:3d  UHLl       0       54     -     1 em1
192.168.1.255      192.168.1.8        UHb        0        6     -     1 em1
192.168.178/24     192.168.178.24     UCn        1       26     -     4 em0
192.168.178.1      00:24:fe:e7:38:98  UHLch      1     1017     -     3 em0
192.168.178.24     00:0d:b9:4d:1e:3c  UHLl       0    71142     -     1 em0
192.168.178.255    192.168.178.24     UHb        0        0     -     1 em0

Internet6:
Destination                        Gateway                        Flags   Refs      Use   Mtu  Prio 

Iface
::/96                              ::1                            UGRS       0        0 32768     8 lo0
::1                                ::1                            UHhl      10       60 32768     1 lo0
::ffff:0.0.0.0/96                  ::1                            UGRS       0        0 32768     8 lo0
2002::/24                          ::1                            UGRS       0        0 32768     8 lo0
2002:7f00::/24                     ::1                            UGRS       0        0 32768     8 lo0
2002:e000::/20                     ::1                            UGRS       0        0 32768     8 lo0
2002:ff00::/24                     ::1                            UGRS       0        0 32768     8 lo0
fe80::/10                          ::1                            UGRS       0        0 32768     8 lo0
fec0::/10                          ::1                            UGRS       0        0 32768     8 lo0
fe80::1%lo0                        fe80::1%lo0                    UHl        0        0 32768     1 lo0
ff01::/16                          ::1                            UGRS       0        0 32768     8 lo0
ff01::%lo0/32                      fe80::1%lo0                    Um         0        1 32768     4 lo0
ff02::/16                          ::1                            UGRS       0        0 32768     8 lo0
ff02::%lo0/32                      fe80::1%lo0                    Um         0        1 32768     4 lo0

apu2_bsd# arp -an
Host                                 Ethernet Address    Netif Expire    Flags
192.168.1.6                          00:24:8c:29:bb:e3     em1 19m58s
192.168.1.8                          00:0d:b9:4d:1e:3d     em1 permanent l
192.168.178.1                        00:24:fe:e7:38:98     em0 17m40s
192.168.178.24                       00:0d:b9:4d:1e:3c     em0 permanent l

apu2_bsd# sysctl | grep inet
net.inet.ip.forwarding=1

Ich komme hier allein nicht weiter, hoffe, dass ich 'was ganz simples übersehen habe.
Vielen Dank für Eure Mühe im Voraus.
 
1. Auf der Fritzbox fehlt eine Route zu 192.168.1.0/24 über 192.168.178.24
2. Win7 könnte per Default Pings blocken.
 
Vielen Dank für die schnelle und alle Probleme lösende Antwort.
Manchmal sieht man den Wald vor lauter Bäumen nicht.
Ich frage mich jedoch, warum die Route zu 192.168.1.0/24 über 192.168.178.24 auf der Fritzbox nicht notwendig ist, wenn ich statt des openbsd Routers meine alte IPFire Firewall nutze.
 
Zurück
Oben