05-02-2023 12:45 PM
hi everyone,
i want to configure ip on every interface of switch 3750 so that anyone who connect to that interface, regardless of MAC, get an ip.
05-02-2023 12:55 PM
I dont get your Q, can you more elaborate ?
05-02-2023 01:29 PM
sir simple, i want to configure 1 IP per port of cisco 3750. How to do that?
05-02-2023 01:38 PM - edited 05-03-2023 12:58 AM
but that hard and UNwanted task
if you config each port with IP then you need 24 or 48 subnet per SW (depend if SW have 24 or 48)
but instead you can use L2 port
config one VLAN with VLAN SVI IP and config DHCP and all host connect to this VLAN get IP from SW from same subnet of VLAN SVI
05-02-2023 11:08 PM - edited 05-02-2023 11:10 PM
Hello @cutehameed,
"configure ip on every interface of switch 3750 so that anyone who connect to that interface, regardless of MAC, get an ip"
It's impossbile that someone get any IP like this. @Flavio Miranda show you how to configure IP on each switch interfaces, but noone could get an IP. This is a DHCP role.
Please, like @MHM Cisco World ask, could you more elaborate because we are perhaps not on the target!
Thanks.
05-03-2023 12:56 AM
Is what you want is to preclude someone from doing something like connecting a L2 switch and then connecting multiple hosts?
05-02-2023 01:34 PM
Hi
No one is going to get an IP address unless you have a DHCP server on the switch or connected to the switch.
If you want to setup IP address on the interface, you should use the command
int fa x/x
no switchport
ip add x.x.x.x
But you it depend on the switch 3750 licensing.
05-05-2023 04:40 AM
well switch is (C3750-IPBASEK9-M), Version 12.2(55)SE12, RELEASE SOFTWARE (fc2) and i just configured the DHCP pools on switch
05-06-2023 05:17 AM
Oh, so all you're asking is providing dynamic IPs to hosts that connect to access ports?
If so, yup, DHCP on the 3750 might be used.
I suspect most of us took your OP looking to deal with a much more complicated need.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide