Do This:
Main computer: ifconfig eth0 down ifconfig eth0 192.168.0.1 netmask 255.255.255.0 ifconfig etho up Second computer ifconfig eth0 down ifconfig eth0 192.168.0.2 netmask 255.255.255.0 ifconfig eth0 up Next Main computer: ping 192.168.0.2 Second computer ping 192.168.0.1 Post the results Andrew |
:) I win!
|
Ok pinged the second computer from the main computer:
I think I got it right but I had to add -b [mlg@localhost mlg]$ ping -c4 127.255.255.255 -b WARNING: pinging broadcast address PING 127.255.255.255 (127.255.255.255) 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.096 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.028 ms 64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.027 ms 64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.027 ms --- 127.255.255.255 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2999ms rtt min/avg/max/mdev = 0.027/0.044/0.096/0.030 ms |
Quote:
I'm going to ping the other machine and see what happens. |
Your pinging a broadcast address, which means it pings every computer in that segment (or in this case the either network)... And the main computer is what is answering, so again the main computer is pinging the main computer....
Did you run the commands in my above post? because the ip address 127.255.255.255 is invalid, anything in the 127.x.x.x rage is consider its self. Andrew |
Are you connected to a switch/router or are you connecting all of your computers directly into the main computer?
Andrew |
Quote:
This is the eth0 from my main computer, whats the ip address? eth0 Link encap:Ethernet HWaddr 00:40:05:86:66:C6 inet6 addr: fe80::240:5ff:fe86:66c6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2412 (2.3 Kb) TX bytes:2088 (2.0 Kb) Interrupt:18 Base address:0xec00 |
Quote:
|
I have to go for a few hours.... Help when I get back... Sorry
|
Quote:
|
Quote:
That's cool, I'll be here. I've pinged the second computer from the first and it's still writing, I'm up to icmp_seq=300 Was didn't use anything except ping, just as you wrote it was I suppose to put another argument like -c4 or something. Don't assume I know better:D :D :D I actually get around pretty good in these things but it takes me some screw up first.. I'm going to ask questions on this endevor so it doesn't take so long. I'm up past 500 pings I'm guessing I need to find a way to stop the pinging:confused: |
I did it again the assummed right way from main to second computer:
I'll ping from the second to the main in a minute, have to do the phone thing real quick PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data. 64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.095 ms 64 bytes from 192.168.0.2: icmp_seq=2 ttl=64 time=0.097 ms 64 bytes from 192.168.0.2: icmp_seq=3 ttl=64 time=0.103 ms 64 bytes from 192.168.0.2: icmp_seq=4 ttl=64 time=0.095 ms --- 192.168.0.2 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3000ms rtt min/avg/max/mdev = 0.095/0.097/0.103/0.010 ms |
great you got the boxes pinging, now take a look at this
http://easyfwgen.morizot.net/gen/ it's a script generator for iptables, which is what you'll need to get nat going so your second machine can gain internet access. good luck. |
My floppy drive just went out on the second machine, now of all times. I was using it to copy to so I could get the info on the net. Both machines are pinging each other. The second machine pinged the main computer with similar resuls as the other way around went. If you need to see those results just holler. I'm probably going to put anpther floppy in, I've got plenty, don't know if I've ever had a floppy go bad before.
I'm off to the newest link |
I replaced the floppy and I'm back in business. Here's the results from the second ping:
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. 64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.118 ms 64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.100 ms 64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=0.103 ms 64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=0.095 ms --- 192.168.0.1 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2999ms rtt min/avg/max/mdev = 0.095/0.104/0.118/0.008 ms |
All times are GMT -5. The time now is 10:15 AM. |