Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP Address conflict 1

Status
Not open for further replies.

180990

MIS
Jul 12, 2000
51
CA
I've created 2 VLan's when I try to assign IP's to VLan's I get message
Cannot modify settings
Duplicate/nested IP Address

Here is what I'm doing:

enable
config terminal
interface vlan 102
ip address 10.2.102.1 255.255.0.0
ip dhcp-relay mode dhcp
exit

interface vlan 202
ip address 10.2.202.1 255.255.0.0
And this where I get that message

Any ideas????

 
Based on the 16 bit subnet mask, those networks overlap.

10.2.202.1 is part of the 10.2.0.0 network when using a 16 bit mask. You'd need to adjust your subnet mask in order to route between those VLANs.

10.2.101.1/255.255.255.0 and 10.2.202.1/255.255.255.0 would be one way to do it.
 
Thanks biv343 for your help, great tip

I have another one to crack. I've setup my vlan's as you suggested, but how do I get my switch talking to my CISCO router which is the default gateway for my network?

Second how do I configure my switch so I can access it through the web, JDM intrface over the network?

Thanks in advance

 
I guess the real question is will the Cisco router be routing between the VLANs, or will the switch be routing? What model switch do you have?

To access it via JDM or web, you'd have to pick one of the VLANs as a management VLAN. If you want VLAN 102 to be the management VLAN, you can enter the following at the CLI:

vlan management 102

If you want to use SNMP, enter 'snmp enable' in the CLI. The default read/write communities can be used until you change them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top