Solved

multiple ip addresses on one vlan (cisco 1801)

Posted on 2011-09-22
2
592 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

Title # Comments Views Activity
Not able to route between subnets 8 123
Fortigate 100D NTP Issue 4 110
using BGP Attributes 2 108
Problem to router 7 71
In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
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…

831 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