Cable Modem + Proxy Setting

I have this cable modem provided with one single IP 202.155.x.x subnet 255.255.255.192 gate 202.155.61.193

After I set everything up on my SuSE linux and it work! I can go out to the internet using Netscape. The problem arise when I'm planning to run a client machine.

I have hub connected to my server with one NIC which is then I add another virtual IP 132.1.0.1 with same net & gateway. Now in order my client connect to the server I hook it up to the server virtual IP and it work the client is now being able to ping the server. However when I'm trying to called the WWW from the client it fail. I already set the proxy setting to 132.1.0.1:3218 Squid2 run on the server and I try to used Squid2 basic configuration. However still have no luck. Do I do something wrong? I really need the help cause I'm not a network guy and newbies in LINUX.
krdesignsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

krdesignsAuthor Commented:
Edited text of question.
0
krdesignsAuthor Commented:
Edited text of question.
0
j2Commented:
Unless you have a LOT of machine saccess the same data, squid is of no use for you. And it only caches http ftp https.

If you want "generic" net access from a client you need ip masquerading.

Just set your client machines to use the linux as your defautl GW, and set the DNS of your clients to use the DNS of your ISP (do NOT enter the linux ip here unless you are rrunning a DNS on the linux).

Then you need ip-masquerading, the following assumes you are using 192.168.0.x adresses with a 255.255.255.0 netmask.

echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -A forward -s 192.168.0.0/24 -d 0.0.0.0/0 -b -j MASQ

done.

However, if you also want a firewall, look at www.pointman.org and checkpout pmfirewall, pretty useful application. Just remember to answer "yes" for masquerading when installing it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

j2Commented:
(oh, and of cource you need _two_ network cards in the linux for this)
0
krdesignsAuthor Commented:
I'm still confused so if you don't mind could you confirm this

I don't have two NIC on the server just one, however I do manage to run virtual IP eth0 and eth0:0 will it work?

So I need to run 2nd IP using 192.168.0.x netmask 255.255.255.0 gate 202.155.61.193 instead of the current one 132.1.0.1 255.255.255.192 gate 202.155.61.193?

At client machine do I need to used the gateway only? what is the IP and netmask do I need to enter since I did not run DHCP? Because the client need to connect to the server right?

0
j2Commented:
running virtual nics will in MOST cases not be enough. Because any broadcast call from your clients will reache the modem and be propagated fto your ISP, which will prolly block access from those MAC's (atleast my ISP works that way)

Yes, you need to use a 192.168.0.x ip on the 2nd nic, but do NOT set a Gateway for it. Instead set a default gw for the entire machine. using DHCP client for the "cable nic" will fix this for you (as i assume your ISP assigns you ip's via DHCP?)

Yes, you need a 192.168.0.x IP on the clients, aswell as a correct netmast,and a DNS.
0
krdesignsAuthor Commented:
No I got a fixed IP provided by the ISP

BTW what is the DNS which I need to put in the client machine? DNS of the ISP?
Its 1st and the 2ndary?

Also How do I call IPCHAINS comment since I fail to do that. Do I need to modified any txt files?

I used SuSE distro.

I hope this is going to be my last question. so I can give you the point.
0
krdesignsAuthor Commented:
BTW since I have fixed gateway do I need to used the ISP gateway?
0
j2Commented:
"BTW what is the DNS which I need to put in the client machine? DNS of the ISP?
Its 1st and the 2ndary?"  -- Yes

"Also How do I call IPCHAINS comment since I fail to do that. Do I need to modified any txt files?" -- If you do not have ipchains on your system, you will have to install it, i havent used suse, but i am pretty sure it has to have it included somewhere. Or you could try www.rustcorp.com

"BTW since I have fixed gateway do I need to used the ISP gateway?" -- On the linux yes. On the clients you use the linux as gateway.
0
krdesignsAuthor Commented:
J2 I do appreciate of you helping me and I think you earn your point which I will give to you now. However do you mind if I need more help that I can contact you? Could I still use this forum?
0
j2Commented:
Just ask away.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.