Networking Forums

Networking Forums > Computer Networking > Linux Networking > Simple netmask question

Reply
Thread Tools Display Modes

Simple netmask question

 
 
El CiD
Guest
Posts: n/a

 
      10-12-2007, 02:23 AM
Hello,

I will be setting up a cisco site to site vpn for the first time. I
will attempt at creating two sites connecting to the main office. In
order for the site to site vpn to work among site, I will need to have
a different subnet per tunner.

My idea is the following.

1st site.


Address: 172.16.0.1
Netmask: 255.255.255.0
Wildcard: 0.0.0.255

= 254 hosts

site 2



Address: 172.16.0.2

Netmask: 255.255.255.128
Wildcard: 0.0.0.127

= 126 hosts


Address: 172.16.0.3

Netmask: 255.255.255.192 = 26
Wildcard: 0.0.0.63
Hosts/Net: 62



Am I correct to say that this setup will meet cisco requirement for
separate subnet masks? even although the ip addressing is similar?

I went from a site with 254 hosts to site 2 with 126 down to site 3
with 62 hosts. Each site has a distintive subnet mask. I would like
to keep each site ip addressing similar as its easy to remenber. Site
1 ends with .1 site two with .2 and site 3 with .3


and please pardon my newbiness. I am trying to understand it all as I
go.

thank you.

 
Reply With Quote
 
 
 
 
Chris
Guest
Posts: n/a

 
      10-12-2007, 09:58 PM
On Fri, 12 Oct 2007 02:23:47 GMT, El CiD wrote:

> Hello,
>
> I will be setting up a cisco site to site vpn for the first time. I
> will attempt at creating two sites connecting to the main office. In
> order for the site to site vpn to work among site, I will need to have
> a different subnet per tunner.
>
> My idea is the following.
>
> 1st site.
>
>
> Address: 172.16.0.1
> Netmask: 255.255.255.0
> Wildcard: 0.0.0.255
>
> = 254 hosts
>
> site 2
>
>
>
> Address: 172.16.0.2
>
> Netmask: 255.255.255.128
> Wildcard: 0.0.0.127
>
> = 126 hosts
>
>
> Address: 172.16.0.3
>
> Netmask: 255.255.255.192 = 26
> Wildcard: 0.0.0.63
> Hosts/Net: 62
>
>
>
> Am I correct to say that this setup will meet cisco requirement for
> separate subnet masks? even although the ip addressing is similar?
>
> I went from a site with 254 hosts to site 2 with 126 down to site 3
> with 62 hosts. Each site has a distintive subnet mask. I would like
> to keep each site ip addressing similar as its easy to remenber. Site
> 1 ends with .1 site two with .2 and site 3 with .3
>
>
> and please pardon my newbiness. I am trying to understand it all as I
> go.
>
> thank you.


You're addressing doesn't make much sense! .1, .2 and .3 aren't valid
network addresses for those netmasks.

172.16.0.1 mask 255.255.255.0 is an IP address in the 172.16.0.0 /24
network (172.16.0.0 to 172.16.0.255)

172.16.0.2 mask 255.255.255.128 is a host in the 172.16.0.0 /25 network
(172.16.0.0 to 172.16.0.127)

172.16.0.3 mask 255.255.255.192 is a host in the 172.16.0.0 /26 network
(172.16.0.0 to 172.16.0.63).

As you can see, these all have overlapping addresses and so would be
difficult to use in a VPN situation without employing NAT.

Why not keep it simple and use ..

Site 1 172.16.1.0 /24
Site 2 172.16.2.0 /24
Site 3 172.16.3.0 /24

Chris.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic netmask question. Please help a noobie out. El CiD Windows Networking 4 10-12-2007 01:48 PM
simple question Mindy Wireless Internet 7 02-02-2006 08:36 PM
Iprange and netmask explanation question A. Loonstra Linux Networking 5 09-20-2005 08:24 AM
DHCP question: How to specify a static route _with_ netmask? Ramon F Herrera Linux Networking 3 07-29-2004 03:04 PM
Simple question re LAN Dave Broadband 5 01-06-2004 07:49 AM



1 2 3 4 5 6 7 8 9 10 11