[FC3] Samba and multiple IP addresses on one machine

P Jones mail4xxxx at imap.cc
Sun Dec 12 20:49:13 UTC 2004


On Sun, 2004-12-12 at 14:27 -0500, Scot L. Harris wrote:
> On Sun, 2004-12-12 at 14:23, P Jones wrote:
> > Hi All;
> > 
> > I have two IP addresses on my FC3 machine, 192.168.0.101 on eth0 (a
> > physical ethernet card) and 192.168.0.99 on eth0:1 (a virtual device).
> > Samba, by default, runs on 192.168.0.99, and I'd like it to run on
> > 192.168.0.101 .
> > 
> > The first question is how do I have Samba server run on 192.168.0.101,
> > but the second question is this; why does Samba choose to run on the
> > secondary virtual device as opposed to the primary physical device on
> > the machine?
> > 
> > Thanks,
> > 
> > -P
> 
> Possibly due to the IP addressing used.  Binds to the first IP address
> in that range.  
> 
> Curious why you are using two IPs in the same subnet?
> 
> -- 
> Scot L. Harris
> webid at cfl.rr.com

Hi Scot;

I do it because I run an HTTP proxy which forwards to an ssh forward on
192.168.0.101, and then I wanted to run a test web site on the same
machine, so I set up the second IP to run apache on. I have no idea if
this is the "right" way to go about it, but it works, so that's what I
do.

-P




More information about the fedora-list mailing list