Solved

multiple ip addresses on one vlan (cisco 1801)

Posted on 2011-09-22
2
584 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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 …
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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…

772 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

11 Experts available now in Live!

Get 1:1 Help Now