adding multiple subnets to the same VLAN

adding multiple subnets to the same VLAN

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
adding multiple subnets to the same VLAN Chuck 10-06-2005
Posted by Chuck on October 6, 2005, 6:59 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
I think this is OK, but I wanted to run it past a few pros first.

I have an interface that looks like this:

interface GigabitEthernet0/0
description Cisco 3845
no ip address
duplex full
speed 100
media-type rj45
negotiation auto
!
interface GigabitEthernet0/0.1
description HP Management VLAN
encapsulation dot1Q 1 native
ip address 10.10.5.1 255.255.255.0
no snmp trap link-status
no cdp enable
!
interface GigabitEthernet0/0.2
description Primary Data VLAN
encapsulation dot1Q 2
ip address 10.20.5.1 255.255.255.0
no snmp trap link-status
no cdp enable
!

On VLAN 2, I am running out of address on that class C network. I want
to add another class C to the same VLAN. I assume I can add a secondary
address to the same VLAN to look like

interface GigabitEthernet0/0.2
description Primary Data VLAN
encapsulation dot1Q 2
ip address 10.20.5.1 255.255.255.0
ip address 10.21.5.1 255.255.255.0 secondary
no snmp trap link-status
no cdp enable

Is this an acceptable method? Or have I crossed to the dark side.

Thanks,
Chuck



Posted by Scooby on October 7, 2005, 8:18 am
If you were  Registered and logged in, you could reply and use other advanced thread options
>I think this is OK, but I wanted to run it past a few pros first.
>
> I have an interface that looks like this:
>
> interface GigabitEthernet0/0
> description Cisco 3845
> no ip address
> duplex full
> speed 100
> media-type rj45
> negotiation auto
> !
> interface GigabitEthernet0/0.1
> description HP Management VLAN
> encapsulation dot1Q 1 native
> ip address 10.10.5.1 255.255.255.0
> no snmp trap link-status
> no cdp enable
> !
> interface GigabitEthernet0/0.2
> description Primary Data VLAN
> encapsulation dot1Q 2
> ip address 10.20.5.1 255.255.255.0
> no snmp trap link-status
> no cdp enable
> !
>
> On VLAN 2, I am running out of address on that class C network. I want
> to add another class C to the same VLAN. I assume I can add a secondary
> address to the same VLAN to look like
>
> interface GigabitEthernet0/0.2
> description Primary Data VLAN
> encapsulation dot1Q 2
> ip address 10.20.5.1 255.255.255.0
> ip address 10.21.5.1 255.255.255.0 secondary
> no snmp trap link-status
> no cdp enable
>
> Is this an acceptable method? Or have I crossed to the dark side.
>
> Thanks,
> Chuck
>

Chuck,

Technically, this will work. However, a better means of doing this would be
somthing like:

ip address 10.20.5.1 255.255.254.0

This would give you a supernet of 10.20.4.1-10.20.5.254

You'd have to change the subnet mask on the workstations, but it makes for a
better solution. And, actually, you have 2 more available addresses than
the multiple subnets method.

Hope that helps,

Jim





Posted by Chuck on October 7, 2005, 6:24 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Yes, that will work great. Thank you.



Similar ThreadsPosted
pix and multiple subnets April 28, 2005, 11:47 pm
Pix-501: Multiple subnets on a LAN w/o router? October 10, 2005, 3:43 pm
OSPF adjacency problem while adding multiple routes. January 9, 2007, 10:13 pm
Browsing computers in multiple subnets - not working April 28, 2005, 10:30 am
PIX 515e - Static NAT with multiple public subnets October 26, 2005, 7:37 am
PIX VPN mesh with acess to multiple subnets at one of the sites? June 16, 2006, 8:44 am
Vlan Subnets August 23, 2004, 1:17 am
Multiple NET's on same vlan? December 5, 2004, 8:02 pm
multiple ip's on vlan interface? July 18, 2006, 11:49 am
cascade switches multiple VLAN May 7, 2008, 11:23 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map