Subject: Does ATM on NetBSD work ?
To: None <tech-net@netbsd.org>
From: Darren Reed <darrenr@reed.wattle.id.au>
List: tech-net
Date: 11/11/2000 13:42:29
Someone pointed out that there were commands to control PVC's (pvcsif,
pvctxctl) but what about ARP servers, etc ?

Also, how do you configure all those parts or doesn't NetBSD need that?

For example, without an ATM switch, I can get a crossover ATM setup
working with:

clipconfig add -if ci0 -arpserver wellknown
cliparp add -pvc 0 100 llc_routed ci0

for classical IP over ATM (FORE ATM cards in Solaris) and I get two
interfaces:

fa0: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 9188
        inet 192.168.8.2 netmask ffffff00 broadcast 192.168.8.255
        ether 0:20:48:6:9:8a 
ci0: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 9180
        inet 192.168.10.2 netmask ffffff00 broadcast 192.168.10.255
        ether 0:20:48:6:9:8a 

# clipconfig show
Interface               : ci0
Configured unit         : 0
Local address           : 47.0005.80.ffe100.0000.f115.0bab.00204806098a.00
ARP Server address      : 47.0079.00.010200.0000.0000.0000.00a03e000002.00
  ARP Server VCC        :   unit=- vpi/vci=-/-
MTU                     : 9180
State                   : initial

(State being set to "initial" worries me).

On NetBSD I have:

en0: flags=861<UP,NOTRAILERS,RUNNING,SIMPLEX> mtu 9180
        inet 192.168.8.1 netmask 0xffffff00
pvc0: flags=8871<UP,POINTOPOINT,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 9180
        inet 192.168.10.1 -> 192.168.10.2 netmask 0xffffff00
        inet6 fe80::a00:20ff:fe12:c61b%pvc0 -> :: prefixlen 64 scopeid 0xa
# pvctxctl pvc0
  pvc0 (bound to en0): vci:[0:100] (AAL5/LLCSNAP) pcr:0(full speed)

Now, why is pvc0 a "POINTOPOINT" link ?  (well, so it is true in this case :)

On the console, I see:

/netbsd: atm_rtrequest: bad gateway value

Does this all look correct ?

Darren