NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
mrJitters
Sep 03, 2015Aspirant
Static IPs through router as switch with Ubuntu Server
So I have an router and network setup and running fine. port forwarding and static ip is working just fine on my Ubuntu server box, but the ports are full and I need to run the box off a switch now....
- Sep 03, 2015
If you disabled everything on the router that is now a switch, (DHCP etc) make sure you give an ip address that isnt in use, the same subnet mask as your router and the default gateway (the ip address of your router).
Once this is set up, you should be able to ping the router. Example: if you router IP address is:192.168.1.1 NM: 255.255.255.0 then your switch can be something like 192.168.1.250 NM: 255.255.255.0 Default Gateway: 192.168.1.1
so modem <---->router<-------->routernowswitch<----| devices
You devices should be able to get an IP from the router. Check that your server is either set to DHCP , or if it has a static IP address, that it matches the subnet on the router, and also ensure the IP is not in use anywhere else on your network. Ensure you do not use the WAN port on the converted switch.
mrJitters
Sep 03, 2015Aspirant
if i switch the cables from the server to the windows pc everything lights up fine and works for the pc, so its not the cables or the port. and actually i was wrong the light is lighting up on the router now but still same issues
netwrks
Sep 03, 2015Master
If you disabled everything on the router that is now a switch, (DHCP etc) make sure you give an ip address that isnt in use, the same subnet mask as your router and the default gateway (the ip address of your router).
Once this is set up, you should be able to ping the router. Example: if you router IP address is:192.168.1.1 NM: 255.255.255.0 then your switch can be something like 192.168.1.250 NM: 255.255.255.0 Default Gateway: 192.168.1.1
so modem <---->router<-------->routernowswitch<----| devices
You devices should be able to get an IP from the router. Check that your server is either set to DHCP , or if it has a static IP address, that it matches the subnet on the router, and also ensure the IP is not in use anywhere else on your network. Ensure you do not use the WAN port on the converted switch.