mario sangalli
|
Re: Binding QNET to ip using QNX7.1
|
mario sangalli
10/27/2023 2:58 AM
post122411
|
Re: Binding QNET to ip using QNX7.1
Hi Geoffrey, qnet is documented in many places, but You can get some usefull info
about the dll options using this command:
use lsm-qnet.so
Try to use this command:
mount -Tio-pkt -o"mount=:",bind=fec0,bind=ip,resolve=dns lsm-qnet.so &
or:
mount -Tio-pkt -o bind=fec0,bind=ip,resolve=dns lsm-qnet.so &
Mount options is this one:
mount=directory[:[.]domain]*
A network directory. Default directory is "/net".
Default domain is either the hostname domain if
it has one, or the directory with the slashes changed
to dots and reversed. i.e. "/net/outside/canada" would
have a domain of "canada.outside.net".
The first mount is the default directory and domain
that the local hostname will resolve through.
I have specified the default options, so You can also omit the mount (it's just a my preference)
You have to specify two bind options, one for interface (fec0 or en0 or any other You have)
and one to bind the ip : it is not indented to be a OR option :-)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
Oct 27 08:44:43.600 iopkt.274462 main_buffer 0 lsm-qnet.so mount=:,bind=fec0,bind=ip,
resolve=dns
Oct 27 08:44:43.601 io_pkt_v6_hc.274462 slog 0 qnet(L4): qnet_birth(): qnet_init() -
calling
Oct 27 08:44:43.602 io_pkt_v6_hc.274462 slog 0 qnet(kif): mac_load(): security policy
not being used
Oct 27 08:44:43.604 io_pkt_v6_hc.274462 slog 0 qnet(L4): try_ifp(): new interface: fec0
: index 0 mac addr 20:0A:0D:70:1C:46
Oct 27 08:44:43.604 io_pkt_v6_hc.274462 slog 0 qnet(QOS): nd_change_notify(): Node Up:
nd 0 tec-cpucoms.net.intra
Oct 27 08:44:43.605 io_pkt_v6_hc.274462 slog 0 qnet(L4): qnet_birth(): qnet_init() -
complete
Oct 27 08:44:43.804 io_pkt_v6_hc.274462 slog 0 qnet(L4): lr_verify_my_name_and_domain()
: set _CS_DOMAIN
Oct 27 08:44:44.003 io_pkt_v6_hc.274462 slog 0 qnet(L4): lr_verify_my_name_and_domain()
: starting resolution of our hostname tec-cpucoms.net.intra
to ensure unique
Oct 27 08:44:44.329 iopkt.274462 main_buffer 0 mx6q_mii_callback(): link up lan 0 idx 0
(1000 BaseT Full Duplex)
Oct 27 08:44:44.403 io_pkt_v6_hc.274462 slog 0 qnet(L4): lr_verify_my_name_and_domain()
: qnet going online
Oct 27 08:44:44.604 io_pkt_v6_hc.274462 slog 0 qnet(L4): lr_inbound(): rxd pkt type 2
with duplicate name/domain, staying online
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|