public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] eth1:1 alais help
@ 2006-03-06 15:52 Michael W. Holdeman
  2006-03-06 23:01 ` [gentoo-user] samba help Iain Buchanan
  2006-03-10 10:54 ` [gentoo-user] eth1:1 alais help Mattias Merilai
  0 siblings, 2 replies; 4+ messages in thread
From: Michael W. Holdeman @ 2006-03-06 15:52 UTC (permalink / raw
  To: gentoo-user

I have a wireless card in my laptop, setup on all my ap's it is assigned 
192.168.14.102. My vm-ware is setup to use samba to share the drives on teh 
laptop. Now I have the necessity to use ap's that are set-up to use 
192.168.0.nn series ip addresses, so therefore samba does not work properly 
to share those disk drives.

I want to use possible an alaised eth1:1? and set it at 192.168.14.102 somehow 
to get samba to work correctly, and I am lost..

Any info would be appreciated.

Mike
-- 
 
Michael W. Holdeman


________________________________________
Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.15-ck2                       |
VMWare Workstation 5.5.1 vmware.com     |
Win4LinPro 6.1.1-03 win4lin.com         |
________________________________________|
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] samba help
  2006-03-06 15:52 [gentoo-user] eth1:1 alais help Michael W. Holdeman
@ 2006-03-06 23:01 ` Iain Buchanan
  2006-03-10 10:54 ` [gentoo-user] eth1:1 alais help Mattias Merilai
  1 sibling, 0 replies; 4+ messages in thread
From: Iain Buchanan @ 2006-03-06 23:01 UTC (permalink / raw
  To: gentoo-user

On Mon, 2006-03-06 at 10:52 -0500, Michael W. Holdeman wrote:
> I have a wireless card in my laptop,
> 192.168.14.102.
[snip]
> Now I have the necessity to use ap's that are set-up to use 
> 192.168.0.nn series ip addresses, so therefore samba does not work properly 
> to share those disk drives.

As far as I remember, samba should be able to talk on all your
interfaces.  In fact, I don't think it binds to any particular one by
default.

Have a look at your smb help under "bind interfaces only" and
"interfaces".

" By default Samba will query the kernel for the list of all active
interfaces  and  use  any  interfaces except 127.0.0.1 that are
broadcast capable."

For me, samba listens on all my interfaces and aliases by default.  I
use iptables to block some interfaces.

Let us know how it goes,
-- 
Iain Buchanan <iain at netspace dot net dot au>

He asked me if I knew what time it was -- I said yes, but not right now.
		-- Steven Wright

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] eth1:1 alais help
  2006-03-06 15:52 [gentoo-user] eth1:1 alais help Michael W. Holdeman
  2006-03-06 23:01 ` [gentoo-user] samba help Iain Buchanan
@ 2006-03-10 10:54 ` Mattias Merilai
  2006-03-11  2:12   ` Boyd Stephen Smith Jr.
  1 sibling, 1 reply; 4+ messages in thread
From: Mattias Merilai @ 2006-03-10 10:54 UTC (permalink / raw
  To: gentoo-user

Michael W. Holdeman wrote:

>I have a wireless card in my laptop, setup on all my ap's it is assigned 
>192.168.14.102. My vm-ware is setup to use samba to share the drives on teh 
>laptop. Now I have the necessity to use ap's that are set-up to use 
>192.168.0.nn series ip addresses, so therefore samba does not work properly 
>to share those disk drives.
>
>I want to use possible an alaised eth1:1? and set it at 192.168.14.102 somehow 
>to get samba to work correctly, and I am lost..
>
>Any info would be appreciated.
>
>Mike
>  
>
This is a snip of /etc/conf.d/net from one of my servers.

config_eth0=(
"192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255"
"192.168.2.2 netmask 255.255.255.0 brd 192.168.2.255"
"192.168.3.2 netmask 255.255.255.0 brd 192.168.3.255"
)

Works for me, but i'm not sure about the /24 netmasks - aliasing 
interfaces on my freebsd boxen i came upon the requirement to set 
netmasks of aliases to 255.255.255.255.
Just checked out - I seem to have some trouble connecting between the 
machines. Maybe someone can point me to some good information about 
netmasks and aliases?
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] eth1:1 alais help
  2006-03-10 10:54 ` [gentoo-user] eth1:1 alais help Mattias Merilai
@ 2006-03-11  2:12   ` Boyd Stephen Smith Jr.
  0 siblings, 0 replies; 4+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-03-11  2:12 UTC (permalink / raw
  To: gentoo-user

On Friday 10 March 2006 04:54, Mattias Merilai <jah@ut.ee> wrote about 'Re: 
[gentoo-user] eth1:1 alais help':
> Michael W. Holdeman wrote:
> >I have a wireless card in my laptop, setup on all my ap's it is
> > assigned 192.168.14.102. My vm-ware is setup to use samba to share the
> > drives on teh laptop. Now I have the necessity to use ap's that are
> > set-up to use 192.168.0.nn series ip addresses, so therefore samba
> > does not work properly to share those disk drives.
> >
> >I want to use possible an alaised eth1:1? and set it at 192.168.14.102
> > somehow to get samba to work correctly, and I am lost..
>
> This is a snip of /etc/conf.d/net from one of my servers.
>
> config_eth0=(
> "192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255"
> "192.168.2.2 netmask 255.255.255.0 brd 192.168.2.255"
> "192.168.3.2 netmask 255.255.255.0 brd 192.168.3.255"
> )
>
> Works for me, but i'm not sure about the /24 netmasks - aliasing
> interfaces on my freebsd boxen i came upon the requirement to set
> netmasks of aliases to 255.255.255.255.
> Just checked out - I seem to have some trouble connecting between the
> machines. Maybe someone can point me to some good information about
> netmasks and aliases?

The documentation for iproute2 (or maybe it was the kernel...) mentions 
that all addresses assigned to a link/interface are equal and doesn't 
refer to them as aliases.  I don't remember anything in the document 
requiring /32 netmasks, so I'm fairly sure you don't need to do that.

HOWEVER, you probably do want to check your routing tables and make sure 
they are sane.  You don't want packets to have multiple outgoing routes, 
normally.

As for references.  I'd say the your best sources are the TLDP's Advanced 
Linux Routing and Traffic Control HOWTO, the iproute2 documentation (man 
pages and such), and the kernel documentation.  The TLDP's ALRaTCHT is 
incomplete in a few areas, but easier to digest than the other two.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-11  2:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-06 15:52 [gentoo-user] eth1:1 alais help Michael W. Holdeman
2006-03-06 23:01 ` [gentoo-user] samba help Iain Buchanan
2006-03-10 10:54 ` [gentoo-user] eth1:1 alais help Mattias Merilai
2006-03-11  2:12   ` Boyd Stephen Smith Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox