From: Grant <emailgrant@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Assigning an IP in AP mode
Date: Sat, 13 Aug 2011 20:42:10 -0700 [thread overview]
Message-ID: <CAN0CFw2SUWzMVm9tDNspN=BYQ_PGKazZd9aABHC8DYMVZ4TosQ@mail.gmail.com> (raw)
In-Reply-To: <loom.20110813T172753-284@post.gmane.org>
>> > BTW, can I assign IP addresses on the same subnet to the 2 wireless
>> > interfaces in my system if one of them connects to the WAN and the
>> > other to the LAN?
>
> Yes and no. (see below).
>
>> You probably don't want to do that. It will give you two connected
>> routes for the subnet, and only the one with the better metric will be
>> used, so you wont be able to communicate with hosts on the other
>> interface. You could probably setup bridging, but IMO it would almost
>> certainly be better to just use different subnets.
>
> YES; Depending on how your "subnet" and what netmask(s) you use. Routinely
> a given class C (for example) is broken down to more smaller
> address spaces (subnets) and not the x.x.x.0-255 range of a
> typical class C addressing scheme.
>
> Avoid asymmetrical routing:
> https://my.stonesoft.com/support/document.do?docid=1377
>
> You need to read up on this and understand things before getting
> fancy on subnets. Router jocks do this all day, every day. Cisco
> use to have some fabulous docs on the net, but I do not think
> they are available any more without a support contract.
> I.E. typically folks subnet on the class C boundary
> (for example; 192.168.44.x) as it is cleaner and easier
> to configure. But if you break down a Class C to smaller subnets,
> actually they are different subnets, so the real answer is
> NO, unless you want routing instability or want to use ugly hacks,
> or handle by the port/service with something like netfilter/bridging/etc.
>
> There are tools on the net to help you figure out how to break down
> a typical Class C network, to various smaller subnets.
>
>
> hth,
> James
Got it, thank you James.
- Grant
next prev parent reply other threads:[~2011-08-14 3:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-12 2:11 [gentoo-user] Assigning an IP in AP mode Grant
2011-08-12 4:29 ` Adam Carter
2011-08-13 15:43 ` [gentoo-user] " James
2011-08-14 3:42 ` Grant [this message]
2011-08-14 3:41 ` [gentoo-user] " Grant
2011-08-15 1:45 ` Adam Carter
2011-08-15 3:38 ` Grant
2011-08-15 3:55 ` Adam Carter
2011-08-15 23:36 ` Grant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAN0CFw2SUWzMVm9tDNspN=BYQ_PGKazZd9aABHC8DYMVZ4TosQ@mail.gmail.com' \
--to=emailgrant@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox