Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help finding command to config multiple ip on one eth.port

Status
Not open for further replies.

denodave

MIS
Joined
Apr 16, 2002
Messages
151
Location
US
I am in Cisco Academy, but new...I have two 1602 routers, one with 12.x IOS the other with 11.x and I was poking around in some configuration commands. On one router (only on one) I came across a command which appeared to setup an eth.port to carry multiple ip adresses. Or, it might have been multiple sessions...it was really late and I neglected to write down where this command was located, now I CAN'T FIND IT! I recall it was "near" fast-switching commands, but I just can't locate it. Any help is REALLY appreciated! You may email me! denodave@yahoo.com
 
ip address xxx.xxx.xxx.xxx secondary
 
I telnet to another router and make changes. I now need to get back to the first router because that is the only place I can telnet from. How to I end the telnet session from the second router and pop back into the first telnet?
 
while at the prompt for the second router, type 'exit' and you will end your telnet session to the second router, and drop back into the first router.

Doyle
 
Hey, PPLEWIS, can you be more specific...that command sequence is not valid! Please help if possible, I have been beating my skull against a wall, SCOURING the entire menu lists and I still can't find it. [sadeyes] Email me! denodave@yahoo.com
Real men pray...especially techies!
 
This multiple-IP address configuration can be accomplished one of two ways, with the subinterface command or a secondary command. Subinterface are commonly used in Frame Relay, ATM, and Fast Ethernet in switched environments. To specify a subinterface, add a period and the subinterface number to the regular interface name.

For example:

interface serial 1.1
interface serial 1.2


The secondary keyword allows an interface to have more than one IP address. You can have as many secondary addresses as you like, but keep in mind that each will take processing power and will have an effect on the router.

In example:

interface ethernet0
ip address xxx.xxx.xxx.xxx 255.255.255.224
ip address xxx.xxx.xxx.xxx 255.255.255.224 secondary


Two warnings: Secondary IP addresses are not supported by OSPF. Broadcasts may or may not be heard. Too many secondary IP addresses often means you are doing something wrong with your network design. Route once; switch many
 
Thank you kind folks![medal] I may not be phrasing this question correctly, because what I was doing was cruising through command sets by entering "commandxyz ?" and then reading the subsets, then entering "subcommandxyz ?" to see the various options and descriptions. Following that pattern I logically would not have found the "secondary" command because I would have had to enter a specific ip address to get that far, and I wasn't entering any ip addresses....[bigcheeks]DOOOH! Email me! denodave@yahoo.com
Real men pray...especially techies!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top