<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.10.3">
</HEAD>
<BODY>
A couple small changes you might want to try also Joe:<BR>
Good luck with your mobile fleet...<BR>
<BR>
On Sun, 2006-09-10 at 20:33 -0400, Joe Landers wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hello Everyone</FONT>
<FONT COLOR="#000000">I have a configuration problem and I cannot identify which is the </FONT>
<FONT COLOR="#000000">problem I may give too much information but here it goes...</FONT>
<FONT COLOR="#000000">The problem I have is on the JNOS side cannot connect to the Internet </FONT>
<FONT COLOR="#000000">. I can ping up to the router but not outside the router to the Internet.</FONT>
<FONT COLOR="#000000">On the Linux Side I can ping the Internet <A HREF="http://www.yahoo.com">www.yahoo.com</A> ...but not on JNOS.</FONT>
<FONT COLOR="#000000">My host for my Internet is Comcast</FONT>
<FONT COLOR="#000000">I also have forwarding on in linux.</FONT>
<FONT COLOR="#000000">=========================================================</FONT>
<FONT COLOR="#000000">Jnos ifconfig shows ...</FONT>
<FONT COLOR="#000000">vhf IP addr 44.62.0.252 mtu 256 link excap AX25</FONT>
<FONT COLOR="#000000"> Link addr KE4EUE BBS ke4eue-8 paclen 256 irtt 1500</FONT>
<FONT COLOR="#000000"> BCtext : KE4EUE RACES mobile services Chesterfield Va.</FONT>
<FONT COLOR="#000000"> flags 0xcb0 trace 0x311 netmask 0x00000000 Broadcast 0.0.0.0</FONT>
<FONT COLOR="#000000">tun0 IP addr 192.168.0.131 mtu 1500 link encap TUN</FONT>
<FONT COLOR="#000000"> flags 0x0 trace 0x0 netmask 0x00000255 broadcast 0.0.0.0</FONT>
<FONT COLOR="#000000">loopback IP addr 127.0.0.1 mtu 65535 link encap none</FONT>
<FONT COLOR="#000000"> flags 0x0 trace 0x0 netmask 0xffffffff broadcast </FONT>
<FONT COLOR="#000000">255.255.255.255</FONT>
<FONT COLOR="#000000">encap IP addr 0.0.0.0 mtu 65535 link encap none</FONT>
<FONT COLOR="#000000"> flags 0x0 trace 0x0 netmask 0xffffffff broadcast </FONT>
<FONT COLOR="#000000">255.255.255.255</FONT>
<FONT COLOR="#000000">============================================================</FONT>
<FONT COLOR="#000000">Linux ifconfig shows</FONT>
<FONT COLOR="#000000">eth0 Link encap: Ethernet HWaddr 00:04:5a:50:aa:e3</FONT>
<FONT COLOR="#000000"> inet addr 192.168.0.3 Bcast </FONT>
<FONT COLOR="#000000">192.168.0.255 mask 255.255.255.0</FONT>
<FONT COLOR="#000000"> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1</FONT>
<FONT COLOR="#000000"> rx packets : 319486 errors:0 dropped :0 overruns :0 frame:0</FONT>
<FONT COLOR="#000000"> tx packets : 9037 errors:0 dropped :0 overruns:0 carrier:0</FONT>
<FONT COLOR="#000000"> collisions:0 txqueuelen:100</FONT>
<FONT COLOR="#000000"> RX bytes:21172675 (20.1mb) TX bytes 1059932 (1.0mb)</FONT>
<FONT COLOR="#000000"> Interrupt :5 base address :0xb000</FONT>
<FONT COLOR="#000000">lo link encap :local loopback</FONT>
<FONT COLOR="#000000"> ip addr 127.0.0.1 mask 255.0.0.0</FONT>
<FONT COLOR="#000000"> UP LOOPBACK RUNNING MTU:16436 Metric:1</FONT>
<FONT COLOR="#000000"> RX packets :663771 errors:0 dropped:0 overruns:0 frame:0</FONT>
<FONT COLOR="#000000"> TX packets: 663771 errors:0 dropped:0 overruns:0 carrier:0</FONT>
<FONT COLOR="#000000"> collisions:0 txqueuelen:0</FONT>
<FONT COLOR="#000000"> Rx bytes :45330598 (43.2mb) TX bytes : 45330598 (43.2mb)</FONT>
<FONT COLOR="#000000">tun0 Link encap : point-to-point protocol</FONT>
<FONT COLOR="#000000"> inet addr:192.168.0.130 p-t-p:192.168.0.131 mask </FONT>
<FONT COLOR="#000000">255.255.255.255</FONT>
<FONT COLOR="#000000"> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 metric:1</FONT>
<FONT COLOR="#000000"> RX packets :1 errors:0 dropped:0 overruns:0 frame:0</FONT>
<FONT COLOR="#000000"> TX packets: 1 errors:0 dropped:0 overruns:0 carrier:0</FONT>
<FONT COLOR="#000000"> collisions:0 txqueuelen:10</FONT>
<FONT COLOR="#000000"> Rx bytes :32 (32.0b) TX bytes : 32 (32.0b)</FONT>
<FONT COLOR="#000000">==================================================================</FONT>
<FONT COLOR="#000000">Here is the routing from each</FONT>
<FONT COLOR="#000000">Jnos</FONT>
<FONT COLOR="#000000">Destination Len Interface </FONT>
<FONT COLOR="#000000">Gateway Metric P timer use</FONT>
<FONT COLOR="#000000">44.0.0.0 8 vhf </FONT>
<FONT COLOR="#000000"> 1 man 0</FONT>
<FONT COLOR="#000000">192.168.0.1 32 tun0 </FONT>
<FONT COLOR="#000000"> 1 man 1</FONT>
<FONT COLOR="#000000">default 0 tun0 </FONT>
<FONT COLOR="#000000"> 1 man 0</FONT>
<FONT COLOR="#000000">===========================================================================</FONT>
<FONT COLOR="#000000">Linux</FONT>
<FONT COLOR="#000000">Destination Gateway Genmask </FONT>
<FONT COLOR="#000000"> Flags Metric Ref use Iface</FONT>
<FONT COLOR="#000000">192.168.0.131 * </FONT>
<FONT COLOR="#000000">255.255.255.255 uh 0 0 </FONT>
<FONT COLOR="#000000"> 0 &#-1;</FONT>&#-1; tun0
</PRE>
</BLOCKQUOTE>
This is OK if your gateway router can send packets here. In order for the gateway to recognize the jnos end of tun0 ...131, you have two choices to get this done:<BR>
Choice one: create an arp command at jnos initialization time to announce to LAN the ...131 address with the MAC address of the eth0 port<BR>
Choice two: create a static route on the bridge router with the eth0 IP as a gateway to ...131 netmask 255.255.255.255.
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">192.168.0.0 * </FONT>
<FONT COLOR="#000000">255.255.255.0 u 0 0 </FONT>
<FONT COLOR="#000000"> 0 eth0</FONT>
<FONT COLOR="#000000">169.254.0.0 * 255.255.0.0 </FONT>
<FONT COLOR="#000000"> u 0 0 </FONT>
<FONT COLOR="#000000">0 eth0</FONT>
<FONT COLOR="#000000">127.0.0.0 * 255.0.0.0 </FONT>
<FONT COLOR="#000000"> u 0 0 </FONT>
<FONT COLOR="#000000"> 0 lo</FONT>
<FONT COLOR="#000000">default 192.168.0.1 0.0.0.0 </FONT>
<FONT COLOR="#000000"> ug 0 0 </FONT>
<FONT COLOR="#000000">0 eth0</FONT>
<FONT COLOR="#000000">=======================================================================================</FONT>
<FONT COLOR="#000000">Here is my Autoexec.nos setup</FONT>
<FONT COLOR="#000000">DNS server info</FONT>
<FONT COLOR="#000000">domain addserver 192.168.0.1</FONT>
<FONT COLOR="#000000">domain addserver 68.57.xxx.xxx (my Comcast ip</FONT>)
</PRE>
</BLOCKQUOTE>
The second address will usually be accessible by virtue of the 192.168.0.1 DNS, if you want another DNS you might want to choose a non-ISP server.
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Ethernet setup</FONT>
<FONT COLOR="#000000">ipaddress 44.62.0.252</FONT>
<FONT COLOR="#000000">attach tun tun0 1500 0</FONT>
<FONT COLOR="#000000">ifconfig tun0 ipaddress 192.168.0.131</FONT>
<FONT COLOR="#000000">ifconfig tun0 netmask 255.255.255.0</FONT>
<FONT COLOR="#000000">ifconfig tun0 mtu 1500</FONT>
<FONT COLOR="#000000">pause 2</FONT>
<FONT COLOR="#000000">shell ifconfig tun0 192.168.0.130 pointopoint 192.168.0.131 mtu 1500 up</FONT>
<FONT COLOR="#000000">also down the line</FONT>
<FONT COLOR="#000000">route add 192.168.0.1/36 tun0</FONT>
</PRE>
</BLOCKQUOTE>
There are only 32 bits in IPv4, and you have defined a Class C LAN, so this probably would be well as a 192.168.0/24...
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">route add default tun0</FONT>
</PRE>
</BLOCKQUOTE>
As pointed out before, this needs the gateway 192.168.0.1 parameter added. <BR>
Some warnings exist against a "default" under jnos... Personally I have not experienced a problem with it.
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">route add 44/8 vhf</FONT>
</PRE>
</BLOCKQUOTE>
You probably don't mean this? This will send ALL 44 traffic to your one radio but most of the world is unreachable...<BR>
Because you probably have 44... neighbors, you might want to add each one individually as a RF route.<BR>
The AMPR.NET encap routes will allow you to reach the others - Check into permissions to use these when you establish "public" Internet neighbors.
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">===============================================================</FONT>
<FONT COLOR="#000000">I hope I provided enough It seems like JNOS and Linux are not </FONT>
<FONT COLOR="#000000">agreeing on the ports or jnos does not have permission but I am not </FONT>
<FONT COLOR="#000000">sure how to set it if this is the problem.</FONT>
<FONT COLOR="#000000">I would like some help with this as it is about the last thing I have </FONT>
<FONT COLOR="#000000">on the ether net side to do .</FONT>
<FONT COLOR="#000000">Thanks to everyone</FONT>
<FONT COLOR="#000000">Joe Landers</FONT>
<FONT COLOR="#000000">KE4EUE</FONT>
<FONT COLOR="#000000">Assistant Emergency Radio officer for Chesterfield Co. Va.</FONT>
<FONT COLOR="#000000">Owner: of the 145.390 repeater located in Chesterfield Co. Va.</FONT>
<FONT COLOR="#000000">Advanced Skywarn Spotter Central Va. VCFD0022</FONT>
<FONT COLOR="#000000">Director of Communications for Va. Special Olympics</FONT>
<FONT COLOR="#000000">IRLP Node Owner on SySop for nodes 4407 & 4860</FONT>
<FONT COLOR="#000000">Owner:Chesterfield RACES Mobile Communications Units</FONT>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
73<BR>
de Skip k8rra k<BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>