Casper Gielen wrote:
> Excuse my ignorance but I need some basic help.
> First: I have this computer I use to connect to the Internet, my
> IP address is given to me dynamically. I also have another computer
> dialling into the first one with a modem. I want to make an TCP/IP
> connection between those two computers. How do I tell my computer
> to sometimes use the IP number assigned to me by my ISP and
> sometimes use another IP to allow dialing in? How do I set an
> IP address anyway.
An IP address is associated with a particular network interface, not
to the system as a whole.
For permanent interfaces (e.g. ethernet), you use ifconfig to set the
IP address.
For temporary interfaces (e.g. PPP, SLIP), the mechanism depends upon
the software which creates the interface (e.g. pppd, diplogin). For
pppd, the IP address can be specified in the /etc/ppp/options file or
on the command line.
--
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]