11-15-2023 03:16 AM
Hi Ladys and Gents,
since monday i am trying to get a power strip, wich is switchable over http GET, to work in our infrastructure. Since i'm fairly new in the IT field, i have a few questions. I'll try to get all information here together and if something else is needed just HMU.
I start of with resetting the power strip to factory defaults (192.168.0.211/24), i then proceed to take a laptop, set IP configuration to manual (192.168.0.200/24). All works fine, I open a browser and go to 192.168.0.211, configure the power strip to not use DHCP (also tried DHCP, same as without) and give it all the needed params (hostname, IP, netmask, gateway). The address wich im giving the strip is 192.168.12.147/24, wich works fine. Change IP on laptop and as it should the webinterface is now reachable over the 12.147 address. A GET to 12.147 with the right params also switches the right power outlet. So far so good.
Now I proceed with the configuration of our switches (WS-C3560-8PC-S, c3560-ipbasek9-mz.122-58.SE2) and our router (WS-C3750G-24TS-S1U, c3750-ipservicesk9-mz.122-55.SE11), wich also handles our DHCP. Here i have the configs of the devices:
Switch:
interface FastEthernet0/1 description higdt022:LAN :lpower5 Glastuere Steckdosenleiste switchport access vlan 12 switchport mode access switchport port-security switchport port-security mac-address 0010.6c05.0eee spanning-tree portfast
Router:
no ip dhcp pool higdt022 ip dhcp pool higdt022 host 192.168.12.147 255.255.255.0 client-identifier 0010.6c05.0eee client-name higdt022 default-router 192.168.12.254
internal DNS gets handled by ISC DHCP Server V3.0.1 wich is only handling DNS no DHCP:
higdt022 IN A 192.168.12.147 IN HINFO "INFRATEC PM 211-MIP" "V1.03" IN TXT "Glastuere Steckdosenleiste" lpower5 IN CNAME higdt022 ; IN ARP 00106C050EEE ; IN PHYS hswit028:Fa0/1
So far so good. I am now connecting the power strip to our switch on the configured port fa0/1, an 'sh int statu' returns that fa0/1 is connected with 10Mb/s (strip only supports that). On the router side if I run a 'sh ip dhcp binding | include 192.168.12.*' to see if any new automatic bindings in VLAN12 show up. None. Only all our manual bindings and of course the 12.147 binding (192.168.12.147 0010.6c05.0eee Infinite Manual), all correct. Resolving the hostname to the correct IP works, other then that, nothing. No ping, no webinterface.
After a little bit of time (approx. 5 mins) the Interface fa0/1 suddenly shows not connected (wich never happens directly connected to the laptop). As im fairly unexperienced in both, IT and Cisco, I don't know where to start to troubleshoot this. Maybe someone can push me a little in the right direction? Maybe some usefull commands to troubleshoot this? What to look for and where?
Thanks in advance and have a great one today!
11-15-2023 03:51 AM - edited 11-15-2023 03:55 AM
the switches logging and the DHCP server's logging should give some information ?
1) you configured the powerstrip for manual IP-configuration, so adding an entry in your DHCP server will be useless
2) if the powerstrip only connects at 10Mp, it may not know anything about "autonegotiate" as the Cisco switch uses by default
3) you are using port-security, i suggest to temporarily disable the feature on this port
=> remove the DHCP entry as it is not used
modify the switchport for manual speed and duplex; you need to experiment what works best for your powerstrip.
be aware disabling auto negotiate may also disable auto MDI/MDI-X on the switch
for some devices you also need to use the right cabling (straight or crossed)
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