Home > Ask the Networking Experts > Questions & Answers > Using subinterfaces on a Cisco router
Ask The Networking Expert: Questions & Answers
EMAIL THIS

Using subinterfaces on a Cisco router

Greg _Ferro EXPERT RESPONSE FROM: Greg _Ferro

Pose a Question
Other Networking Categories
Meet all Networking Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 30 April 2001
When configuring a router for Frame Relay, do you need a serial sub-interface couple to the primary interface?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


No. You can use the primary interface if you want to. It's just not a very good idea. There are a lot of reasons; let's cover a few of them:

Reason - Inverse ARP
It is well known that on Ethernet, you use ARP to determine the IP to MAC address mapping, i.e. you have the destination IP address and you want to send the packet to a PC on Ethernet, so you send an ARP request to find out who has the destination and would they please send you their MAC address. Now you have the MAC address, you can send the Ethernet packet.

Now, the PC that receives the packet knows the sender's MAC address, but not necessarily the sender's IP address. The receiver will have to reply to the packet that came in, to confirm it got the packet OK. The receiver will perform the opposite, known generally as Inverse ARP. The receiver sends the Inverse ARP request and maps the MAC address to an IP address. The receiver can dispatch the confirmation packet.

But for Frame Relay, there is no ARP on physical interfaces. There are quite a few reasons for this, which I won't cover here. Thus the router would not know which PVC to send the packet to. So on a physical interface for Frame Relay you manually configure static maps that map the remote IP address to a PVC. Creating static maps is prone to error, hard to read, and hard to administer.

On a sub-interface, however, you can send ARP and inverse ARP, that is, I have the DLCI, what is your IP address, to determine what the remote IP address is.

Reason - Interface Administration
Consider the following scenario, you have a major Frame Relay hub, with 10 PVCs to the spoke sites. If you use the primary interface only, you will have 10 PVCs attached to the one interface. You then need to create mapping statements for each PVC. This is hard to maintain as time goes by. If a single PVC goes down, it is very hard to detect when using physical interfaces.

It is much better to have a different interface for each PVC, and we use sub-interfaces to do this. It makes sense to most people. You can see quickly if a PVC is down because the interface is down. Once the interface is down, OSPF, EIGRP and ISIS routing protocols can converge on a backup path much quicker, if there is one.

Reason - Performance Management
Many performance management tools, like MRTG (www.mrtg.org), work best when each PVC has an interface and an IP address. Remember that a physical interface can't have a separate IP address for each PVC. Only one IP per interface is allowed.

Reason - Broadcast Control
Keep in mind that the physical interface can have only a single address, so your static map statements have to be in the same network. When you need to broadcast the broadcast goes across every PVC !! This is usually very bad.

Reason - Routing Protocols - Split Horizon and Neighbor Discovery
This is the biggie. If you have use the physical interface, distance vector routing protocols like RIP have split horizon problems. The Link State routing protocols like OSPF have to use special mechanisms to discover their neighbors, and need special configuration.

Conclusion
You might see physical interfaces used in very specialized situation. If you do, you generally know why they are there. Using physical interfaces was the only way to configure Frame Relay for a long time and can be seen in older networks. Sometimes people just don't know about sub-interfaces. Frame Relay took a long time to catch on in the United States compared to Australia and Europe.

As a rule, always use sub-interfaces.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Expert networking advice and tips for IT professionals
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts