Mor_gath
October 11th, 2003, 09:08
Hello there, I have a strange problem I'm having problem solving.

I have a 3com officeconnect 11g(802.11g) wireless AP with an 100mgb full duplex rj45 uplink connection, the ap has an static ip 192.168.1.1/24 .

a windows client with a 54mgb pci wireless card also with an static ip 192.168.1.1/24

I get 1 ip from my isp by dhcp.

My topology is:
adslmodem->switch->obsd3.3_gateway->switch->wirelessAP

The problem I have is that the gateway can not talk(ping) to the ap for some odd reason.
I'm not running any encroption at the moment on the ap. But the ap should be transperant for any computers connected to it's uplink port right ?
pf.conf
[code:1:f850650804]
exit_if="dc0"
int_if="xl0"
protected="192.168.1.1/24"
nat on $exit_if from $protected to any ->($ext_if)

pass in all
pass out all
[/code:1:f850650804]

dc0 is set to get ip from dhcp
xl0 has 192.168.1.1 255.255.255.0

thnx for any inputs.

Kernel_Killer
October 11th, 2003, 12:27
It actually won't talk to the AP. Make sure that the wireless NIC and AP don't have the same IP. Set them static if you need. On the wireless client, make the gateway the IP of the NIC on the OpenBSD box. I had this problem with my AP. You don't actually use AP's as gateways. Just links to the gateway, I take it dc0 and xl0 are both in the OpenBSD box? If so, here is what you should set it to:

dc0; DHCP addy via DSL
xl0: 192.168.1.1

3com AP: 192.168.1.2
gateway: 192.168.1.1

Wireless Client: 192.168.1.3
gateway: 192.168.1.1

All DNS IPs pointing to ISP DNS servers

Mor_gath
October 11th, 2003, 15:55
alredy have it set up like that the ap has 192.168.1.2 and my wireless client has 192.168.1.4.
What I can't get my head around is why the AP which is really a transparent bridge can not resolve the traffic from my gateway.

not a firewall question but if I where to have a cable from xl0(int_if) directly to the AP does it have to be a straight or twisted cable ?

thnx.

bsdjunkie
October 11th, 2003, 20:30
the ap has an static ip 192.168.1.1/24 .

a windows client with a 54mgb pci wireless card also with an static ip 192.168.1.1/24


you cant have two nics with identical addresses.

Kernel_Killer
October 11th, 2003, 22:19
Can you ping the AP? Since it's connected to a NIC on the OBSD box, you need to use a crossover cable.

Just noticed your name. Did you just change it? Anyways. how's it going Mor_gath? :D