Networking Forums

Networking Forums > Computer Networking > Linux Networking > Connecting 2 linux boxes directly

Reply
Thread Tools Display Modes

Connecting 2 linux boxes directly

 
 
Sting
Guest
Posts: n/a

 
      05-07-2004, 02:54 PM
Hello,
- I had tried to conenct 2 Linux boxes directly.
I did it with a cross cable connecting directly
one nic to the other nic.
(also tried all my tests with non-cross cable,
but AFAIK it should be with cross cable).

For this I set the address of one of them to
192.168.0.2
subnet: 255.255.255.0

the other is
192.168.0.1
subnet: 255.255.255.0


Now I can't ping from 192.168.0.2
to 192.168.0.1.

I tried to remove the GW declaration from
192.168.0.2 (the gw was 192.168.0.254 , and
in this connection both of them were not conneced to
192.168.0.254).
I also tried, on 192.168.0.2 ,to set the gw to itself,
namely 192.168.0.2 but it did not help.

can it be that the gw definition on 192.168.0.1
(which is also 192.168.0.254) is an obstacle ?


what is the way to do it ?

any help will be appreciate.

regards,
sting
 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      05-07-2004, 03:15 PM
Sting <(E-Mail Removed)> wrote:

> - I had tried to conenct 2 Linux boxes directly.
> I did it with a cross cable connecting directly
> one nic to the other nic.
> (also tried all my tests with non-cross cable,
> but AFAIK it should be with cross cable).


Cross-over is correct. Did you make one or buy one? It's easy to
make a mistake when you make one; it's better to buy one.

Based on what you posted, the two hosts should have no problem with
networking. That is, ping from ether host to the other host should
work. But exact copies of ifconfig and route -n outputs would have
been better.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting windows 98 desktop directly to router farhan Windows Networking 1 06-08-2008 07:36 PM
Connecting 2 laptops directly Shilps Wireless Networks 2 12-01-2007 03:16 AM
Connecting two networks with two linux boxes. Markvr Linux Networking 2 08-24-2006 06:09 PM
Connecting directly to a Windows XP computer =?Utf-8?B?bWljaGFlbGo=?= Windows Networking 1 05-28-2005 08:31 PM
strange problem connecting 2 linux boxes Sting Linux Networking 6 05-16-2004 06:50 PM



1 2 3 4 5 6 7 8 9 10 11