[nos-bbs] JNOS >< Linux communication problem

Miroslav Skoric skoric at eunet.rs
Sat Jun 16 10:12:35 EDT 2012


On 06/16/2012 05:05 AM, George [ham] VerDuin wrote:

>
> Well start while each host is a Linux host and issue the command:
> ...$ route
> to see the host routing table. You can use the same technique to email
> the result as you used for the "...$ ifconfig" command. I'm sorry to say
> I don't have the method at hand, but there is one to get the same info
> from Windoz.
>

Here it is (all hosts in Linux):

(1) Debian 6.0.5

root at localhost:/home/misko# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.1.0     *               255.255.255.0   U     1      0        0 eth0
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
root at localhost:/home/misko#


(2) Debian 6.0.5

root at localhost:/home/misko# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.1.0     *               255.255.255.0   U     1      0        0 eth1
192.168.0.0     *               255.255.255.0   U     1      0        0 eth0
root at localhost:/home/misko#


(3) Ubuntu 10.04.4 LTS

misko at localhost:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 bpq0
192.168.0.0     *               255.255.255.0   U     0      0        0 nr0
192.168.0.0     *               255.255.255.0   U     0      0        0 nr1
192.168.0.0     *               255.255.255.0   U     1      0        0 eth0
link-local      *               255.255.0.0     U     1000   0        0 eth0
default         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
misko at localhost:~$

(Btw, in host (3) you can also see bpq0, nr0, ... because there I have 
installed Linuxnode 0.3.2 and Fbb 7.0.4j for further experiments and 
connections to host (2) when running WinXP/BPQ32.)

> One of the "tricks" is to make sure Linux processed the echo -- just for
> completeness try:
> ...# cat /proc/sys/net/ipv4/ip_forward
> before and after the "echo..." command and see if it returns 1 or 0.
>

Done. Before "echo..." cat returns 1. After "echo..." it returns 1.
Does it mean that "echo..." is actually not needed?

> Until ping works, you probably don't need to try telnet.
> Nothing in standard jnos will defeat a ping response, so the ping reply
> most likely got lost finding it's way back to the point of origin.
>

Agree with that ...

More comments?

Misko

> Here is the structure of my LAN:
>
> (1)                     (2)                    (3)
> Debian/JNOS (or WinXP)  WinXP/BPQ32 (or Deb)   WinXP/BPQ32 (or Ubuntu)
> eth0 192.168.1.2 <----> NIC1 192.168.1.1
> tun0 192.168.1.3        NIC2 192.168.0.1 <---> NIC 192.168.0.2
> JNOS 192.168.1.4





More information about the nos-bbs mailing list