Re: networking via cross cable
From: Allan Adler (ara_at_nestle.csail.mit.edu)
Date: 05/31/04
- Next message: Alex Meov: "Re: Help with firewall/masquerading problem"
- Previous message: Ken: "Re: virtualhosts, dns, and cnames. For the love of God, please help me!"
- In reply to: Michael Heiming: "Re: networking via cross cable"
- Next in thread: Michael Heiming: "Re: networking via cross cable"
- Reply: Michael Heiming: "Re: networking via cross cable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 May 2004 21:40:54 -0400
I ran lokkit, then got minsk and pinsk to ping each other and then,
following Michael Heiming's suggestion, executed on minsk:
> service iptables save
> chkconfig iptables on
Also, just in case, I modified /etc/hosts.allow according to the suggestion
(mutatis mutandis):
>/etc/hosts.allow
>
>ALL: 192.168.3.3
>
>Exchange 192.168.3.3 with the IP of the other machine.
Then I tried to ssh from pinsk to minsk.
>If there are still problems, try:
>ssh -vvv 192.168.3.3
>Exchange 192.168.3.3 with the IP of the other machine.
-v and -v -v -v produce the same amount of output in this case.
>Post the output if you still have problems.
[allan@localhost allan]$ ssh -v -v -v minsk
OpenSSH_2.5.2p2, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: getuid 500 geteuid 0 anon 1
debug1: Connecting to minsk [10.0.0.3] port 22.
debug1: connect: Connection refused
debug1: Trying again...
debug1: Connecting to minsk [10.0.0.3] port 22.
debug1: connect: Connection refused
debug1: Trying again...
debug1: Connecting to minsk [10.0.0.3] port 22.
debug1: connect: Connection refused
debug1: Trying again...
debug1: Connecting to minsk [10.0.0.3] port 22.
debug1: connect: Connection refused
Secure connection to minsk refused.
Just for the record, let me mention how I configured eth0 on the two machines.
On minsk, which is 10.0.0.3 according to /etc/hosts on both machines, I
configured eth0 with:
/sbin/ifconfig eth0 up (although I think it goes up at boot time on minsk)
/sbin/ifconfig eth0 10.0.0.3
/sbin/route add default gw 10.0.0.3
On pinsk, which is 10.0.0.1 according to /etc/hosts on both machines, I
configured eth0 with:
/sbin/ifconfig eth0 up
/sbin/ifconfig eth0 10.0.0.1
/sbin/route add default gw 10.0.0.1
With this arrangement, they can ping each other, as in
ping -c 3 minsk
-- Ignorantly, Allan Adler <ara@zurich.ai.mit.edu> * Disclaimer: I am a guest and *not* a member of the MIT CSAIL. My actions and * comments do not reflect in any way on MIT. Also, I am nowhere near Boston.
- Next message: Alex Meov: "Re: Help with firewall/masquerading problem"
- Previous message: Ken: "Re: virtualhosts, dns, and cnames. For the love of God, please help me!"
- In reply to: Michael Heiming: "Re: networking via cross cable"
- Next in thread: Michael Heiming: "Re: networking via cross cable"
- Reply: Michael Heiming: "Re: networking via cross cable"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]