[kwlug-disc] IP addresses and gateways--my google-fu seems to be lacking

R. Brent Clements rbclemen at gmail.com
Thu Jan 16 14:05:26 EST 2014


Separate subnets is what I am trying to do,  This device is connected
to my home router via WiFi on the .1.0 network, and via the ethernet
port to the bedroom network which is the .10.0 network.  My
Eth-over-power device used to make the connection but it died.  I did
do this once before, but I can't remember how I did it.  Right now I
*think* I have iptables configured correctly.  But the wireless link
that does provide the internet connection when the ethernet link is
disconnected stops doing so when it is.  I think that is the last
thing I need to solve.  It seems like internet traffic is refusing to
use the wireless link when the wired one is connected, even tho there
is no route to the internet.

Brent

On Thu, Jan 16, 2014 at 1:54 PM, CrankyOldBugger
<crankyoldbugger at gmail.com> wrote:
> Maybe I missed something, but why are you using 192.168.10.1 with subnet
> mask 255.255.255.0, when the rest of the network is 192.168.1.0?  That ".10"
> is throwing you off if you're using a /24 subnet.
>
> Technically speaking, unless you use route tables something on the
> 192.168.10.0 subnet won't talk to something on the 192.168.1.0 if the subnet
> mask is 255.255.255.0 (i.e. /24).  You could try changing everything to SM
> 255.255.0.0 (/16) but that can be risky also.  Much easier if you have all
> of your devices on the same 192.168.1.0 (or you could even flip everybody
> over to 172.16.x.x/16, or 10.x.x.x/8)
>
> _Ideally_ the gateway is the address of the router (the "inside" port),
> usually 192.168.1.1 or .0.1.  Exceptions to this rule come when you're
> running subnets all over the place, but that's probably more than you need
> for your installation.
>
>
>
> On 16 January 2014 13:32, <rbclemen at gmail.com> wrote:
>>
>> So the ip configuration for my lan side interface should be 192.168.10.1
>> with subnet mask 255.255.255.0 and gateway 192.168.1.65?
>> Sent from my BlackBerry device on the Rogers Wireless Network
>>
>> -----Original Message-----
>> From: Joe Wennechuk <youcanreachmehere at hotmail.com>
>> Sender: "kwlug-disc" <kwlug-disc-bounces at kwlug.org>
>> Date: Thu, 16 Jan 2014 13:30:08
>> To: kwlug-disc at kwlug.org<kwlug-disc at kwlug.org>
>> Reply-To: KWLUG discussion <kwlug-disc at kwlug.org>
>> Subject: Re: [kwlug-disc] IP addresses and gateways--my google-fu seems to
>>  be lacking
>>
>> The gateway is the one connected to the internet.
>>
>> ---------------------------------
>> > Date: Thu, 16 Jan 2014 13:18:13 -0500
>> > From: rbclemen at gmail.com
>> > To: kwlug-disc at kwlug.org
>> > Subject: [kwlug-disc] IP addresses and gateways--my google-fu seems to
>> > be lacking
>> >
>> > I was using an Ethernet-over-power device until a couple days ago when
>> > one end of it burned out. I am trying to configure my old netbook to
>> > connect wirelessly to the downstairs router (easy) and share the
>> > internet connection with the network of computers in my bedroom.
>> > Whenever I attach the network cable to the system I lose the internet.
>> > I can ping the ip address of both sides of the "router" computer, but
>> > nothing beyond that. I am using static ip addresses for the inner
>> > network in the 192.168.10 range, and the wireless address is
>> > 192.168.1.65 assigned dynamically from the wireless router downstairs.
>> >
>> > I am wondering what gateway address I need to assign to the lan-side
>> > eth0. I have followed the instructions on several sites about
>> > configuring iptables. It seems like the netbook is losing the
>> > internet when I have two interfaces active, even tho only one has an
>> > internet connection.
>> >
>> > Brent
>> >
>> >
>> > _______________________________________________
>> > kwlug-disc mailing list
>> > kwlug-disc at kwlug.org
>> > http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>>
>> _______________________________________________
>> kwlug-disc mailing list
>> kwlug-disc at kwlug.org
>> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>> _______________________________________________
>> kwlug-disc mailing list
>> kwlug-disc at kwlug.org
>> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>
>
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>





More information about the kwlug-disc mailing list