Mailinglist Archive: opensuse (3378 mails)

< Previous Next >
RE: [SLE] Subnet mask settings....
  • From: "Michael Garabedian" <mikejr@xxxxxxxxxxxxxxx>
  • Date: Fri, 12 Apr 2002 15:06:36 -0400
  • Message-id: <002701c1e255$2b55def0$1800000a@xxxxxxxxxxxxxxxxxxxx>
Ok, let me re define the situation.

I have two networks going to the same isp through an 8 port hub, two
firewalls connecting two separate networks that are exact clones of each
other in every way except two domain name and ip
One network is 10.0.0.0 with a subnet of 255.255.255.0
The other is 10.10.0.0 would the subnets be the same,
How about if I wanted them both to connect to one firewall, would I just
set up a rule in iptables to masq the addresses from the separated
firewall, how about if I just wanted everything to go through the
10.0.0.0 network to the internet. I thought the second 10 in 10.10.0.0
would cause the subnet to change. But if the subnets are the same in
two networks does that mean they can communicate without the use of a
router.

-----Original Message-----
From: Ewan Leith [mailto:ewan@xxxxxxxxxxxxx]
Sent: Friday, April 12, 2002 2:11 PM
To: john@xxxxxxxxxxx
Cc: suse-linux-e@xxxxxxxx; Gideon Hallett
Subject: Re: [SLE] Subnet mask settings....


You are right, ive not been paying attention to this thread, but though
2 IPs with those subnet masks are on the same 9 bit subnet.

The whole subnet will consist of 10.0.0.0-10.0.1.255

What he wants is a normal Class C subnet.

Ewan

On Fri, 2002-04-12 at 18:54, John Higgins wrote:
> >
> >First network 10.0.0.0 255.255.254.0
> >Second network 10.0.1.0 255.255.254.0
> >
>
> In no way do I mean to sound rude - but isn't that completely wrong?

Doesn't the above subnet mask mean that those addresses are on the same
subnet?
If the subnet mask ends at the 23rd binary digit then 10.0.0.x and
10.0.1.x are in the same subnet - the first 23 binary digits are
00001010 00000000 0000000 - and doesn't that mean they both exist within
the same host area of the last 9 binary digits? Wouldn't you need a
255.255.255.0 subnet mask in this case?
This looks awfully similar to 2 class C networks and all class C's have
255.255.255.0 as the subnet mask.
>
> John W Higgins
> john@xxxxxxxxxxx
>
> --
> To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx

> Also check the archives at http://lists.suse.com
>



< Previous Next >
Follow Ups
References