I'm trying to connect one computer to two others in an ad-hoc infrastructure.
[computer 1] ---- [computer 2] ---- [computer 3]
computer 2 is running Linux and has a single NIC
wlan0. I want to it to connect to both
computer 1 and
computer 3 so each computer can talk to the other. No switch is available so it needs to be an ad-hoc setup.
What I was thinking was:
[computer 1] wlan0: 192.168.1.1 [computer 2] wlan0: 192.168.1.2 wlan1: 192.168.1.3 [computer 3] wlan0: 192.168.1.4
For this exmaple,
computer 2 can be the 'access point' for the others.
[computer 2] iwconfig wlan0 essid adhoc1 mode ad-hoc iwconfig wlan1 essid adhoc2 mode ad-hoc
The other computers could then connect to
computer 2 and I'd have a network.
Is this possible? If so, are there any problems that will arise from doing this?