Click to See Complete Forum and Search --> : Ping prob
elite_syntax
09-07-2003, 10:12 AM
I try to get each linux box to ping each other.The first pc is 192.168.1.2 and the other linux box is 192.168.1.1
I try to get the 2 pc to ping so i cn setup my internet shareing?:confused:
viperlin
09-07-2003, 10:33 AM
this makes very little sense.
it seems like you can't ping from 1 computer to the other.
run "ping 192.168.1.1" from the other machine, if it works then you have networking, if not then you have something stopping it
elite_syntax
09-07-2003, 10:39 AM
I have been try to ping from the 2 pc with 192.168.1.1
malloc
09-07-2003, 12:05 PM
Well i haven't understood the problem all that well, but i recon the problem is not beeing able to get the 2 pc's to "see" each other.
If that's the case you either...
A) Have eth0 badly configured....try running /sbin/ifconfig as root and see if you have something like this...
eth0 Link encap:Ethernet HWaddr 00:04:E2:08:7A:95
inet addr: 192.x.x.x Mask: 255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
.
.
Interrupt:12 Base address:0x4000
If you don't have something similar, than you have to configure your eth0 with ifconfig (do a man ifconfig)
B) If you do see the info on eth0 but there isn't a
UP BROADCAST RUNNING... Line than probably you aren't starting the interface on boot and you have to do it.
C) If everything looks right, then propably you have some weird iptables rule that drops every icmp package your machine gets...Try doing a iptables -L and see the rules....
Hope this can help you
elite_syntax
09-07-2003, 12:12 PM
I don't have a firewall running on the the pc.My eth0 boot up right away.:confused:
malloc
09-07-2003, 12:30 PM
Do you have the 2 pc's connected directly or via a Switch or Router?
If you have them connected directly make sure you have a crossed cable and not a regular one (or is it the other way around? It seems i can never get this right :) )
ozdream
09-07-2003, 01:27 PM
Originally posted by elite_syntax
I try to get each linux box to ping each other.The first pc is 192.168.1.2 and the other linux box is 192.168.1.1
I try to get the 2 pc to ping so i cn setup my internet shareing?:confused:
G'day mate, How do you have them connected?
IF direct you need a crossover cable NOT a regular Cat 5 cable.
Check this out http://www.makeitsimple.com/how-to/dyi_crossover.htm
elite_syntax
09-07-2003, 02:54 PM
I had the ip number backware.I change 192.168.1.1 to the main pc and the other to 192.168.1.2
And it works.I not sure why that was act wearid before.