Re: can i use Secondry ip on firewall
* partha <firstname.lastname@example.org> wrote:
> I am using firewall-jay and Squid.
> eth0 global ip
> eth1 local ip (192.168.3.1)
> Can i have secondary ip (192.168.4.1) on the eth1?
> And use the squid for this subnet to access
I don't know what firewall-jay ist but sure you can bind a secondary
adress (or even more) to your interface.
Assuming a class-C subnet, the corresponding entry in
/etc/network/interfaces looks like this.
--< snip >--
iface eth1:0 inet static
--< /snap >--
Insert the above lines (omitting the snip,snap-lines) and do a
After a squid restart, squid should also listen to this secondary
interface (unless it is bound to a specific address via the http_port
directive in squid.conf).