bouse liki pas coner
A switch examines the frame for the MAC address information and adds it to its internal switching table as each frame passes through the switch.
The source MAC address within a frame is used by the switch to associate a port with that MAC address. Frames are directed by the switch from one port to another based on the destination MAC address within the frame.
If a switch is connected to a router then the MAC address of the router is known to the switch through that port. A host takes advantage of this by using the default gateway address (the address of the router) which the switch "knows" by its lookup table. Therefore, the switch can learn the address automatically and no configuration is necessary.
You can't assign an ip to a switch but you can add one to the interfaces......... like: for the management vlan (or any other vlan) Switch(config)#int vlan 1 Switch(config-if)#ip address {your ip address} {mask} Switch(config-if)#no shutdown any other port Switch(config)#int <fa, G, S> <interface number i.e. 0/0> Switch(config-if)#ip address {your ip address} {mask} Switch(config-if)#no shutdown and for a default gateway Switch#conf t Switch(config)#ip default-gateway {ip address}
A switch would record multiple entries for a single switch port in its MAC address table if it does not contain the Mac address of a particular destination in the address table. It will broadcast to all ports besides the port where entry comes from.
yes switch work on ip address.
It doesn't necessarily need and IP. Depends on whether it is a managed or unmanaged switch. For instance your switch would need an IP address in order to telnet to it.
it so about there are go
The source MAC address
source mac address
A layer 2 switch may need an IP address if the operator wishes to be able to access it without a serial cable. With an IP address, the switch can be access from anywhere with a connection to the network or an Internet connection.
A switch builds a MAC address table, which contains the MAC addresses of devices connected to its ports along with the corresponding port numbers. When a switch receives a data frame, it reads the source MAC address and updates its table if the address is not already present. To send data to a specific device, the switch looks up the destination MAC address in its table and forwards the frame out of the appropriate port associated with that address. If the destination address is not found, the switch broadcasts the frame to all ports except the one it received it on.