* 192.168.2.33/24 & 192.168.2.33/29 on the same box
@ 2014-04-07 11:58 lejeczek
2014-04-07 12:57 ` /dev/rob0
0 siblings, 1 reply; 2+ messages in thread
From: lejeczek @ 2014-04-07 11:58 UTC (permalink / raw)
To: netfilter
hi everybody
I'm hoping an expert could help me, clarify this one for me,
should be simple I guess, probably not for a newbie like me
having on one system
physical eth 192.168.2.33/24
and a
bridge (only taps no phys) 192.168.2.33/29
I cannot get to anything behind 192.168.2.33/29 from
anything behind 192.168.2.33/24 (and vice versa)
each side can get respectively tofurther-out interface of
the 192.168.2.33
routing + forwarding I have it set up all I believe
is such a configuration even valid? should be, right?
I'm trying to understand subnet concept of, in this case
class C private net - is 192.168.2.33/29 still a part of
192.168.2.33/24 or it is a whole separate network.
regards
P.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 192.168.2.33/24 & 192.168.2.33/29 on the same box
2014-04-07 11:58 192.168.2.33/24 & 192.168.2.33/29 on the same box lejeczek
@ 2014-04-07 12:57 ` /dev/rob0
0 siblings, 0 replies; 2+ messages in thread
From: /dev/rob0 @ 2014-04-07 12:57 UTC (permalink / raw)
To: netfilter
On Mon, Apr 07, 2014 at 12:58:00PM +0100, lejeczek wrote:
> I'm hoping an expert could help me, clarify this one for me, should
> be simple I guess, probably not for a newbie like me
>
> having on one system
>
> physical eth 192.168.2.33/24
> and a
> bridge (only taps no phys) 192.168.2.33/29
When you're going to bridge an interface, you assign it "0.0.0.0/0"
(which is to bring it up.) Then you assign an IP address to the
bridge.
No time to look it up for you right now, but I believe the brctl(8)
manual should cover this.
> I cannot get to anything behind 192.168.2.33/29 from anything
> behind 192.168.2.33/24 (and vice versa)
Broken bridge, I guess.
> each side can get respectively tofurther-out interface of the
> 192.168.2.33 routing + forwarding I have it set up all I believe
>
> is such a configuration even valid? should be, right?
>
> I'm trying to understand subnet concept of, in this case class C
Do yourself a favor: totally forget about "class".
> private net - is 192.168.2.33/29 still a part of 192.168.2.33/24
> or it is a whole separate network.
It is indeed a part. To turn those addresses into valid CIDR
expressions, change the last quads to be the network address:
1. 192.168.2.33/29 becomes 192.168.2.32/29
This includes IP addresses 192.168.2.32 through .39
2. 192.168.2.33/24 becomes 192.168.2.0/24
This includes IP addresses 192.168.2.0 through .255
--
http://rob0.nodns4.us/
Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-07 12:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-07 11:58 192.168.2.33/24 & 192.168.2.33/29 on the same box lejeczek
2014-04-07 12:57 ` /dev/rob0
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).