LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-16-2010, 06:37 AM   #1
kopatops
Member
 
Registered: Mar 2010
Distribution: Arch Linux
Posts: 45
Blog Entries: 1

Rep: Reputation: 16
Can one associate a wireless interface with multiple access points?Get multiple IP's?


I gave the procedure of connecting to wifi a thought.

"Associate wlan0 with an access point - defined by [essid 'foobar', MAC
01:23:34:... ] or by other means (insert here)"

Seems to mean that with all subsequent commands executed on the
interface (in this case wlan0) it is understood that the access point
(when obviously needed) is the one with essid 'foobar'.

This association takes place on the client side and is not necessarily
known by the access point provider. (T?) In fact, it *should* perhaps not be
known by it. (T?)

Now, when a dhcp client (e.g. dhcpcd) is executed with wlan0 as the
specified interface, and wlan0 is associated with access point 'foobar',
then the request/broadcast for an IP lease is directed towards 'foobar'
and nothing else.

Therefore, associating with an access point is not the same as
connecting to it.
Anyone can associate any working wireless interface with any access
point. Getting an IP adress from or through said access point is what
requires a handshake between AP and client (in many cases a WPA
handshake, in other cases (read unencrypted) one just asks for it).

Client side wireless tools and applications know where to negotiate a
handshake and ask for an IP, when an access point is associated to the
interface.

Therefore, this step is really necessary for wireless connections, where
e.g. asking the outside world for an IP really is an ambiguous specification.

You: "Ask for an IP." dhcpcd: "Ask what for an IP? I have 10 choices
ffs. Want 10 IP adresses on the interface? Stupid. "

Whereas for wired connections it's usually not.

You "Ask anyone for an IP." dhcpcd: "No sweat! There's only one wire going in. And therefore only one server.(T?)"

Question: Can one associate an interface to multiple access
points*?

a) wireless access points?
b) wired access points? (by dual ethernet cables or dual ethernet cards)

Last edited by kopatops; 06-16-2010 at 06:44 AM.
 
Old 06-16-2010, 04:56 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
You can do something like this... http://www.instructables.com/id/How-...22splitter%22/ but I don't think that's what you're interested in. There are usually 1 ip per interface... but you can put additional ips on the nic via aliases so:
Code:
eth0:  12.34.56.78
eth0:0 12.34.56.79
eth0:1 12.34.56.80
eth1   98.76.54.32
eth1:0 98.76.54.31
I've not used any wireless adapters that would allow multiple associations at once.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with multiple broadcasting access points dma8hm1956 Slackware 5 05-19-2010 07:30 PM
Wicd gets confused (?) with multiple access points with the same SSIDs. mslzr Linux - Wireless Networking 2 09-26-2009 10:55 AM
Debian: Bridge with multiple wireless access points Ach! Im *nux dumb! Linux - Wireless Networking 1 04-22-2006 02:57 PM
Set up Windows network with multiple access points newuser455 General 8 02-02-2005 05:12 PM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - Software 0 06-19-2003 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration