Re: [gentoo-user] eth1:1 alais help

2006-03-10 Thread Boyd Stephen Smith Jr.
On Friday 10 March 2006 04:54, Mattias Merilai [EMAIL PROTECTED] 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



[gentoo-user] eth1:1 alais help

2006-03-06 Thread Michael W. Holdeman
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