Solved

multiple ip addresses on one vlan (cisco 1801)

Posted on 2011-09-22
2
588 Views
Last Modified: 2012-05-12
I have a need to assign 2 ip addresses to VLAN1 on a cisco 1801.  Is this possible?

I need to createn a MS VM which will have one NIC with IP addresses is separate subnets.
VM addresses:  10.1.1.1 /24    &    192.168.1.1 /24

I need to configure VLAN1 on the 1801 with the following addresses:
10.1.1.254 /24    &    192.168.1.254 /24

I can't do this using multiple VLANs because even if the VM supports tagging, it only has one NIC.

Cheers, Andy
0
Comment
Question by:andrewprouse
2 Comments
 
LVL 26

Accepted Solution

by:
Soulja earned 500 total points
ID: 36580960
Well, you could do multiple vlans. You would create change the port connecting to the VM nic to a trunk instead of access port. Anyway you can just add a secondary address to interface VLAN1

interface vlan 1
ip address 10.1.1.254 255.255.255.0
ip address 192.168.1.254 255.255.255.0 secondary
0
 

Author Closing Comment

by:andrewprouse
ID: 36581030
That's the command I was looking for!  'secondary'   Fantastic!

I did try changing the port to a trunk but I need the host to support VLAN tagging for that to work.  And even though the VM does support tagging, it can only tag 1 VLAN at a time, and as I'm trying to belong to 2 vlans at the same time (multiple IPs on one NIC) this wouldn't work.

Thank you...much appreciated :)
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Experts-Exchange users below are the steps you can follow to upgrade your Lync server to latest CU's or cumulative updates. Note: Perform it during non-production hours.   Step 1: Backup your lync and SQL server database. Follow below article: h…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
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…

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now