iso stack setup and programming problems under netbsd

From: kritzner _at_/bei logicway ./punkt de (_at_/bei)
Date: 07/07/05

  • Next message: Frederick Bruckman: "Re: Accepting external sendmail on 2.0.2"
    Date: 7 Jul 2005 03:22:57 -0700
    
    

    While trying to ISO/OSI-communicate with an own application I
    experienced some naming/routing problems an would highly appreciate if
    someone could provide a working example or give a clue.

    Situation: 3 Computers, directly connected over LAN
         OS MAC/SNPA NSAP
    (1) NetBSD 2.0.2 00:01:02:0b:2a:e0
    (2) NetBSD 2.0.2 00:04:2b:00:04:a5
    (3) WinNT4.0 00:80:2b:00:80:6f 49.0.89.5a.cd.1

    With command
    ifconfig ex0 iso 49..89.5a.cd.02 netmask 0.0.0.0.0.0
    iso networking for computer (1) was set up. Similar for (2). ESIS
    packets are exchanged, in iso network monitor on (3) all 3 computers
    are displayed:
         NSAP SNPA
    (1) 49.0.89.5a.cd.2 00:01:02:0b:2a:e0
    (2) 49.0.89.5a.cd.3 00:04:2b:00:04:a5
    (3) 49.0.89.5a.cd.1 00:80:2b:00:80:6f

    Under NetBSD the iso routing table (route show) looks like:
    ISO:
    Destination Gateway Flags
    (7) 0000 0000 000 link#0 U
    (7) 0000 0006 490 00:80:2b:00:80:6f UH
    (7) 0000 0006 490 00:01:02:0b:2a:e0 UH
    (7) 0000 000c 490 link#0 UH
    (7) 0000 000e 490 link#0 UH
    (7) 0000 0006 490 00:04:2b:00:04:a5 UH

    Now I tried to establish a raw clnp data connection with an own
    C-program (both source and sink on the same computer). I chose 8001
    (siso_tlen=2) to be the TSEL for this transmission. Because of a lack
    of information I assumed to concatenate NSAP and TSEL to an ISO
    address. I gave the server (sink) the address "49.0.89.5a.cd.2.8001"
    and tried to connect with the client (source) to the same address. With
    netstat -a this looks like:
    Active ISO net connections (including servers)
    Proto Recv-Q Send-Q Local Address Foreign Address
    (state)
    tp 0 0 (4.2) (0.0) TP_CRSENT(0x
    tp 0 0 (0.0) *.* TP_LISTENING

    After connection timeout netstat -a says:
    Active ISO net connections (including servers)
    Proto Recv-Q Send-Q Local Address Foreign Address
    (state)
    tp 0 0 {49.0.89.5a.cd.2}
    {49.0.89.5a.cd.2.80.1}[0.0.0.0.0.0.0.0.0.0.0.0.4.8.4c.9e.4.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0]<0.0.0.0.0>
     TP_REFWAIT(0
    tp 0 0 (0.0) *.* TP_LISTENING

    While trying to establish a connection a CLNP packet is sent over the
    ethernet to the destination 09:00:2b:00:00:04 that does match neither
    any of the known network hosts nor the given target address. What
    mechanism of routing happens here?

    Can anyone give an example of how to correct setup interfaces and
    routing for iso-networking under netbsd? Has anyone a hint for
    adressing in the sockaddr_iso structure. Thanks in advance.

    Arndt


  • Next message: Frederick Bruckman: "Re: Accepting external sendmail on 2.0.2"

    Relevant Pages

    • Re: Networking
      ... It is a simple direct cable network with no router. ... printer between these computers and let them access the net ... Also aren't these settings individual to each connection you set ...
      (microsoft.public.windowsxp.network_web)
    • Re: Networking
      ... It is a simple direct cable network with no router. ... printer between these computers and let them access the net ... Also aren't these settings individual to each connection you set ...
      (microsoft.public.windowsxp.network_web)
    • Re: Networking
      ... It is a simple direct cable network with no router. ... printer between these computers and let them access the net ... Also aren't these settings individual to each connection you set ...
      (microsoft.public.windowsxp.network_web)
    • Re: Help me with shared XP Prof.
      ... >Ethernet adapter Local Area Connection: ... > Master browser name is: ... > 2 backup servers retrieved from master COMP_3 ... Let's see what we know from these 3 computers. ...
      (microsoft.public.windowsxp.network_web)
    • Re: Problem with 1 of 4 computers using MN-500 Router
      ... The Desktop that thinks it's not connected but my other computers can ... : Ethernet adapter Network Bridge 5: ... : Ethernet adapter Wireless Network Connection: ... connecting to the router wirelessly? ...
      (microsoft.public.windows.server.networking)