Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > overlapping IP networks in VLAN

Reply
Thread Tools

overlapping IP networks in VLAN

 
 
Rob
Guest
Posts: n/a
 
      03-04-2010
In a Cisco 877 (IOS 12.4(15)T11) there are two Vlan interfaces:

Vlan1 (default vlan) with ip address 172.26.1.1 mask 255.255.0.0

Now I would like to add a Vlan10
with ip address 172.26.16.1 mask 255.255.255.0

i.e. the Vlan10 is actually a subnet of the larger Vlan1 space.

The router refuses this assignment, complaining that the addresses
do overlap.
Of course this is true. But is it a real problem?
Systems on Vlan10 don't need to communicate with Vlan1, but both
Vlans are routed to another site over separate IPsec tunnels.

Is there a global config command that would allow this setup?
 
Reply With Quote
 
 
 
 
Mark Huizer
Guest
Posts: n/a
 
      03-04-2010
The wise Rob enlightened me with:
> In a Cisco 877 (IOS 12.4(15)T11) there are two Vlan interfaces:
>
> Vlan1 (default vlan) with ip address 172.26.1.1 mask 255.255.0.0
>
> Now I would like to add a Vlan10
> with ip address 172.26.16.1 mask 255.255.255.0
>
> i.e. the Vlan10 is actually a subnet of the larger Vlan1 space.
>
> The router refuses this assignment, complaining that the addresses
> do overlap.
> Of course this is true. But is it a real problem?
> Systems on Vlan10 don't need to communicate with Vlan1, but both
> Vlans are routed to another site over separate IPsec tunnels.
>
> Is there a global config command that would allow this setup?


Maybe you are looking for the wrong solution for a problem?

I don't think it is possible to work the way you want it, unless you
really seperate the networks (using stuff like vrf etc), but that might
not be fun and not much of a solution

What I would look at is:

* you can use vlan acls (vacl) to filter the traffic between 172.26.0.0/0
and 172.26.16.0/24 (is that possible in your situation? dunno about your
l2 environment).

* ipsec tunnels use an acl to decide what traffic goes into a tunnel. If
you have an acl that denies 172.26.16.0 and then allows 172.16.0.0 for
the one tunnel, and one that only allows 172.26.16.0 you have it worked
out for the ipsec tunnel

Mark
 
Reply With Quote
 
 
 
 
Rob
Guest
Posts: n/a
 
      03-04-2010
Mark Huizer <xaa+> wrote:
> The wise Rob enlightened me with:
>> In a Cisco 877 (IOS 12.4(15)T11) there are two Vlan interfaces:
>>
>> Vlan1 (default vlan) with ip address 172.26.1.1 mask 255.255.0.0
>>
>> Now I would like to add a Vlan10
>> with ip address 172.26.16.1 mask 255.255.255.0
>>
>> i.e. the Vlan10 is actually a subnet of the larger Vlan1 space.
>>
>> The router refuses this assignment, complaining that the addresses
>> do overlap.
>> Of course this is true. But is it a real problem?
>> Systems on Vlan10 don't need to communicate with Vlan1, but both
>> Vlans are routed to another site over separate IPsec tunnels.
>>
>> Is there a global config command that would allow this setup?

>
> Maybe you are looking for the wrong solution for a problem?


In Cisco IOS, you mean?
It works fine in other environments.
Maybe another numberplan would have been sturdier, but this is what
has evolved historically.

> I don't think it is possible to work the way you want it, unless you
> really seperate the networks (using stuff like vrf etc), but that might
> not be fun and not much of a solution


Ok

> What I would look at is:
>
> * you can use vlan acls (vacl) to filter the traffic between 172.26.0.0/0
> and 172.26.16.0/24 (is that possible in your situation? dunno about your
> l2 environment).
>
> * ipsec tunnels use an acl to decide what traffic goes into a tunnel. If
> you have an acl that denies 172.26.16.0 and then allows 172.16.0.0 for
> the one tunnel, and one that only allows 172.26.16.0 you have it worked
> out for the ipsec tunnel


It is not a problem to get the ipsec tunnels working.
(those are running over an ADSL line that is connected to the router)

What is "a problem" (I have a workaround but I still would like to get
the above working) is to have two different LAN segments, implemented
as two Vlans in the router config, that have addresses where one is a
small subnet of the other.

It is not a problem IP-technically. It is a check/restriction made
by IOS. I suspected that there might be some "ip magic-word" command
that disables this check (like you have "ip subnet-zero" and "ip classless").
 
Reply With Quote
 
Mark Huizer
Guest
Posts: n/a
 
      03-04-2010
The wise Rob enlightened me with:
> Mark Huizer <xaa+> wrote:
>
>> What I would look at is:
>>
>> * you can use vlan acls (vacl) to filter the traffic between 172.26.0.0/0
>> and 172.26.16.0/24 (is that possible in your situation? dunno about your
>> l2 environment).
>>
>> * ipsec tunnels use an acl to decide what traffic goes into a tunnel. If
>> you have an acl that denies 172.26.16.0 and then allows 172.16.0.0 for
>> the one tunnel, and one that only allows 172.26.16.0 you have it worked
>> out for the ipsec tunnel

>
> It is not a problem to get the ipsec tunnels working.
> (those are running over an ADSL line that is connected to the router)


That was not what I was trying to address. I was trying to address the
fact that you wanted the right traffic to take the right tunnel.

> What is "a problem" (I have a workaround but I still would like to get
> the above working) is to have two different LAN segments, implemented
> as two Vlans in the router config, that have addresses where one is a
> small subnet of the other.
>
> It is not a problem IP-technically. It is a check/restriction made
> by IOS. I suspected that there might be some "ip magic-word" command
> that disables this check (like you have "ip subnet-zero" and "ip classless").


Well, not as far as I can tell.

Mark
 
Reply With Quote
 
Rob
Guest
Posts: n/a
 
      03-05-2010
Mark Huizer <xaa+> wrote:
> The wise Rob enlightened me with:
>> Mark Huizer <xaa+> wrote:
>>
>>> What I would look at is:
>>>
>>> * you can use vlan acls (vacl) to filter the traffic between 172.26.0.0/0
>>> and 172.26.16.0/24 (is that possible in your situation? dunno about your
>>> l2 environment).
>>>
>>> * ipsec tunnels use an acl to decide what traffic goes into a tunnel. If
>>> you have an acl that denies 172.26.16.0 and then allows 172.16.0.0 for
>>> the one tunnel, and one that only allows 172.26.16.0 you have it worked
>>> out for the ipsec tunnel

>>
>> It is not a problem to get the ipsec tunnels working.
>> (those are running over an ADSL line that is connected to the router)

>
> That was not what I was trying to address. I was trying to address the
> fact that you wanted the right traffic to take the right tunnel.


No, that is not a problem. I know how to setup tunnels and how to
direct the traffic.

The one and only issue is how to setup two different (Vlan) interfaces
for the two kinds of traffic, where one is a small subnet of the other.

>> It is not a problem IP-technically. It is a check/restriction made
>> by IOS. I suspected that there might be some "ip magic-word" command
>> that disables this check (like you have "ip subnet-zero" and "ip classless").

>
> Well, not as far as I can tell.


Pity...
At other locations we use L3 switching with HP Procurve switches and
they accept this configuration without issue.

Why we want this: we have decided way in the past to use a 172.xx.0.0/16
subnet for each location of the company, and to use 172.xx.yy.0/24 ranges
for different kinds of devices (servers, printers, pcs etc). The
172.xx.16.0/24 subnet is used for VoIP phones. But those are on a
separate Vlan. It would be convenient to have this split made in the
router, but when Cisco cannot do that we can do it in the ProCurve
switch instead.
 
Reply With Quote
 
bod43
Guest
Posts: n/a
 
      03-05-2010
On 5 Mar, 08:21, Rob <nom...@example.com> wrote:
> Mark Huizer <xaa+news_comp.dcom.sys.ci...@dohd.org> wrote:
> > The wise Rob enlightened me with:
> >> Mark Huizer <xaa+news_comp.dcom.sys.ci...@dohd.org> wrote:

>
> >>> What I would look at is:

>
> >>> * you can use vlan acls (vacl) to filter the traffic between 172.26.0..0/0
> >>> and 172.26.16.0/24 (is that possible in your situation? dunno about your
> >>> l2 environment).

>
> >>> * ipsec tunnels use an acl to decide what traffic goes into a tunnel. If
> >>> you have an acl that denies 172.26.16.0 and then allows 172.16.0.0 for
> >>> the one tunnel, and one that only allows 172.26.16.0 you have it worked
> >>> out for the ipsec tunnel

>
> >> It is not a problem to get the ipsec tunnels working.
> >> (those are running over an ADSL line that is connected to the router)

>
> > That was not what I was trying to address. I was trying to address the
> > fact that you wanted the right traffic to take the right tunnel.

>
> No, that is not a problem. *I know how to setup tunnels and how to
> direct the traffic.
>
> The one and only issue is how to setup two different (Vlan) interfaces
> for the two kinds of traffic, where one is a small subnet of the other.
>
> >> It is not a problem IP-technically. *It is a check/restriction made
> >> by IOS. * I suspected that there might be some "ip magic-word" command
> >> that disables this check (like you have "ip subnet-zero" and "ip classless").

>
> > Well, not as far as I can tell.

>
> Pity...
> At other locations we use L3 switching with HP Procurve switches and
> they accept this configuration without issue.
>
> Why we want this: we have decided way in the past to use a 172.xx.0.0/16
> subnet for each location of the company, and to use 172.xx.yy.0/24 ranges
> for different kinds of devices (servers, printers, pcs etc). *The
> 172.xx.16.0/24 subnet is used for VoIP phones. *But those are on a
> separate Vlan. *It would be convenient to have this split made in the
> router, but when Cisco cannot do that we can do it in the ProCurve
> switch instead.


Cisco routers will not accept that configuration.

Except:-

Maybe you can achieve what you want with either
secondary addressing or HSRP.

int fa 1
ip address totally-fake-n-arbitrary mask
ip address 172.xx.10.0 255.255.255.0 secondary

or

int fa 1
ip address totally-fake-n-arbitrary mask
standby ... whatever .. I forget exactly

You need a designer with a clue.
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
WE BUY used, new and refurbed Cisco, Lucent, Nortel, Alcatel, Sun,3com, IBM, HP, Compaq, Dell, Madge, Cabletron, Juniper Networks, Bintec,Siemens, Foundry, Networks, Extreme Networks, Fore/Marconi, TellabsLucent/Avaya/Ascend, Xylogics, Brocade, Int Mike Cisco 0 12-09-2007 09:43 PM
vpn on 2811 with overlapping networks and all natting on one side Robby Cauwerts Cisco 2 11-27-2007 06:25 AM
WE BUY used, new and refurbed Sun, Cisco, Lucent, Nortel, Alcatel,3com, IBM, HP, Compaq, Dell, Madge, Cabletron, Juniper Networks, Bintec,Siemens, Foundry, Networks, Extreme Networks, Fore/Marconi, TellabsLucent/Avaya/Ascend, Xylogics, Brocade, Int buyonet@hotmail.com Computer Information 0 11-18-2007 04:18 PM
We Buy and Sell New, Used, Refurbished and New Open Box Cisco Systems, Extreme Networks, F5 Networks and Compaq equipment at up to 90% off list! burke.bruce@gmail.com Cisco 1 10-16-2006 10:51 AM
LAN-to-LAN with Overlapping networks and PAT Siddhartha Jain Cisco 0 03-31-2005 05:55 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57