Tadghe Djin writes:
 > On Sat, 06 Nov 1999, you wrote:
 > > What are the outputs of 
 > > ifconfig
 > > route
 > > 
 > > on two of the boxes connected via the hub? 
 > > 
 > > -sen
 > 
 > 
 > ifconfig's output
 > 
 > 
 > [root@victory scsi]# ifconfig
 > eth0      Link encap:Ethernet  HWaddr 00:C0:F0:28:D9:EE
 >           inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
 >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 >           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 >           TX packets:0 errors:67 dropped:0 overruns:0 carrier:134
 >           collisions:1139 txqueuelen:100
 >           Interrupt:10 Base address:0x6800
 >  
 > lo        Link encap:Local Loopback
 >           inet addr:127.0.0.1  Mask:255.0.0.0
 >           UP LOOPBACK RUNNING  MTU:3924  Metric:1
 >           RX packets:85 errors:0 dropped:0 overruns:0 frame:0
 >           TX packets:85 errors:0 dropped:0 overruns:0 carrier:0
 >           collisions:0 txqueuelen:0      
 > 
 >              
 > [root@baby]# ifconfig
 > eth0      Link encap:Ethernet  HWaddr 00:A0:24:2E:C7:70
 >           inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
 >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 >           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 >           TX packets:2950 errors:0 dropped:0 overruns:0 carrier:134
 >           collisions:0 
 >           Interrupt:10 Base address:0x300
 >  
 > lo        Link encap:Local Loopback
 >           inet addr:127.0.0.1  Mask:255.0.0.0
 >           UP LOOPBACK RUNNING  MTU:3924  Metric:1
 >           RX packets:8052 errors:0 dropped:0 overruns:0 frame:0
 >           TX packets:8052 errors:0 dropped:0 overruns:0 carrier:0
 >           collisions:0       
 > 
 > 
 > 
 > route's output

so, baby has IP address: 192.168.1.3 
    and victory has IP address: 192.168.1.1

Your /etc/hosts files on both machines should have the lines

127.0.0.1       localhost 
192.168.1.1     victory
192.168.1.3     baby


on victory, as root, type 

/sbin/route del 192.168.1.1
/sbin/route del 192.168.1.0

/sbin/route add -host baby dev eth0

on baby, as root, type 

/sbin/route del default
/sbin/route del 192.168.1.0

/sbin/route add -host victory dev eth0


Then, from baby, 
 ping victory 
 should get you something, and

from victory,
 ping baby 
 should get you something. 

Good luck!
 -Cheers,
 -sen

 > 
 > [root@victory scsi]# route
 > Kernel IP routing table
 > Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
 > 192.168.1.1     *               255.255.255.255 UH    0      0        0 eth0
 > 192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
 > 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
 > 
 > 
 > [root@baby]# route
 > Kernel IP routing table
 > Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
 > 192.168.1.0     *               255.255.255.255 U    0      0        4 eth0
 > 127.0.0.1     *               255.0.0.0   U     0      0        3 lo
 > default         192.168.1.1    0.0.0.0         UG    0      0        0 eth0 
 > 
 > 
 > 
 > 
 > Christopher C. Pitts
 > 
 > -- 
 > "As soon as men decide that all means are permitted to fight an evil,then their good 
 >becomes indistinguishable from the evil that they set out to destroy."         
 > --Christopher Dawson  

Reply via email to