Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Problems With VLAN on Cisco 3800 Series Router....

Posted on 2006-04-24
3
Medium Priority
?
1,014 Views
Last Modified: 2008-01-09
We tried to split up our network so that each subnet got 60 usable IP's when they hook up.  I noticed that every VLAN we assigned .191 to, the router said it was a bad mask for it.  Example of the config:

interface GigabitEthernet0/0.5
 encapsulation dot1Q 5
 ip address 10.0.1.1 255.255.255.192
 ip nat inside
 no snmp trap link-status
 no cdp enable
interface GigabitEthernet0/0.6
 encapsulation dot1Q 6
 ip address 10.0.1.65 255.255.255.192
 ip nat inside
 no snmp trap link-status
 no cdp enable
interface GigabitEthernet0/0.7
 encapsulation dot1Q 7
 ip address 10.0.1.129 255.255.255.192
 ip nat inside
 no snmp trap link-status
 no cdp enable
interface GigabitEthernet0/0.8
 encapsulation dot1Q 8
 ip address 10.0.1.191 255.255.255.192
 ip nat inside
 no snmp trap link-status
 no cdp enable
interface GigabitEthernet0/0.9
 encapsulation dot1Q 9
 ip address 10.0.2.1 255.255.255.192
 ip nat inside
 no snmp trap link-status
 no cdp enable
interface GigabitEthernet0/0.10
 encapsulation dot1Q 10
 ip address 10.0.2.65 255.255.255.192
 ip nat inside
 no snmp trap link-status
 no cdp enable
interface GigabitEthernet0/0.11
 encapsulation dot1Q 11
 ip address 10.0.2.129 255.255.255.192
 ip nat inside
 no snmp trap link-status
 no cdp enable
interface GigabitEthernet0/0.12
 encapsulation dot1Q 12
 ip address 10.0.2.191 255.255.255.192
 ip nat inside
 no snmp trap link-status
 no cdp enable
interface GigabitEthernet0/0.13
 encapsulation dot1Q 13
 ip address 10.0.3.1 255.255.255.192
 ip nat inside
 no snmp trap link-status
 no cdp enable

People with the gateway of .1 would use .2-.62 and the people with .65 as a gateway will get .66-.126 and the people with .129 as a gateway will get .130-.190 and the people with .191 should get .192-.252  

Unfortunately the router won't allow that....When I input:
 ip address 10.0.1.191 255.255.255.192
I get a problem telling me bad mask.

Any ideas how to easily cure this?  
0
Comment
Question by:lttech
  • 2
3 Comments
 
LVL 50

Accepted Solution

by:
Don Johnston earned 2000 total points
ID: 16524458
The first IP address for the 10.1.1.192 network should be 10.1.1.193

With a .192 mask, a .191 address is for broadcast.

So the IP address of your default-gateway should be 10.1.1.193

-Don
0
 

Author Comment

by:lttech
ID: 16524557
Don,

Would that work for .193 - .253 without a problem?
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 16524625
Not sure I understand the question, but...

The IP address ranges would be:

Network      First Address        Last Address
.0                  .1                         .62
.64                .65                       .126
.128              .129                      .190
.192              .193                      .254

-Don
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question