[nos-bbs] two jnos computers on same lan...
jerome schatten
romers at shaw.ca
Tue Jan 1 17:57:03 EST 2013
I'm trying to get _two separate computers_ on the _same LAN_, each
running jnos, to talk to each other via an axip link. Should be
easy-peasy but I can't seem to get it to work.
Pings:
Each instance of jnos has a tun interface that works. Each jnos has a
ethernet connection to the router. Each jnos, from the jnos prompt
'jnos>' or the bbs prompt, can ping both sides of their respective tun
interfaces and the router. Each can ping hosts outside the LAN from the
jnos prompt or the bbs prompt.
But they cannot ping each other nor connect to each other -- they don't
see each other at all.
Here's how I set things up for each machine (excerpted from
autoexec.nos):
Computer #1's jnos ip: 44.135.160.40
lan ip: 192.168.1.102
tun0: linux 192.168.1.148 <-> 192.168.1.149 jnos
44.135.160.40 encap 192.168.1.102 (in route add statement)
route add default tun0
Axip link from #1 to #2
#####################################
attach axip nr2 236 44.135.172.130 ve7ass-7
ifconfig nr2 ipaddress 44.135.160.40
ifconfig nr2 description "nr1 to nr2"
blah-blah
[...]
================================================
Computer #2: jnos ip: 44.135.160.40 ve7poo-7
Lan ip: 192.168.1.107
tun0: linux 192.168.1.144 <-> 192.168.1.145 jnos
44.135.172.130 encap 192.168.1.107 (in route add statement)
route add default tun0
Axip link from #2 to #1
###################################
attach axip nr1 236 44.135.160.40
ifconfig nr1 ipaddress 44.135.172.130
ifconfig description "nr2 to nr1"
blah-blah
[...]
===============================================
Where have I gone wrong with this?
Thanks in advance and HNY!
jerome ve7ass
More information about the nos-bbs
mailing list