Link to home
Start Free TrialLog in
Avatar of krdesigns
krdesigns

asked on

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.
Avatar of krdesigns
krdesigns

ASKER

Edited text of question.
Edited text of question.
ASKER CERTIFIED SOLUTION
Avatar of j2
j2
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
(oh, and of cource you need _two_ network cards in the linux for this)
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?

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.
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.
BTW since I have fixed gateway do I need to used the ISP gateway?
"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.
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?
Just ask away.