[Sunhelp] export of display

Dale Ghent daleg at elemental.org
Fri Oct 20 10:49:45 CDT 2000


On Fri, 20 Oct 2000, Van Niekerk, Ronelle wrote:

| Hey guys,
| 
| I want to run metatool on one of my machines (A)  which does not have a
| display. Only problem is that the only displays (C) I have are not reachable
| via network by that machine. There are, however, some machines (B) on
| another subnet that are reachable to both (displays and machine). How could
| I export my display (C) on the machine (A) by going through a machine on the
| "middle" subnet (B)?
| 
| As far as I know, this is not possible, but aybe one of you has found a work
| around. Any help would be appreciated.

Sure it is.

First, on machine B, you need to enable IP packet forwarding in the
kernel, since it's off by default. You can do this on the fly with:

ndd -set /dev/ip ip_forwarding 1

This will let you pass packets between interfaces on this
machine. Remember that this value doesnt stay between reboots. Just stick
it at the end of /etc/rc2.d/S69inet if you want it to.

Then on machines A and C, you must set the apropriate routes on them so
that they can talk to each other through the "router", which is machine
B. Consult the O'Reilly TCP/IP boo by Craig Hunt if you're not sure about
this.

/dale






More information about the SunHELP mailing list