can't ping (tcp/ip)
Hello,
two years ago, a I had my first experience with ax25
(amateur radio and cb)
Now I planed to configure ax25 again, to connect
my linux box with the linux box from a friend, not
far from here.
Setup here:
slink with 2.0.36 (self compiles, ax25 support
as modules)
tnc2S with two 1k2 modems (one for ham radio,
the other one for cb)
/sbin/modprobe mkiss
/usr/sbin/mkiss -s 9600 /dev/ttyS1 /dev/ptypa /dev/ptypb
/usr/sbin/kissattach /dev/ttypa port0
/sbin/ifconfig ax0 44.130.176.68 netmask 255.255.255.0 up
/sbin/ifconfig ax0 broadcast 44.130.176.255 mtu 512
/usr/sbin/kissattach -i 192.168.127.2 -m 1024 /dev/ttypb port1
/sbin/route add -net 44.0.0.0 netmask 255.0.0.0 ax0
/sbin/route add -net 192.168.127.0 ax1
kissparms -p port0 -t 300 -s 100 -r 25
kissparms -p port1 -t 200 -s 100 -r 25
After all, ifconfig says:
ax0 Link encap:AMPR AX.25 HWaddr DD0UL-1
inet addr:44.130.176.68 Bcast:44.130.176.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:512 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
ax1 Link encap:AMPR AX.25 HWaddr LINUX2
inet addr:192.168.127.2 Mask:255.255.255.0
UP RUNNING MTU:1024 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
And route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 3 eth0
192.168.127.0 * 255.255.255.0 U 0 0 2 ax1
127.0.0.0 * 255.0.0.0 U 0 0 4 lo
44.0.0.0 * 255.0.0.0 U 0 0 3 ax0
But I can only ping to my own IP adress without error messages:
cassiopeia:/etc/init.d # ping -c 1 44.130.176.68
PING 44.130.176.68 (44.130.176.68): 56 data bytes
64 bytes from 44.130.176.68: icmp_seq=0 ttl=64 time=0.6 ms
When I try to ping an other IP adress on the same network an error:
cassiopeia:/etc/init.d # ping -c 1 44.130.176.69
PING 44.130.176.69 (44.130.176.69): 56 data bytes
ping: sendto: Operation not permitted
ping: wrote 44.130.176.69 64 chars, ret=-1
What is wrong? Which command do i have to add to my script?
Thanks for your help!
Michael, DD0UL
--
|Michael Renner E-mail: michael.renner@gmx.de |
|D-72072 Tuebingen Germany |
|Germany Don't drink as root! ESC:wq
Reply to: