On Wed, 22 Sep 1999, Gregg Lloyd wrote:

> My question is: In the line "kepler:slip01 ", is "kepler" the name of
> the machine and "slip01" is of course the 1st slip interface. But you
> said before, that it should be the IP of the machine "kepler" and an
> another IP used for that port (which means port slip01).  So , let's
> say that "kepler" is the name of my linux box and that it's IP is
> 192.168.1.2.  And that the port I'm using is ppp1. Can I attribute an
> IP to my port ppp1 and have this set this way:  
> 192.168.1.2:<IP_I_attribute_to_the_PPP-port> instead of "kepler:slip01"

Pretty much.

What you want is the IP address of your host, a colon, followed by the IP
address you want to assign to the remote system connected to the serial
port.

Unless you have multiple IP addresses for your host (virtual servers,
multiple ethernet cards), you can leave out the server IP address.  For
each options.ttyxx file (one per dial-in port), assign a different
available IP address on your network.  Put modem/connection specific
options in the options.ttyxx files, and leave only the generic stuff in
options.

For example, my options.ttyS0 file looks something like this (IPX settings
optional):

# Point-to-Point Protocol Daemon 2.3.x options for /dev/ttyS0

# device
modem                   # use modem control lines (DCD, DTR)
115200                  # data rate in bps
crtscts                 # use hardware handshaking

# IP network configuration
:140.90.123.212         # assign IP address to remote peer

# IPX network configuration
ipx                     # enable IPX
ipx-network 3b5902f0    # assign network address to remote peer
ipx-node 10:50          # set local node to 10, default remote node to 50

<end>

Geof Goodrum


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to