NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

mrJitters's avatar
mrJitters
Aspirant
Sep 03, 2015
Solved

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....
  • netwrks's avatar
    netwrks
    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.