Sharing Proxy server by another Linux machine to configure sendmail
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sharing Proxy server by another Linux machine to configure sendmail
I have 2 Linux servers. One is having RH 8.0 and another one with RH 9.0. The first machine is having 2 ethernet card and eth1 is connected to internet via cable modem. IP address of eth0 is 192.168.1.1 and other machine's IP is 192.168.1.2. The first machine is also loaded with squid for proxy. All clients PCs in local network is accessing 192.168.1.1 for internet access.
The other Linux machine (192.168.1.2) is used for file server (samba), mail server (sendmail), intranet (apache) and all clients login to this machine for their mails and file access.
I have also set gateway on 192.168.1.2 as follows:
Also mentioned the nameserver ip address on /etc/resolv.conf
Everything is working fine when the cable line is up. Whenever the cable modem is off or the connectivity to internet is absent on gateway machine (192.168.1.1) clients are unable to login to 192.168.1.2 machine. This happens when any client machine try to login else whoever has logged in have no problem, they can still work with their shareable files or folders. Cable lines goes down 2-3 times a day that creats a lot of problem to us.
Destination Gateway Genmask Flag Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.55.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 1 0 0 eth0
In the other machine (192.168.1.1) :
203.194.96.0 0.0.0.0 255.255.255.128 U 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 203.194.196.1 0.0.0.0 UG 0 0 0 eth1
And the status is same always.
Additional Information: When my cable line is up everything works fine. The user login problem happens only when cabe line is down. Similarly, the moment the line come up, it again starts working as normal. Also during the time when the cabe modem is down, the people who have already logged into the system have no problem, they can still work. Problem happens to the users who try to login to the server (192.168.1.2) when the cable modem is down. Hope I have clarified.
Not tried. Users are trying to login thru samba login where we are using workgroup name for access. Therefore, I don't know whether I can try this option. Any how I shall try and come back to u. Other-wise is there any clue why this is happening?
My doubt is when the default gatway is down, why login to the server is not allowed. Will it be a setting problem? Basically what I want is to set my server to have that default gateway setting but even when the gateway is not on, local people should be able to login to the server.
Sorry for the delay. I was busy on some other issues.
To reply to your query - I can ping to the server when the gateway is down. And I tried connecting thru IP address, but it was not working. I dont think the samba config is the problem as our clients cannot download their e-mails also from the server during the time when gateway is down.
Any clue?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.