Ted Danson
Regular Contributor
Hello.
This should have been fairly straightforward but it's wrecking my head the past 3 days. Basically I want to do per the attached diagram.
The AP on the 192.168.2.0/24 network should not be able to talk to devices on the 192.168.1.0/24, I just want that traffic going out to the Internet. The AP on 192.168.2.0/24 needs to be a router too because I need to issue iptables commands so that the router use ISP DNS IP's and then, depending on destination, route DNS requests to other IP's. The devices on the 192.168.2.0/24 network will all be wireless. Only the AP is connected by LAN and that interface has a static IP of 192.168.1.11/24. I created a second interface for WLAN with an IP of 192.168.2.1/24.
The end result is I can ping both interfaces from the ping tool in pfsense (which is 192.168.1.1/24), however I cannot ping 192.168.2.1/24 from a cmd line on a client. A test client connected to the 192.168.2.1/24 SSID gives a DHCP lease of 192.168.1.X/24. I want DHCP enabled on both routers, I'm assuming right now theyre fighting with each other to hand out leases?
Also, if you check my diagram, I do have 0.0.0.0/0 as a static route entry for pfSense, however pfSense only let's you add 0.0.0.0/1 in static routes. Which is odd to me, so I left it out.
Only other thing really to note is the AP on 192.168.2.1/24 is a TP-Link TL-WR902AC running OpenWRT.
Can anyone help? It's driving me insane!
This should have been fairly straightforward but it's wrecking my head the past 3 days. Basically I want to do per the attached diagram.
The AP on the 192.168.2.0/24 network should not be able to talk to devices on the 192.168.1.0/24, I just want that traffic going out to the Internet. The AP on 192.168.2.0/24 needs to be a router too because I need to issue iptables commands so that the router use ISP DNS IP's and then, depending on destination, route DNS requests to other IP's. The devices on the 192.168.2.0/24 network will all be wireless. Only the AP is connected by LAN and that interface has a static IP of 192.168.1.11/24. I created a second interface for WLAN with an IP of 192.168.2.1/24.
The end result is I can ping both interfaces from the ping tool in pfsense (which is 192.168.1.1/24), however I cannot ping 192.168.2.1/24 from a cmd line on a client. A test client connected to the 192.168.2.1/24 SSID gives a DHCP lease of 192.168.1.X/24. I want DHCP enabled on both routers, I'm assuming right now theyre fighting with each other to hand out leases?
Also, if you check my diagram, I do have 0.0.0.0/0 as a static route entry for pfSense, however pfSense only let's you add 0.0.0.0/1 in static routes. Which is odd to me, so I left it out.
Only other thing really to note is the AP on 192.168.2.1/24 is a TP-Link TL-WR902AC running OpenWRT.
Can anyone help? It's driving me insane!