Link to home
Start Free TrialLog in
Avatar of codenamecharlie
codenamecharlie

asked on

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!

-codenamecharlie
Avatar of haoss
haoss
Flag of Belgium image

Avatar of codenamecharlie
codenamecharlie

ASKER

haoss,

can u simply tell me:

  for Routers, yes or no?

  for switches, yes or no?

Thx
Switch you cann't configure, but Router yes
i heard switches can have two IP: in-band and out-band ?
by the way, i am talking about L3 (layer-3) switch, not L2
8-port Gigabit Layer 3 IP Routing Switch
Avatar of Les Moore
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..
lrmoore:

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)
ASKER CERTIFIED SOLUTION
Avatar of Les Moore
Les Moore
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial