router routed nicht :(

Diskutiere router routed nicht :( im Software Forum Forum im Bereich Hardware & Software Forum; hallo, folgende situation. wlan router im clientmode: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref...
  • router routed nicht :( Beitrag #1
mezzo mix

mezzo mix

Bekanntes Mitglied
Dabei seit
24.12.2000
Beiträge
1.793
Reaktionspunkte
1
Ort
Entenhausen
hallo,
folgende situation.
wlan router im clientmode:
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 vlan0
10.10.10.0      *               255.255.255.0   U     0      0        0 eth1
10.0.0.0        *               255.0.0.0       U     0      0        0 vlan1
default         10.10.10.10     0.0.0.0         UG    0      0        0 vlan1

root@escape:~# cat /proc/sys/net/ipv4/ip_forward
1

root@escape:~# ping 10.10.10.10
PING 10.10.10.10 (10.10.10.10): 56 data bytes
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=2.0 ms
ping zum gateway tut!

ping vom desktop zum wlan router:

PING 192.168.1.54 (192.168.1.54) 56(84) bytes of data.
64 bytes from 192.168.1.54: icmp_seq=1 ttl=64 time=0.712 ms

tut auch!

aber ping zum gateway des wlan routers tut ned:
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
^X
--- 10.10.10.10 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 2999ms

ich weiß nicht worans liegt. vielleicht an den iptables? da bin ich nicht so der profi:
Code:
root@escape:~# iptables -L Chain INPUT (policy DROP)
target     prot opt source               destination DROP       all  --  anywhere             anywhere            state INVALID
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
DROP       tcp  --  anywhere             anywhere            tcp option=!2 flags:SYN/SYN
input_rule  all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     icmp --  anywhere             anywhere ACCEPT     gre  --  anywhere             anywhere
REJECT     tcp  --  anywhere             anywhere            reject-with tcp-reset REJECT     all  --  anywhere             anywhere            reject-with icmp-port-unreachable

Chain FORWARD (policy DROP)
target     prot opt source               destination
DROP       all  --  anywhere             anywhere            state INVALID
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
forwarding_rule  all  --  anywhere             anywhere ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere

Chain OUTPUT (policy DROP)
target     prot opt source               destination
DROP       all  --  anywhere             anywhere            state INVALID
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
output_rule  all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere REJECT     tcp  --  anywhere             anywhere            reject-with tcp-reset
REJECT     all  --  anywhere             anywhere            reject-with icmp-port-unreachable

Chain forward_vlan1 (1 references) target     prot opt source               destination
 Chain forwarding_rule (1 references)
target     prot opt source               destination
forward_vlan1  all  --  anywhere             anywhere

Chain input_rule (1 references)
target     prot opt source               destination
input_vlan1  all  --  anywhere             anywhere

Chain input_vlan1 (1 references)
target     prot opt source               destination

Chain output_rule (1 references)
target     prot opt source               destination

jemand eine idee?

grüße mm
 
  • router routed nicht :( Beitrag #2
fox99

fox99

Bekanntes Mitglied
Dabei seit
27.11.1999
Beiträge
3.948
Reaktionspunkte
27
Ort
Omicron Persei 8
genmask von vlan1 mit 255.0.0.0 vielleicht etwas zu großzügig?
 
  • router routed nicht :( Beitrag #3
mezzo mix

mezzo mix

Bekanntes Mitglied
Dabei seit
24.12.2000
Beiträge
1.793
Reaktionspunkte
1
Ort
Entenhausen
nee, is schon klasse a netz.
 
  • router routed nicht :( Beitrag #4
N

nic_power

Senior Moderator
Dabei seit
27.12.2000
Beiträge
7.838
Reaktionspunkte
2
Hallo,

Code:
10.10.10.0      *               255.255.255.0   U     0      0        0 eth1
10.0.0.0        *               255.0.0.0       U     0      0        0 vlan1
default         10.10.10.10     0.0.0.0         UG    0      0        0 vlan1

Das Subnetz 10.10.10.0 ist auf eth1 konfiguriert, das Gateway dafür (10.10.10.10) liegt jedoch in vlan1.

Nic
 
  • router routed nicht :( Beitrag #5
mezzo mix

mezzo mix

Bekanntes Mitglied
Dabei seit
24.12.2000
Beiträge
1.793
Reaktionspunkte
1
Ort
Entenhausen
hehe, bedankt!

grüße mm
 
Thema:

router routed nicht :(

ANGEBOTE & SPONSOREN

https://www.mofapower.de/

Statistik des Forums

Themen
213.180
Beiträge
1.579.174
Mitglieder
55.879
Neuestes Mitglied
stonetreck
Oben