• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 9041
  • Last Modified:

How to assign a loopback interface to Vlan?

How can I assign a loopback interface to a Vlan?

thank you
0
vreyesii
Asked:
vreyesii
  • 6
  • 6
1 Solution
 
JFrederick29Commented:
You can't, a loopback interface is a layer3 interface.
0
 
creationtechCommented:
have you tryed
interface Loopback0
  ip address 1.1.1.1 255.255.255.255
0
 
vreyesiiAuthor Commented:
How can I bring up a an SVI without plugging any devices to the same VLAN as the SVI?

thank you
0
What Security Threats Are We Predicting for 2018?

Cryptocurrency, IoT botnets, MFA, and more! Hackers are already planning their next big attacks for 2018. Learn what you might face, and how to defend against it with our 2018 security predictions.

 
JFrederick29Commented:
What are you trying to acheive?  Can you not use a loopback interface?  If you setup a trunk with another switch and have the VLAN allowed over the trunk, the SVI will remain up without actually having an interface in that VLAN...
0
 
vreyesiiAuthor Commented:
What I am trying to do is configure an SVI with an ip address, create a coresponding VLAN, and have that SVI up. With plugging any devices to another port that belongs to the same VLAN as the SVI. Your last post looks like a solution. However, the connection is between one switch and a router, and the router is plugged into an interface on the switch that is assigned to VLAN 1?
0
 
JFrederick29Commented:
So why not use the VLAN1 SVI for the IP address?
0
 
vreyesiiAuthor Commented:
I am currently using VLAN1 for management purposes. Even though VLAN 1 is up the Layer 3 VLAN Interface is not coming up. Unless I connect a device to a switch port that is in the same VLAN as the Layer 3 VLAN interface.
0
 
JFrederick29Commented:
What model switch do you have?
0
 
vreyesiiAuthor Commented:
I have a cisco WS-C3550-24.
0
 
JFrederick29Commented:
I'm still not clear on what you are trying to achieve.  Are you looking to use the switch as everyone's default gateway and then have the switch forward to the router for external traffic?
0
 
vreyesiiAuthor Commented:
Yes.
0
 
JFrederick29Commented:
Okay, so you need two subnets/VLAN's.  Create 1 VLAN for all the users and create a second VLAN for the router connection.  Create the user VLAN SVI and assign it a subnet to be used for the users and create a VLAN SVI for the router connection using a different subnet.  Assign the users to the user VLAN and assign the router to the router VLAN.
0
 
vreyesiiAuthor Commented:
Thank you for the help.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 6
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now