PDA

Bekijk de volledige versie : Client mode - bridgint two LANs



Shocquer
11-08-2005, 22:26
First of all thanx for the custom firmware and all of those hints in this forum.

I've got following problem:
I use my notebook to connect to my WLAN-router (smc) which is connected to the ISP. I use my Asus 500gx to handle all other computers to connect to this smc-router as well. I would like to connect from my notebook and any other computer connected only to smc-router to any other computer connected to asus-router.

asus-net: 192.168.1.x
smc-net: 192.168.0.x

what have I to do, that my notebook can connect to shares of my desktop?
I was able to set up some iptable rules to do the opposite and open ftp/ssh of asus-router to notebook. The problem is, that I can't find a hint for a rule or even web-based configuration that would allow this.

Thanx

Shocquer
13-08-2005, 15:43
well, i found out, that adding
route add 192.168.0.0 mask 255.255.255.0 ip-of-asus-router
route add 192.168.1.0 mask 255.255.255.0 ip-of-asus-router

solves my problem

moulin
14-10-2005, 12:37
Do you put the same routing rules in both routers? And is 192.168.0.0 your internal address? Or the one for your wan port? What kind of interface do you select? WAN, MAN or LAN?

To make it more clear:

Asus router 1:
gateway: 172.16.0.138
Wan address: 172.16.0.10
Lan address: 192.168.0.*

Asus router 2:
gateway: 172.16.0.138
Wan address: 172.16.0.11
Lan address: 192.168.1.*

So how can I connect the two routers using the static route list?

Shocquer
17-10-2005, 19:56
Well I don't have two good routers - one is smc, so I couldn't do it on router. I done it on my desktop & notebook (bad choice, but works).

try to add static route to asus router #1:
192.168.1.* 172.16.0.11

and to #2:
192.168.0.* 172.16.0.10

i don't have the router here, so can't look at the dialog.
wish you luck

moulin
21-10-2005, 16:48
Ok it works. To connect two asus routers you fill in the following:

192.168.1.* 255.255.255.0 (here ip-address starting with 172 from other router) WAN

Here it works! Thank you for helping me out :)