@leyonhjelm @alex you dont have to worry about that if you pretend hubs dont exist
@valleyforge Does a switch have its own IP address? Does it have a computer in it you can shell into and flash firmware like a router? Can it do DHCP? Can you connect it directly to a modem without needing a router at all? Does it enforce an IP range on the devices connected to it?
@alex Switches don't ususally have IPs unless they're a "layer 3 switch" which is just a switch router combo. DHCP is done by routers not switches because you don't need to give out mac addresses. As far as switches care IP addresses don't exist. Usually they have shells for configuring and stuff
@alex it networks between mac addresses
Does a switch have its own IP address?
No
Does it have a computer in it you can shell into and flash firmware like a router?
My understanding is yes for managed switches, probably not for unmanaged switches.
Can it do DHCP?
No
Can you connect it directly to a modem without needing a router at all?
Yes, but you would need a public IP for each device connected to the switch. This is where IPv6 is needed.
Does it enforce an IP range on the devices connected to it?
If I understand this correctly, I think for managed switches yes, otherwise no.
Now I want to see this devolve into pedantry about hub vs switch
@alex