[nos-bbs] Jnos routing problem
kd4yal at tampabay.rr.com
kd4yal at tampabay.rr.com
Sat Oct 28 15:43:56 EDT 2006
Greetings to everyone on the list,
I just recently started to setup Jnos 2.0e on my Mandriva 2006 Linux
server and seem to be having a routing problem.
I am not new to Jnos and/or setting up routing statements but I am
surly missing something here.
I compiled my Jnos from the source found at VE4KLM website. I pretty
much used all the defaults and followed VE4KLM instructions.
My lan setup is as of the following:
Inet 24.x.x.x
|
|
Router1 192.168.15.1
|
|
AP/Router1 172.22.1.1
|
|
AP/Router2 172.22.1.2 --- Linux 172.22.1.5 --- Jnos 172.24.1.1
I have setup routing statements to tell AP/Router1 and 2 to route all
172.24.1.0/24 though 172.22.1.5 but I can’t seem to get Jnos to route
beyond my LinuxBox. There is no firewall running on Linux and Linux is
talking to the rest of the network. The only thing I have found a
little strange is when I look at the tun0 interface on linux I see
this.
[root at linuxbox ~]# ifconfig tun0
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-
00-00-00-00
inet addr:172.22.1.5 P-t-P:172.24.1.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:32 (32.0 b) TX bytes:0 (0.0 b)
I am using the folling in my autoexec.nos:
attach tun tun0 1500 0
#
ifconfig tun0 ipaddress 172.24.1.1
ifconfig tun0 netmask 255.255.255.0
ifconfig tun0 mtu 1500
tr tun0 0111
#
pause 1
#
shell ifconfig tun0 172.22.1.5 pointopoint 172.24.1.1 mtu 1500 up
#
route add 172.22.1.0/24 tun0
route add default tun0
Any help with this is very much appreciated.
73's de Jerry DeLong, KD4YAL
More information about the nos-bbs
mailing list