Configuring a NET/ROM 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 NET/ROM address it should use to reach a particular IP host.
So, to create an nr0 device with an IP address of 126.96.36.199, an mtu of 512 and configured with the details from the /etc/ax25/nrports file for a NET/ROM port named netrom you would use:
# /usr/sbin/nrattach -i 188.8.131.52 -m 512 netrom # route add 184.108.40.206 nr0
or you could use something like the following commands manually:
# /usr/sbin/nrattach netrom # ifconfig nr0 220.127.116.11 netmask 255.255.255.0 hw netrom VK2KTJ-9 # route add 18.104.22.168 nr0
Then for each IP host you wish to reach via NET/ROM you need to set route and arp entries. To reach a destination host with an IP address of 22.214.171.124 at NET/ROM address BBS:VK3BBS via a NET/ROM neighbour with callsign VK2SUT-0 you would use commands as follows:
# route add 126.96.36.199 nr0 # arp -t netrom -s 188.8.131.52 vk2sut-0 # nrparms -nodes vk3bbs + BBS 120 6 sl0 vk2sut-0
The `120' and `6' arguments to the nrparms command are the NET/ROM quality and obsolescence count values for the route.