View Single Post
  #1   (View Single Post)  
Old 4th October 2011
Pjoter's Avatar
Pjoter Pjoter is offline
Shell Scout
 
Join Date: Sep 2008
Posts: 92
Default 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:


Code:
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.

Piotr.

Last edited by Pjoter; 4th October 2011 at 10:03 AM. Reason: Code tags
Reply With Quote