Assigning Domain Server Breaks rlogin


 
Thread Tools Search this Thread
Operating Systems AIX Assigning Domain Server Breaks rlogin
# 1  
Old 05-05-2012
Assigning Domain Server Breaks rlogin

Most of my Unix servers do not have access to the internet. We have a test box that I want to use to receive all root email from the other unix boxes locally. i want to then have the test box able to .forward all these emails over the internet to me. I can give the test box a dns server and it can access the internet just fine. However, when I do so, rlogin (previously works fine) stops working. It gives some sort of "ssword mismatch" problem. When I remove the entries from resolv.conf and netsvc.conf it starts working again... What is going on here?
# 2  
Old 05-07-2012
Quote:
Originally Posted by herot
I can give the test box a dns server and it can access the internet just fine. However, when I do so, rlogin (previously works fine) stops working.
I suppose you have DNS in your local network and this contradicts with the DNS database in the internet. Remove this contradiction and it should work.

Just as an aside: you might want to reconsider using rlogin (along with telnet, ftp and other non-securified protocols) because of its lacking security. Use ssh (sftp/scp) instead.

I hope this helps.

bakunin
# 3  
Old 05-07-2012
The only way the Unix boxes know names is through the hosts files. The servers are on an isolated network (and don't have DNS servers specified in basic network setup) and the Backup server that I am trying to send all the mail thru is dual homed on that network and to the other "internet network". Is there an easy way to tell if we have a DNS server on our network? I do not think we do. I think that everything is windows workgroup and hosts files... Also,could you provide a more in depth explanation of the DNS conflict you speak of? Thanks.

Last edited by herot; 05-07-2012 at 08:38 AM..
# 4  
Old 05-07-2012
Quote:
Originally Posted by herot
The only way the Unix boxes know names is through the hosts files. [...] Also,could you provide a more in depth explanation of the DNS conflict you speak of? Thanks.
With respect to your problem this is the same:

Host name resolution (regardless of being done with a /etc/hosts file or DNS or whatever) basically is to specify a hostname and get a distinct IP address back. If your local host name resolution answers for host A with a certain IP address and your dual-homed server gets another answer then it might be not able to address the other hosts correctly any more.

Still, this is speculation and in fact i (we, the readers here) don't know enough of your situation to efficiently help you. Time to correct this.

Please tell us about your setup (how the hosts communicate, which OS version (i suppose AIX, because you post here), etc.. Have you IP forwarding switched on or off on the multihomed system? What are the relevant parts of your /etc/hosts-file? What are the contents of /etc/resolv.conf and /etc/netsvc.conf? Do you have the netcd (network caching daemon) active or not?

I hope this helps.

bakunin
# 5  
Old 05-07-2012
Ok. I will try to give a more detailed description of my network.

(I am aware of the public ip addressing problem. I will fix this someday soon). I inherited this network.

we have a 192.0.0.0 network. it has no gateway to the internet.
we have a 192.0.10.0 network. it has 2 gateways to the internet (one for users and one for servers to keep the bandwidth seperate).

There are a few machines on the 192.0.0.0 network (also dual-homed to 192.0.10.0) that can access the internet. They don't route packets between 192.0.10.0 and 192.0.0.0 (you can ping their 0.0 interface buy not their 10.0 interface). There aren't many machines on the 0.0 and they are all servers of some sort. The servers I am focusing on right now are 2 SCO boxes and 2 AIX boxes. None of these servers have a netcd process running.

SCOally! -->#cat /etc/resolv.conf <-ip address = 192.0.0.20
nameserver 192.0.0.20 <- server has no netsvc.conf
nameserver 192.0.0.22
hostresorder local bind
search nesdi.com


SCOissy! -->#cat /etc/resolv.conf <-ip address = 192.0.0.22
nameserver 192.0.0.2(powered off) <- server has no netsvc.conf
nameserver 192.0.0.1(no purpose now)
hostresorder local bind
search nesdi.com

AIXbddy# <-NO resolv.conf file. <-ip address = 192.0.0.60
<-ip address = 192.0.10.160
<-netsvc.conf default

AIXbackup# <-NO resolv.conf file. <-ip address = 192.0.0.55
<-ip address = 192.0.10.155
<-netsvc.conf default

all the above servers have each other specified in /etc/hosts . None of the above servers have anything setup to point to a DNS server.


Now, on the 10.0 network I only use numerical address's to talk to hosts. They all have names, but they don't resolve. I assume this is because there is no DNS server on that network. All the pc's DNS settings point to the same address as the gateway which are a linksys wrt54g (dd-wrt) for the servers and the pc's gateway/DNS point to an Untangle server. There is no domain server for the pc's. Its a 70 computer workgroup.

Let me know what I'm leaving out. Thanks again.
# 6  
Old 05-07-2012
First off, the IP network you use looks fishy: the "usual" setup is to have a private network and routing to the internet shut off. Then, via a proxy server in a DMZ, selected systems are allowed to access the internet. To hide the (not-routable) private addresses from the internet usually NAT is used.

This works because several addresses of the IP address range are set aside and defined as a) not being routable and b) used for private purposes. This means, the normal property of an IP address to be distinct worldwide is not the case with these addresses. Everybody can use them (instead of having to registering them with the IANA), but in return you cannot access the internet with these.

The address ranges in question are (see RFC 1597 or RFC 1918, "Address Allocation for Private Internets"):

10 (-> one class-A net)
172.16 - 172.31 (-> 16 class-B nets)
192.168.0 - 192.168.255 (-> 256 class-C nets)

I presume you (metaphorical - maybe your predecessor admin) wanted to set up a private network, but mixed up addresses. Right now you are using official internet addresses, probably without having them registered and them being duplicate. This works well as long as there is absolutely no connection to the internet, but once there is (and you say that there is now) this will lead to errors galore.

I still cannot tell you why your specific error message showed up, but i suggest that you correct the most obvious error first, which will definitely prevent successful operation anyway.

I hope this helps.

bakunin
# 7  
Old 05-07-2012
We do use NAT. There is no route to the internet from the 0.0 . There is NAT between the 10.0 and the internet via the 2 Gateways (Untangle, dd-wrt). I am very aware of the addressing problem as I stated in my last post ("I am aware of the public ip addressing problem. I will fix this someday soon. I inherited this network."). I plan to change all the 192's to 10's but it is a huge project and I have a lot of planning to do first. For now, NAT is keeping us from having any problems from that.

Smilie

wouldn't traceroute show something weird if this was causing us problems?

Code:
$ traceroute ibby                                                       
trying to get source for ibby                                             
source should be 192.0.0.60                                                 
traceroute to ibby (192.0.0.22) from 192.0.0.60 (192.0.0.60), 30 hops max 
outgoing MTU = 1500                                                         
 1  ibby (192.0.0.22)  1 ms  0 ms  0 ms


Last edited by zaxxon; 05-09-2012 at 04:50 AM.. Reason: code tags, see PM
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Page breaks and line breaks

Hi All, Need an urgent solution to an issue . We have created a ksh file or shell script which generates 1 DAT file. the DAT file contains extract of a select statement . Now the issue is , when we are executing the ksh file , the output is coimng with page breaks and line breaks . We have... (4 Replies)
Discussion started by: Ayaskant
4 Replies

2. Solaris

Solaris 11 server as Primary Domain Controller

Hi, All of our servers run Solaris (currently 10, but looking to upgrade to 11). In each of our offices we have a server configured as a Primary Domain Controller via Samba to provide naming services to our Windoze users. I would like to continue with that arrangement, but I would also like... (2 Replies)
Discussion started by: wgkorb
2 Replies

3. UNIX for Dummies Questions & Answers

Joining the Linux server to a Windows AD domain

Hi , I have a domain contoso.com, which is created by Windows AD, i have a linux server which i want to join to this domain. Linux server-: RHEL 5.3 ******Info of the windows domain************* AD server- Windows 2008 r2 server. Please help me to join this linux server to the windows... (2 Replies)
Discussion started by: shroh
2 Replies

4. Red Hat

Domain name server installation issue in centOS

HI All, I am trying to setup DNS on my centOS server. I am using bind software to setup DNS. The following errors have getting. ================================================== Error in named configuration: zone localdomain/IN: loaded serial 42 zone localhost/IN: loaded serial 42... (4 Replies)
Discussion started by: phpconnect
4 Replies

5. Solaris

Assigning cryptographic resources to the control domain

Sun documentation suggests that we need to assign cryptographic resources to the control domain as part of the initial configuration. I searched the documentation to better understand the purpose of this and know recommendation/limitation. I am doing this for Netra T5220 and wondering if the... (5 Replies)
Discussion started by: StarSol
5 Replies

6. Solaris

Assigning two hostname to single server

Hi All, Is there any option where in I can assign the two hostname to single system. Thanks (6 Replies)
Discussion started by: kumarmani
6 Replies

7. IP Networking

domain linux server, open ports?

Hi all - i currently run a domain strifex.net. This domain has a dedicated IP address and in having that, should be able to run a ventrilo VoIP server from it. I uploaded all the needed files etc... and am able to connect to it, if and only if i enable DMZ to my local machine - then i am able to... (1 Reply)
Discussion started by: ccfc1986
1 Replies

8. UNIX for Dummies Questions & Answers

Mail server in home network and without domain name

Hi peeps, I want to learn how to configure mail servers, I am in private network, I am running debian 4.0, practically I have tried courier-mta, courier-imap, postfix, and sendmail. sometimes I am able to send mail and not able to connect to my imap server which is localhost, sometimes I am... (1 Reply)
Discussion started by: squid04
1 Replies

9. UNIX for Dummies Questions & Answers

block certain domain from sending mail to server

hi currently i have a server that is able to send out and receive mail. is there a way to configure the server such that mails can be sent to a certain domail like abc@yahoo.com but block mails from this domain abc@yahoo.com. the server is running on solaris 10. thanks in advance :) (2 Replies)
Discussion started by: legato
2 Replies

10. Windows & DOS: Issues & Discussions

DCHP server assigning a wrong Address

Pls could you help me diagnose my problem. I have a system which is a DHCP server and also the Remote Access Server. The DHCP server allocate normal address within the scope range to the LAN system. why it allocates abitrary number such as 169.254.217.90 255.255.0.0 class B address to the remote... (1 Reply)
Discussion started by: kayode
1 Replies
Login or Register to Ask a Question