Linux AX25-HOWTO, Amateur Radio.: Configuring a NetRom interface for TCP/IP.
9. Configuring a NetRom interface for TCP/IP.Configuring a NetRom interface for TCP/IP is almost identical to configuring
an AX.25 interface for TCP/IP.Again you can either specify the ip address and mtu on the nrattach
command line, or use the ifconfig and route commands, but
you need to manually add arp entries for hosts you wish to route to
because there is no mechanism available for your machine to learn what
NetRom address it should use to reach a particular IP host.So, to create an nr0 device with an IP address of 44.136.8.5,
an mtu of 512 and configured with the details from the
/etc/ax25/nrports file for a NetRom port named netrom
you would use:
# /usr/sbin/nrattach -i 44.136.8.5 -m 512 netrom
# route add 44.136.8.5 nr0or you could use something like the following commands manually:
# /usr/sbin/nrattach netrom
# ifconfig nr0 44.136.8.5 netmask 255.255.255.0 hw netrom VK2KTJ-9
# route add 44.136.8.5 nr0Then for each IP host you wish to reach via NetRom you need to set route and
arp entries. To reach a destination host with an IP address of
44.136.80.4 at NetRom address BBS:VK3BBS via a NetRom
neighbour with callsign VK2SUT-0 you would use commands as follows:
# route add 44.136.80.4 nr0
# arp -t netrom -s 44.136.80.4 vk2sut-0
# nrparms -nodes vk3bbs + BBS 120 6 sl0 vk2sut-0The `120' and `6' arguments to the nrparms command
are the NetRom quality and obsolescence count values for the
route.
Wyszukiwarka
Podobne podstrony:
ax25 howto pl 2AX25 HOWTO pl 11ax25 howto pl 9ax25 howto pl 26ax25 howto 22ax25 howto pl 15ax25 howto 23ax25 howto 3AX25 HOWTO pl 20ax25 howto 13AX25 HOWTOAX25 HOWTO plax25 howto plax25 howto pl 13ax25 howto 24ax25 howto pl 18ax25 howtoax25 howto pl 23więcej podobnych podstron