Solved

Configuring  2 or more IP's on virtual interface

Posted on 2014-07-24
6
228 Views
Last Modified: 2014-09-25
Is it possible to have a virtual interface on a layer 3 switch have more than 1 IP assigned to it?

For example, I'm merging multiple VLAN's together to be 1 VLAN, but a couple of these VLAN's have some devices that are set statically. I'm changing the IP ranges these networks were on so that the new subnet includes all of the old addresses.

For example, one vlan was 192.168.10.1 / 24 and another one was 192.168.11.1 / 24

I'm changing my addressing so I will now have 192.168.8.1 / 22, but I have devices statically assigned in the 11.1 /24 subnet that have a gateway of 11.1. I'm keeping the 192.168.10.1 network / vlan, I'm just chaning it's mask to a /22 rather than /24. So my new range will be 192.168.8.1 - 192.168.11.1. I was going to leave the gateway as it was on that virtual interface so it will stay the same at 192.168.10.1, and I just have to update my DHCP scope with the new mask. However, I have quite a few static devices on 11.1 / 24 currently that point to 11.1 as their gateway. When I modify this virtual interface to go from 192.168.10.1 /24 to /22 is there a way I can have a second IP on that virtual interface as 11.1 so my devices in that IP range will continue to work until we are able to get to all of them to change the gateway?

Or is there a easier way to do this and I'm over thinking guess? I'm just trying to figure out what's the easiest way to allow my devices with static IP's to continue to work till we can change their gateway?
0
Comment
Question by:themightydude
[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
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:Sid6_7
ID: 40218498
I am wondering if this could work with subinterfaces on the switch. If the switch has that option. I think i tried doing this a long time ago, but dont recall if it was successful or not. Any other expert can shed some light?
0
 
LVL 4

Author Comment

by:themightydude
ID: 40218504
If this helps any, our virtual interfaces are all setup on our core switch which is a Brocade FastIron SX800.
The IDF switches are the FastIron GS series switches.
0
 
LVL 9

Accepted Solution

by:
Sandeep Gupta earned 500 total points
ID: 40218632
Yes you can put second IP address on virtual interface as 'secondary'

int vl 1
ip address <<primary ip>> <<mask>>
ip address <<secondary ip >> <<mask>> secondary

remember: DHCP will only switch on to secondary when primary hosts are exhausted..or else you completely remove primary.
0
Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

 
LVL 4

Author Comment

by:themightydude
ID: 40219564
Ok cool..so I should be able to to have my primary IP of 192.168.10.1 /22 as the IP for that virtual interface, then have 192.168.11.1 / 22 as a secondary IP on that same virtual interface.
0
 
LVL 9

Expert Comment

by:Sandeep Gupta
ID: 40238490
your

192.168.10.1 /22  & 192.168.11.1 /22 falls int the same subnet of 192.168.8.0 /22 then what makes sense to have primary or secondary..if you have only primary 192.168.10.1 /22 it will automatically takes IPs till 192.168.11.0 /22
see this:

Calculation results

Address

192.168.8.1

11000000.10101000.00001000.00000001


Netmask

255.255.252.0 = 22

11111111.11111111.11111100.00000000


Wildcard

0.0.3.255

00000000.00000000.00000011.11111111

 

Network

192.168.8.0/22

11000000.10101000.00001000.00000000

Class C


Broadcast

192.168.11.255

11000000.10101000.00001011.11111111


First IP

192.168.8.1

11000000.10101000.00001000.00000001


Last IP

192.168.11.254

11000000.10101000.00001011.11111110


Hosts/Net

1022

nnnnnnnn.nnnnnnnn.nnnnnnhh.hhhhhhhh
Private
0
 
LVL 4

Author Comment

by:themightydude
ID: 40344918
Sorry for staying away from this for so long.

I was able to do the primary and secondary on the core swithces and it worked perfectly.
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Building small business network 4 119
Fortigate 100D NTP Issue 4 209
need to find out what ip address is of dell switch 7 61
Ping general failure windows 7 5 127
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

737 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