[Ilugc] One system: 2 NICs, 2 ISPs
- From: linux@xxxxxxxxxxxxxxxx (Suresh Ramasubramanian)
- Date: Sat, 22 May 2004 07:38:13 +0530
Suppose I start a service in the system, to which IP
address does it get bound to? For example, say if I
start a ssh daemon, it should get bound to a port and
an IP address to form a socket. So which NIC will be
chosen? and what decides which NIC will be chosen?
Unless you specifically provide sshd an interface to bind to, it will
bind to all available interfaces on that machine.
This is true of most other daemons.
After that it is up to you to set the gateway for the IP on each interface.
linux@xxxxxxxxxxxxxxxx (Suresh Ramasubramanian)
jaharkes@ravel:/usr/src$ mv linux Gnu/Linux
mv: cannot move `linux' to `Gnu/Linux': No such file or directory
jaharkes @ cs.cmu.edu in reply to RMS on linux.kernel
Other related posts: