Routing through subnets
Hello all !
I have small problem as I don't use often pf and IT related tools though I set up a print server on OpenBSD.
I need to create WIFI subnet using some WIFI router.
Here is topology of how it looks like:
192.168.1.1 (Gate)->192.168.0.113 (OpenBSD server)->10.0.1.1 (WIFI router)->10.0.1.100 (WIFI router client)
So 192.168.0.113 on ral0 is in the same WIFI network as 192.168.1.1.
From 192.168.0.113 on vr0 (ethernet) I connect to WIFI router (what ip to give on vr0? 192.168.0.114 or bridge vr0 with ral0?)
10.0.1.1 WIFI router is AP for my clients, i.e. 10.0.1.100. Should I configure somehow that WIFI router like gate adress?
Do you know how to configure through PF that 10.0.1.100 will send and receive packets thorough 192.168.0.113 and finally 192.168.1.1?
If you have some similar setup for two subnets I would appreciate it (just a sketch so I understand how it works).
Thank you for your help.
Last edited by Pjoter; 4th October 2011 at 11:03 AM. Reason: Code tags
|Thread||Thread Starter||Forum||Replies||Last Post|
|routing over a tunnel||n0ah||NetBSD General||0||22nd October 2009 06:20 PM|
|double nat routing||giagni||General software and network||5||22nd May 2009 08:10 PM|
|dhcpd and multiple subnets||vdubjunkie||OpenBSD General||5||11th March 2009 11:02 PM|
|Routing and routing some more!||Weaseal||FreeBSD General||1||19th August 2008 02:39 PM|
|OpenBSD and routing||cchapman||OpenBSD General||5||25th July 2008 06:55 PM|