Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Changing subnet mask stop's SQUID working
post Jan 21 2009, 05:07 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 21-January 09
Member No.: 13,865

Due to a lack of IP address I am changing our subnet mask from to We use IP address as our squid server and I am trying to change the subnet mask so that workstations with addresses 192.168.1.x - 192.168.3.x will be able to use squid as the proxy server.

I am new to Linux but so far I have edited the squid.conf and changed 2 lines to read

acl myIP src
acl myIP src

I now need to change the subnet mask for the Linux server. I have run the command 'ifconfig -a' and received the following

eth0 - inet addr: Bcast: Mask:

I then ran the command 'ifconfig eth0 netmask'

When I check the config again the new mask is dispalayed but nothing can use the squid server. Further more if I run 'ifdown eth0' and then 'ifup eth0' the mask reverts back to (but at least the workstations's can use squid again).

1. Do I need to save it (similar to wr mem with a cisco box)
2. Do I need to change the BCast (assuming as this will be the end of the /22 range).
3. Is there something else I need to configure?

I am using Red Hat (unsure which build - is there an easy way to find out)


Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 22nd July 2018 - 11:40 AM