07-08-2021 10:09 AM
I have been manually trying to assign IP addresses to ports on my switch using the following on the CLI:
conf t
int fa1/1
no switchport
ip address 11.200.1.49 255.255.255.0
no sh
end
conf t
int fa1/2
noswitchport
ip address 11.200.1.50 255.255.255.0
then i am told that this overlaps with fast ethernet1/1
I am trying to assign each port a unique IP address increasing sequently from 11.200.1.49 -> 11.200.1.58
I am not familiar with networking but it was recommended to me to create a dhcp pool and auto assign the ports from that.
If that is not an acceptable solution I am interested in anything that would work.
Any help on this matter would be greatly appreciated.
07-09-2021 12:06 AM
- Well that overlaps because the last octet remains 'open' , but if you need to addresses to ports in 'user' mode (with hosts connected) , you don't need all of that , just use a dhcp-server (service) setup.
M.
07-09-2021 06:16 AM
Marce,
Thank you for the response. I am quite new to this and don't really understand what the issue with the last octet being 'open' is. How can i close it? Also how do I use a dhcp-server (service) setup? Is that something that can be done from CLI?
Thanks
07-09-2021 08:10 AM
- You need to get more familiar with basic networking tasks, a normal port does not need an address (simply stated) , here is an example for setting up a dhcp server :
https://www.howtoforge.com/dhcp_server_linux_debian_sarge
Perhaps you might consider taking courses and training.
M.
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