Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mandrake cannot ping win98

Status
Not open for further replies.

codo

IS-IT--Management
Oct 31, 2001
187
ID
I've just installed Mandrake 10, the IP is 192.168.0.150/255.255.255.0, while i have Win2K networking with 192.168.0.xxx/255.255.255.0 IP addresses. I have installed Samba on Linux machine and set the workgroup name same as Win2K workgroup/domain name. I tried to ping from Mandrake to one of win2K client (using win98/winXP) but i got 'destination host unreachable' message.'

the Network configuration for Win2K netwrok is :
domain = example.com
name server = NS
win2k server IP = 192.168.0.1/255.255.255.0

Mandrake :
Host name : xlinux.example.com
DNS server : 192.168.0.150 (mandrake IP address)
DNS server 2 : 192.168.0.1
search domain : example.com
 
Did you ping them by name?
Can you ping the adress directly?
Code:
ping 192.168.0.1

Do you have a nameserver running for your machines?

That would be unusual for few machines.
Putting the address-name-nicknames into /etc/hosts is sufficient on the linux machine.
Code:
192.168.0.1 win98a.example.com win98a
192.168.0.2 win98b.example.com win98b
192.168.0.1 xlinux.example.com xlinux

Can you ping the win98 machines from each other by name?
by adress?
From themself?
Ping the linux-machine from win98?

seeking a job as java-programmer in Berlin:
 
I tried to ping address directly but still not working, i can ping between win98 machine, also from/to Win2K server, but not from/to linux.
Yes i had nameserver on my machine.
Do you think my Ip configuration on Linux machine already Ok? or there's something to change/add ?

this is my ifcfg-eth0 config
DEVICE = eht0
BOOTPROTO = static
IPADDR = 192.168.0.150
NETMASK = 255.255.255.0
NETWORK = 192.168.0.0
BROADCAST = 192.168.0.255
ONBOOT = YES
MII_NOT_SUPPORTED = YES

in my /etc/sysconfig/network:
nameserver 192.168.0.1 ===> win2K server IP
nameserver 192.168.0.150


/etc/sysconfig/network :
HOSTNAME=xlinux.example.com
NETWORKING=yes
GATEWAY=192.168.0.100 ==> my winXP machine that connect to internet
GATEWAYDEV = eth0

I put 'iptables -t nat -D PREROUTING -i eth0 -j loc_dnat' on the /etc/rc.d/rc.local file.

already do 'ifup eth0' command

i try to ping linux machine itself, but i got 100% packet loss.
 
link encap:Ethernet HWADDR 00:50:BA:CB:AC:C8
inet addr:192.168.0.150 Broadcast:192.168.0.255 mask 255.255.255
inet6 addr fe80::250:buff::fech:acc8/64 scope link
up Broadcast running multicast MTU:1500 metric:/
RX Packet :1947 error:0 dropped:0 overruns:0 frame:0
TX Packet :22 error:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueulen low
RX bytes:251079(256.1 kb) TXbyte:1476 (1.4 kb)
Interrupt : 10 Base address:0X5000

I'm using Dlink DFE-538TX Lan card. I already modified the hosts files as you tell and I also tried to ping using 127.0.0.1 from Terminal Program but there is no result/nothing happened.
 
are you running "iptables" or "ipchains", may be you are running the firewall that is preventing the ping and you don't know it..

iptables -L

or ipchains -L

Cheers.
 
I hope I don't overlook a fact you already told us:

what's your /etc/resolv.conf content?
what's your /etc/host.conf content?

I see that I made a mistake in the second code-block in my first post.
It has to be
Code:
192.168.0.150 xlinux.example.com xlinux
of course.

seeking a job as java-programmer in Berlin:
 
first of all i would like to say thx for your attention on my problem :

my /etc/resolv/conf :
domain example.com
search example.com
nameserver 192.168.0.150
nameserver 192.168.0.1
nameserver 192.168.0.100

my /etc/host.conf
192.168.0.1 ns.example.com ns ===> win2k Server
192.168.0.150 xlinux.example.com xlinux
192.168.0.100 xp1.example.com xp1 ====> this pc as interternet gateway



 
so how to disable the firewall??
 
thanx to chacalinc, i just turn off the firewall via webmin and now i can ping the win2k network, i also can browse all the win2k client but can't access the folder.

Why my win2k cannot ping MDK machine? also in MDK i ping the localhost 127.0.0.1 but not succeed?
I can browse internet from my MDK because i set the proxy address to my winXP address as a gateway (using Winroute pro). But i no longger cannot access WEBMIN ( it says conection 127.0.0.1 failed...error detected by Winroute proxy

Thx guys....
 
my /etc/host.conf says
Code:
order hosts,bind
multi on
what you displayed is more /etc/hosts.

A posting-error, or is this your real setting?

And you really use example.com as domain?
Should work of course, if made consistently.
And you may change it when working...

seeking a job as java-programmer in Berlin:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top