Router/Switch: IP Address

I am just confused:

How many IP addresses does a router have?

Also, can an ethernet switch be configured to own multiple IP addresses?

Many thanks!

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

codenamecharlieAuthor Commented:

can u simply tell me:

  for Routers, yes or no?

  for switches, yes or no?

Switch you cann't configure, but Router yes
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

codenamecharlieAuthor Commented:
i heard switches can have two IP: in-band and out-band ?
codenamecharlieAuthor Commented:
by the way, i am talking about L3 (layer-3) switch, not L2
8-port Gigabit Layer 3 IP Routing Switch
A L3 "routing switch" is simply a router for all intents and purposes.
Generally speaking, each interface of a router can have one IP address.
With Cisco routers for example, you can add multiple secondary IP addresses to each interface, create sub-interfaces with independent IP addresses, create muliple loopback interfaces, or create multiple "virtual" interfaces such as tunnels - each with an independent IP address. So a Cisco router with 2 physical interfaces can have 15-20 or more IP addresses on it.
It all depends on what you are trying to accomplish, and exactly what brand/model device you have.
As for in-band and out-of-band, in-band uses an IP address, out-of-band is typically direct console access through a modem or terminal connection directly to the box, so no IP address used for oob access..
codenamecharlieAuthor Commented:

First, Thanks for your comments.

as far as "in band" and "out of band", it is still not clear to me.

I think conole connection should not be called "out of band", in Windows, we can run Hyper Terminal
to access the switch/router (thru COM i.e. serial port). And usually the switch/router provides us
an ethernet interface so we can connect it to the network card on the PC, and this interface is called
"out of band" interface.

Is my understanding right?
The COM port via HyperTerm = Out-of-band  No TCP/IP transport required
Ethernet interface connected by IP address / Telnet session = In-band - TCP/IP transport required (Telnet, SSH, etc)
I guess a more correct definition of out-of-band would be:
"Outside the normal flow of data on the network"
In-band = "within/inside the normal data flow on the network, competing with/sharing bandwidth with other applications/users"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.