I just bought a Linksys SE1500 Ethernet switch and I'm trying to set up a small standalone network for pentesting and security research. However, when I do a network scan with one of the computers using the eth0 interface, nothing happens. DHCP is enabled on all the machines. This may seem trivial but..... should I turn off DHCP and manually assign IP addresses, or should the switch be assigning IP addresses (even though its not)?
2 Answers
There's nothing in the spec of that switch that says it is a DHCP server, so I suspect your problem is that you don't have one at all.
Only the home/very small business switch/router products that act as your internet gateway as well as a switch tend to come with a DHCP server, so the lack of one on something that claims to be a proper dedicated switch should come as no surprise.
Any DHCP server should be able to serve DHCP to any client (e.g. you don't need a "windows DHCP server" and an "Apple DHCP server" and a "Linux DHCP server", just a DHCP server, so the good news is that this should be easy to fix by getting DHCP running on your Linux box. Or just using Static IPs, which might not be "best practice" but is hardly going to matter on the sort of network one can make with a SE1500 switch.
DHCP clearly isnt working right now... you should either assign statics (the quickest path), or run ISC dhcpd on ubuntu.
-
Thats what I thought. I've never set up the ISC DHCP service. It appears as though it only works with Linux/UNIX based systems. Is this true or will it be able to assign an IP to the Windows machines? Aug 5, 2012 at 6:23
-
yes, in fact the ISC dhcpd running on my server at home assigns addresses to windows every day. Aug 5, 2012 at 6:53
connect: Network is unreachable
error.