1 Attachment(s)
connecting two linux pcs via cross cable
Hi friends,
I have come up with one question.Here follows my question.
I want connect my two linux pcs running in 2.6 kernel via cross over cable.To do this i have done the following settings after google search.
In pc1
1. ifconfig eth0 10.10.11.16 netmask 255.255.255.0 up
2. route add default gw 10.10.11.13 eth0 (default gateway which is ip of pc2 )
In pc2
1. ifconfig eth0 10.10.11.13 netmask 255.255.255.0 up
2. route add default gw 10.10.11.16 eth0 (default gateway which is ip of pc1 )
Then i tried pinging i could not able to connect.Are these above settings enough or any thing am i missing?
For your more information see the attached text file named ipdata.txt