Header
Home | Set as homepage | Add to favorites
  Search the Site     » Advanced Search
Sections
Syndication


Blogroll:

||||| ALL Cisco-Network ARTICLES |||||  
CCIE Journey,
The CCIE Journey,


Using Loopback Interfaces on Lab Routers

Jul 08,2009 by alperen

image


What do you do if your router has only a single Ethernet interface? Or worse, what if one of your lab routers has only a Token Ring LAN interface and you don’t have a Multistation Access Unit (MAU) unit to plug it in to, so the interface won’t come up? Short of getting another device, the only solution is to create loopback interface(s). What are loopback interfaces?

Configuring a loopback interface is similar to creating a subinterface. The syntax is

router(config)#interface loopback num router(config-if)#ip address ip-address subnet-mask

The num is any whole number between 0 and 2147483647. It won’t accept module-type notation, like 0/1.

Note, the no shutdown command isn’t required and would only be used with loopback interfaces following a shutdown command.

Here is an example:

router(config)#interface loopback 0
router(config-if)#ip address 192.168.3.1 255.255.255.255

The Layer 3 addresses can be either an IP or an IPX interface configuration (AppleTalk isn’t supported on all router platforms). The example is a 32-bit mask, called a host mask, because it specifies a single host, not a network or a subnetwork. Some routing protocols, such as Open Shortest Path First (OSPF), use loopback interfaces as router IDs and prefer the host mask to avoid problems. With protocols such as RIP, IGRP, and EIGRP, you can use any mask that serves your purpose.


664 times read

Related news

» Setting the OSPF RID
by admin posted on Jul 21,2008
» Manually Injecting Routes into BGP
by alperen posted on Nov 30,2008
» OSPF Hello Packet Information
by alperen posted on Nov 28,2008
» iBGP and eBGP Configuration
by alperen posted on Nov 30,2008
» Configuring LO0 on SW4 (Native)
by admin posted on Jul 08,2008
Did you enjoy this article?
Rating: 3.00Rating: 3.00Rating: 3.00 (total 2 votes)

comment Comments (0 posted) 

More Top News
CCSP-Cisco Certified Security Professional
Most Popular
Most Commented
Featured Author