[TriLUG] Using two wireless adapters for two networks
Matt Flyer via TriLUG
trilug at trilug.org
Mon Oct 26 16:09:39 EDT 2015
The 0.0.0.0 route would be the default gateway (0.0.0.0 meaning all
routes) and you only want this set on one of the interfaces, i.e. the one
that you want as your outside world / internet connection.
The secondary (USB) interface should just have an address and mask, but no
gateway.
The common machine will be able to communicate with both ranges, but by
default the two won't be ale to talk to each other. If that functionality
is desired, you can turn on the ip forwarding and then use iptables to
create a masquerade rule between the two interfaces. So, if for example,
the device on second the USB interface needed to phone home for updates,
you would do this to allow it to share the internet gateway.
> I don't know much about configuring NetworkManager, but you should be able
> to check your configuration with `route -n` in the command line.
>
> If it's setup right, it should tell you that destination:
>
> - 0.0.0.0 has a gateway and goes through the integrated iface (wlan0?)
> - your second, private range has a gateway of 0.0.0.0 and goes through
> the second interface
>
>
> On Sat, Oct 24, 2015 at 1:04 PM, Matthew Frazier via TriLUG <
> trilug at trilug.org> wrote:
>
>> Hello, TriLUGgers,
>>
>> I have some hardware I'd like to connect to that has an integrated
>> wireless access point. I'd like to connect to it with a USB wireless
>> interface and communicate with it on its IP range (say, 192.168.1.1/24),
>> while still being able to access the rest of the Internet on my
>> computer's integrated wireless card. Can anyone explain how to set this
>> up using NetworkManager (or, at least, in a way that won't confuse
>> NetworkManager)?
>>
>> On that note, can anyone recommend an inexpensive USB wireless-N adapter
>> that works out of the box on recent Linux distros?
>>
>> Thanks,
>> Matthew Frazier
>> --
>> This message was sent to: David Landry <david.landry at duke.edu>
>> To unsubscribe, send a blank message to trilug-leave at trilug.org from
>> that
>> address.
>> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
>> Unsubscribe or edit options on the web :
>> http://www.trilug.org/mailman/options/trilug/david.landry%40duke.edu
>> Welcome to TriLUG: http://trilug.org/welcome
> --
> This message was sent to: Matt Flyer <matt at noway2.thruhere.net>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
> address.
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web :
> http://www.trilug.org/mailman/options/trilug/matt%40noway2.thruhere.net
> Welcome to TriLUG: http://trilug.org/welcome
More information about the TriLUG
mailing list