abhay_ddn
20th May 2007, 11:09 PM
Gurus,
I am trying to telnet to a fedora box from another fedora box but cannot.
I have the following setup:
1. Router: Linksys WRT54G
2. Box1: Fedora core 5/Windows Dual boot. Connected to Router via LAN cable.
3. Box 2: Fedora core 5. Connected to Router via Wireless Card using Linuxant driver.
Running telnet service. Assigned internal IP address of 192.168.1.102 by router.
What I can do successfully
1. Can access the internet from Box 1 and Box 2
2. Can ping Box 2 from Box 1
3. Can ping Box 1 from Box 2
4. If I run telnet to Box 2 from Box 2 itself, it works.
What I am trying to do but cannot
I want to be able to telnet to Box 2 (Fedora) from Box 1 (Fedora) but get the following error:
[root@localhost ~]#
[root@localhost ~]# telnet 192.168.1.102
Trying 192.168.1.102...
telnet: connect to address 192.168.1.102: No route to host
telnet: Unable to connect to remote host: No route to host
What I have tried already
I tried using the port forwarding feature of the router and set the router to forward all ports from
0 to 10000 (tcp and udp) to the Box2 IP address 192.168.1.102 since telnet uses port 23 I think.
But that did not help.
Also, I added the line "192.168.1.102 thinkpad" to /etc/hosts in both boxes. That allowed me to ping Box2 using the name "thinkpad" but did not help as far as telneting was concerned.
I think something needs to be configured at the Box2 end using iptables or something like that but I am a newbie as far as linux goes and my knowledge of networking is limited. Can the gurus here please help me out? (Once I get this going, my ultimate goal is to be able to boot Box 1 in windows and telnet to Box 2 which
would remain in Fedora).
Thanks!
Abhay
I am trying to telnet to a fedora box from another fedora box but cannot.
I have the following setup:
1. Router: Linksys WRT54G
2. Box1: Fedora core 5/Windows Dual boot. Connected to Router via LAN cable.
3. Box 2: Fedora core 5. Connected to Router via Wireless Card using Linuxant driver.
Running telnet service. Assigned internal IP address of 192.168.1.102 by router.
What I can do successfully
1. Can access the internet from Box 1 and Box 2
2. Can ping Box 2 from Box 1
3. Can ping Box 1 from Box 2
4. If I run telnet to Box 2 from Box 2 itself, it works.
What I am trying to do but cannot
I want to be able to telnet to Box 2 (Fedora) from Box 1 (Fedora) but get the following error:
[root@localhost ~]#
[root@localhost ~]# telnet 192.168.1.102
Trying 192.168.1.102...
telnet: connect to address 192.168.1.102: No route to host
telnet: Unable to connect to remote host: No route to host
What I have tried already
I tried using the port forwarding feature of the router and set the router to forward all ports from
0 to 10000 (tcp and udp) to the Box2 IP address 192.168.1.102 since telnet uses port 23 I think.
But that did not help.
Also, I added the line "192.168.1.102 thinkpad" to /etc/hosts in both boxes. That allowed me to ping Box2 using the name "thinkpad" but did not help as far as telneting was concerned.
I think something needs to be configured at the Box2 end using iptables or something like that but I am a newbie as far as linux goes and my knowledge of networking is limited. Can the gurus here please help me out? (Once I get this going, my ultimate goal is to be able to boot Box 1 in windows and telnet to Box 2 which
would remain in Fedora).
Thanks!
Abhay