Hello everyone,
My plan was to connect a network printer over ethernet to a free ethernet port on my FreeNAS server. Somehow I think this will use less resources than a FreeBSD jail with CUPS, if I am wrong please say.
I have to do it like this, since the printer is physically close to the server and not the router/modem/switch.
In order for the computer/server and printer to communicate I need to do the following, choose a different subnet than I use on my router for example if I have 192.168.1.1 (router gateway) choose 192.168.2.1 (2nd NIC) and 192.168.2.2 (printer).
Then the NIC is on the same subnet and put the mask 255.255.255.0, the question here is should set I the gateway in printer settings to the computer/2nd NIC ip adress?
Also if I plug the ethernet cable in I expect it to auto assign some 169.X.X.X IP address just like in windows, however if I run ifconfig it doesn't show any extra network interfaces. Is this a problem?
Afterwards I would like the computers in the 192.168.1.X subnet be able to print on the printer on the 192.168.2.X subnet, I should make some kind of bridge?
If all of this is done I should be able to print from any computer connected to my home wifi on the 192.168.1.X subnet, is this correct?
If so that is nice, it means I understand it, then I only need to figure it out what kind of commands will achieve the aforementioned things.
My plan was to connect a network printer over ethernet to a free ethernet port on my FreeNAS server. Somehow I think this will use less resources than a FreeBSD jail with CUPS, if I am wrong please say.
I have to do it like this, since the printer is physically close to the server and not the router/modem/switch.
In order for the computer/server and printer to communicate I need to do the following, choose a different subnet than I use on my router for example if I have 192.168.1.1 (router gateway) choose 192.168.2.1 (2nd NIC) and 192.168.2.2 (printer).
Then the NIC is on the same subnet and put the mask 255.255.255.0, the question here is should set I the gateway in printer settings to the computer/2nd NIC ip adress?
Also if I plug the ethernet cable in I expect it to auto assign some 169.X.X.X IP address just like in windows, however if I run ifconfig it doesn't show any extra network interfaces. Is this a problem?
Afterwards I would like the computers in the 192.168.1.X subnet be able to print on the printer on the 192.168.2.X subnet, I should make some kind of bridge?
If all of this is done I should be able to print from any computer connected to my home wifi on the 192.168.1.X subnet, is this correct?
If so that is nice, it means I understand it, then I only need to figure it out what kind of commands will achieve the aforementioned things.