Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

multiple ip addresses on one vlan (cisco 1801)

Posted on 2011-09-22
2
Medium Priority
?
597 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 26

Accepted Solution

by:
Soulja earned 2000 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
Microsoft has released remote PowerShell capabilities to all commercial Office 365 customers. So you can be controlled via PowerShell and not from the Office 365 admin center Download Windows PowerShell Module for Lync Online http://www.micros…
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…
Suggested Courses

604 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