9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] net.alt
@ 2001-05-28  5:40 Russ Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Russ Cox @ 2001-05-28  5:40 UTC (permalink / raw)
  To: 9fans

cs doesn't know about net.alt.
dial knows about net.alt (see /sys/src/libc/9sys/dial.c).
there's a cs for each network directory,
so when you import your gateway's /net.alt
you get its /net.alt/cs.

dial knows to try /net/cs and then /net.alt/cs.

russ


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [9fans] net.alt
@ 2001-05-26 20:50 anothy
  0 siblings, 0 replies; 2+ messages in thread
From: anothy @ 2001-05-26 20:50 UTC (permalink / raw)
  To: 9fans

how can cs be made to know about net.alt? i'm trying to do
something like 'import gateway /net /net.alt' and i want to
be able to get through it. the cs man page makes some
mention of cs figuring out what networks are available by
looking for /net/*/clone, and that extras can be added by
writing to /net/cs. do i need to do something there? must
the /net.alt be imported before cs starts (dificult, given
that i need cs to resolve my gateway's name)? or should i
bind a dummy IP interface (#I1) on /net.alt before starting
cs? and is cs smart enough to look at routing info, or does
it assume the first usable network wins?

also, related but seperate, how can one make use of the other
14 #I stacks in the kernel? can i create /net.other, net.2,
etc., and have cs understand?
-α.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-28  5:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-28  5:40 [9fans] net.alt Russ Cox
  -- strict thread matches above, loose matches on Subject: below --
2001-05-26 20:50 anothy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).