You are not logged in.

#1 2012-08-31 17:14:56

Himliano
Member
Registered: 2012-08-31
Posts: 1

[SOLVED] Problem with routing

Hello people.

I'm having a weird thing (maybe some little stupid error on my own) trying to make a little home network.

I have a wireless router, and connected by wifi a laptop running arch. Perfect connect and no errors.
From this laptop, and using a cross network cable, laptop is connected to an small pc running Arch (Arch Arm, but I think is a network error, so we can ignore the whole arm world); so the laptop is acting as a "router".

I'll make a little graph:

Router 192.168.0.1/24 : - - - - - - - - - - 192.168.0.100/24 Laptop 192.168.1.1/24 -----------(cross_cable)----------- 192.168.1.2/24 small_pc

Laptop gw is 192.168.0.1
Small_pc gw is 192.168.1.1
Both dns are 8.8.8.8, 8.8.4.4
both machines withs static ip, no dhcp used.

In laptop I have enabled ip_forward, so the whole " cat /proc/sys/..." dysplays a 1
Theres is no iptables or firewall.

The point is that from small pc I can ping both laptop network cards (192.168.1.1 and 192.168.0.100), but I can't even ping home's router (192.168.0.1)

Any ideas on where the mistake could be?

(And excuse my poor english, I'm no native speaker)

SOLVED: I haven't properly configured my iptables, it was lacking the apropriate rules.

Last edited by Himliano (2012-09-01 12:38:32)

Offline

Board footer

Powered by FluxBB