?
Solved

multiple ip addresses on one vlan (cisco 1801)

Posted on 2011-09-22
2
Medium Priority
?
595 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

Industry Leaders: 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

The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
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

771 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