On 5 Oct 2006 at 14:02, Kern Sibbald wrote: > On Thursday 05 October 2006 11:02, James Ray wrote: > > All, > > I am wanting the communications from bacula to come out of the same IP > > address I have DirAddress set as in the Director {} resource. This is > > not the default system address. > > > > I have just tried to do this with IPTables and source NATing but due to > > a bug in the Fedora Kernel (or what seems to be) I get a panic ;( > > > > Any ideas other than me writing a quick patch to do it? > > Could you explain in detail why you would want to do this? > > Could you explain what components you are talking about when you say you are > wanting "communications from bacula"? (Director, Console, File daemon, > Storage daemon), and to where? (each of the daemons carry on several > different kinds of network conversations -- Dir=3, Console=1, FD=2, SD=2). > See the daemon interconnection picture in the beginning of the manual for the > details of who talks to whom. > > Also, could you explain how it is possible to use a different address than > the > one which is "assigned" to your computer?
Kern: I think James is referring to situations I've seen before. A daemon can be set up to listen on varioius addresses, but when it comes to initiating outgoing communications, it uses "the default system address", for lack of a better term. For example, in this setup, the main address is 192.168.0.67. There is an alias at 192.168.0.68. Note the netmasks differ. $ ifconfig fxp0 fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=8<VLAN_MTU> inet6 fe80::204:acff:fea3:703d%fxp0 prefixlen 64 scopeid 0x1 inet 192.168.0.67 netmask 0xffffff00 broadcast 192.168.0.255 inet 192.168.0.68 netmask 0xffffffff broadcast 192.168.0.68 ether 00:04:ac:a3:70:3d media: Ethernet autoselect (100baseTX <full-duplex>) status: active I've seen it where daemons are configured to listen to all addresses, but initate outgoing connections only on the main address. However, if a daemon is configured to use just one address, everything should go out through that one address.. But... I think I've send James what he needs in a previous message. -- Dan Langille : Software Developer looking for work my resume: http://www.freebsddiary.org/dan_langille.php ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users