LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   can't access/locate other PCs with different DNS suffix (https://www.linuxquestions.org/questions/linux-networking-3/cant-access-locate-other-pcs-with-different-dns-suffix-263363/)

rsumbeling 12-06-2004 04:56 PM

can't access/locate other PCs with different DNS suffix
 
Hi Linux gurus,

I have setup the network of my slack 10 by static IP address, in our office LAN, which is DHCP. Before, my slack 10 can be accessed by (from) our windows-based PCs using ping, telnet, ftp, ssh, database access, etc eventhough I set my slack 10 net using static IP in the DHCP environment. Our DHCP network here have been reimplemented, which the DNS suffix have changed. Because of this, I can no longer access the slack 10 machine.


To tell u about that, using the ipconfig /all DOS command, the DNS suffix was:
==========
Windows 2000 IP Configuration
Host Name . . . . . . . . . . . . : C7TPB1S
Primary DNS Suffix . . . . . . . : pof.apa.enet.accenture.com
...
DNS Suffix Search List. . . . . . : pof.apa.enet.accenture.com
...
Ethernet adapter Local Area Connection 5:
Connection-specific DNS Suffix . : pof.apa.enet.accenture.com
...
IP Address. . . . . . . . . . . . : 172.23.88.25
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 172.23.88.1
DHCP Server . . . . . . . . . . . : 10.190.1.22
DNS Servers . . . . . . . . . . . : 10.190.1.22
10.190.1.21
...
==========
Now the ip configuration of our Windows-based PC is:
Windows 2000 IP Configuration
Host Name . . . . . . . . . . . . : C7TPB1S
Primary DNS Suffix . . . . . . . : pof.apa.enet.accenture.com
...
DNS Suffix Search List. . . . . . : pof.apa.enet.accenture.com
...
Ethernet adapter Local Area Connection 5:
Connection-specific DNS Suffix . : maniladc.com
...
IP Address. . . . . . . . . . . . : 172.23.88.10
Subnet Mask . . . . . . . . . . . : 255.255.255.128
Default Gateway . . . . . . . . . : 172.23.88.1
DHCP Server . . . . . . . . . . . : 10.254.66.28
DNS Servers . . . . . . . . . . . : 10.254.66.28
10.190.1.22
...
==========
notice that the connect-specific DNS suffix has changed as well as the IP addess, subnet mask and the dhcp and dns server
==========

on my slack 10 the following are my configuration:
the output of the ifconfig eth0 command was:

Link encap:Ethernet HWaddr 00:02:E3:55:06:2B
inet addr:172.23.88.251 Bcast:172.23.88.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2348 errors:0 dropped:0 overruns:0 frame:0
TX packets:281 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:255225 (249.2 Kb) TX bytes:27712 (27.0 Kb)
Interrupt:5 Base address:0xe000 Memory:dfdfe000-dfdff080

my /etc/hosts file is now:
==========

127.0.0.1 localhost
172.23.88.251 pofsbctrain.pof.apa.enet.accenture.com pofsbctrain.maniladc.com pofsbctrain
==========
and my /etc/resolv.conf is now:
search pof.apa.enet.accenture.com maniladc.com sbc.com accenture.com internal.accenture.com dir.svc.accenture.com
nameserver 10.254.66.28
nameserver 10.190.1.22

==========
==========

here if i change my net mask to 255.255.255.128, which is same with our windows config, if i ping the ip address of my win, from my slack, it will tell that network is unreachable...

what can i do in order for our windows-workstation and my linux slack 10 to see each other, now that the DNS-server and suffix of our windows PC have changed?

thanx

hostprotect 12-06-2004 05:41 PM

You won't be able to use those nameservers because they are inside the internal net. Your eth device has a real IP address.


All times are GMT -5. The time now is 04:40 PM.