I have several computers in my network that have public static IP's. I also have a number of computers and devices that have private IP's, some static and some dynamically assigned by the router.
I would like to know what I need to do to efficiently have access to the local private network (the printers, devices and other local computers) by my computers that have public static IP's.
Currently I have the following equipment:
2 Linksys E2500 wireless routers
2 PCNet 8 port switches
1 Arris DG860 4 Port Cable Modem (Connected to the ISP)
When I run the Linksys router network from the cable modem only I have sufficient bandwidth performance. Plugging a cable into the port switch gives all my computers access to all the other devices that are connected to the local private network (supplied by the Linksys router), but my bandwidth to the Internet becomes unbearably slow… almost nill.
To have access to the local devices I use the ifconfig
command to add a secondary IP to the NIC.
Secondary IP (for private network access):
$ sudo ifconfig eth0:192 192.168.1.50 netmask 255.255.255.0 up
Can someone advise how this came done, either with the current equipment or what equipment might need to be added to the network to achieve this.
Currently I either have a slow network, then all my computers can use the printers and scanners in the local network, or I have to remove the RJ45 connector from the switch and lose connection to my local private network and download my print jobs to a computer connected wireless for performing the printing.
All my main computers are running Linux. I connect Windows and MAC OS periodically, for performing repairs for customers, or allowing guess access to my network and the Internet.