LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-06-2001, 04:59 AM   #1
kevin_5050
LQ Newbie
 
Registered: Feb 2001
Posts: 5

Rep: Reputation: 0
Unhappy


I'm using RH7. I have a problem accessing our mail server which has an external IP. Had no such problems when I assigned it an internal IP. Anyone else have this problem.
 
Old 02-06-2001, 05:44 PM   #2
mjakob
Member
 
Registered: Feb 2001
Posts: 69

Rep: Reputation: 15
Hmm. Could use a little more info about that. How many PCs do you have? Do you have a firewall between you and your mail server? Is the firewall and the mail server the same machine?
 
Old 02-06-2001, 10:17 PM   #3
kevin_5050
LQ Newbie
 
Registered: Feb 2001
Posts: 5

Original Poster
Rep: Reputation: 0



I'm assigned an IP using dhcp. I'm able to access the mail server from windows, but can't access it when I boot up in linux.

We have 100+ pcs on the network. Yes there is a firewall b/w my linux m/c and the mail server. We are using ipchains.
The firewall is not the same m/c as the mail server.
Our main server has IP - 192.168.1.2 and acts as the firewall. The mail server is outside the firewall. I tried assigning an IP 192.168.1.1 and it worked fine

Thanks,
Shankar
 
Old 02-06-2001, 11:04 PM   #4
mjakob
Member
 
Registered: Feb 2001
Posts: 69

Rep: Reputation: 15
If your PC works with Windows but not when you load Linux on it, then that pretty much limits it to the Linux configuration on the PC. The first thing that I would check is that your Linux PC is picking up the proper gateway address from DHCP and not using something that is written in a file somewhere instead. Check /etc/sysconfig/network and see if there is a gateway set there. Also check /etc/sysconfig/network-scripts/ifcfg-eth0 to make sure that DHCP is enabled. Let me know if that helps....

-Mark
 
Old 02-08-2001, 02:53 AM   #5
kevin_5050
LQ Newbie
 
Registered: Feb 2001
Posts: 5

Original Poster
Rep: Reputation: 0
Unhappy

DHCP is configured ok. I tried a route -n and the gateway is 192.168.1.2 which is correct. What else should I check.

Thanks,
Shankar
 
Old 02-08-2001, 07:48 AM   #6
mjakob
Member
 
Registered: Feb 2001
Posts: 69

Rep: Reputation: 15
Hmm, I'm running out of ideas here. The last thing I can think of would be a DNS problem. Look at what your PC is using for a name server in windows and make sure it's the same in Linux.

Maybe someone else can shed some light here. I must be missing something.

--Sorry!
-Mark
 
Old 02-08-2001, 08:42 AM   #7
Mike_the_Man
Member
 
Registered: Jan 2001
Location: work
Distribution: Redhat, Mandrake
Posts: 33

Rep: Reputation: 15
This is really odd. The only thing i can think of is to run an ifconfig -a to make sure that all your interfaces are plumbed and enabled.
 
Old 02-08-2001, 08:46 AM   #8
mjakob
Member
 
Registered: Feb 2001
Posts: 69

Rep: Reputation: 15
The only thing being odd is that it works with windows, but not with Linux. To me, this means the problem is with the PC and not the firewall...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple External IPs with iptables tvynr Linux - Networking 11 11-08-2005 02:31 PM
tc qdisc and multiple external IPs tvynr Linux - Networking 2 10-12-2005 07:49 PM
ADSL and multiple external static IPs adasko Linux - Networking 3 09-15-2005 07:01 PM
dhcp and multiple external IPs inc0gs Linux - Networking 4 06-15-2005 02:27 PM
routing problem with 2 static (external) IPs gjmwalsh Linux - Networking 3 05-23-2004 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration