traffic shaping
Hi...
Quoted 3 lines
Using two IP aliases you could...
so folder A is shared on the alias 192.168.0.1 and folder B on 192.168.0.2, then limit the traffic by IP.
You made it sound very simple, so i thought i can do it. But my beginner-ness didn't allow me...
I have set the different IP aliases, but i don't know how i can share folders on different aliases.
I suppose this has to be done in smb.conf, right?
I have read all of the smb.conf man, but couldn't find anything.
How can i share different folders on different aliases? Thanks,
antonis.
PS: My smb.conf file:
[global]
netbios name = smbSrv
workgroup = myGroup
security = user
encrypt passwords = yes
[public]
path = /tmp
read only = no
[video]
path = /d/video
read only = no
guest ok = true
[d_drive]
path = /d
read only = no
guest ok = true
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
I have not reply to this question just general thought. The probably best would be to hack samba to add new per folder option "TOS". Samba then would use SO_PRIORITY to dynamicaly mark TCP's packets with changing priority - it can be then utilized properly by qos module.
Just idea ...
devik
Quoted 42 lines · Antonis Lazaridis
Hi...
Quoted 3 lines
Using two IP aliases you could...
so folder A is shared on the alias 192.168.0.1 and folder B on 192.168.0.2, then limit the traffic by IP.You made it sound very simple, so i thought i can do it. But my beginner-ness didn't allow me...
I have set the different IP aliases, but i don't know how i can share folders on different aliases.I suppose this has to be done in smb.conf, right?
I have read all of the smb.conf man, but couldn't find anything.How can i share different folders on different aliases? Thanks,
antonis.PS: My smb.conf file:
[global]
netbios name = smbSrv
workgroup = myGroup
security = user
encrypt passwords = yes[public]
path = /tmp
read only = no[video]
path = /d/video
read only = no
guest ok = true[
d_drive]
path = /d
read only = no
guest ok = true
Quoted 8 lines
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 6 lines · Antonis Lazaridis
Hi...
Quoted 3 lines
Using two IP aliases you could...
so folder A is shared on the alias 192.168.0.1 and folder B on 192.168.0.2, then limit the traffic by IP.
Quoted 7 lines
You made it sound very simple, so i thought i can do it. But my beginner-ness didn't allow me...
I have set the different IP aliases, but i don't know how i can share folders on different aliases.I suppose this has to be done in smb.conf, right?
I have read all of the smb.conf man, but couldn't find anything.
From the smb.conf man ;-)
(http://samba.nip.nl/samba/docs/man/smb.conf.5.html#SOCKETADDRESS)
-----------------------------
socket address (G)
This option allows you to control what address Samba will listen for connections on. This is used to support multiple virtual interfaces on the one server, each with a different configuration.
By default Samba will accept connections on any address.
Example: socket address = 192.168.2.20
-----------------------------
Stef
Signature · 8 lines
[email protected] More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager" _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Sorry Stef,
but i don't understand...
'socket address' is a global parameter, right?
If i use
socket address = 192.1.1.2
then samba shares everything on 192.1.1.2
How can i use it for shareing different folders on different IPs?
antonis.
Quoted 6 lines
From: Stef Coene <[email protected]>
To: "Antonis Lazaridis" <[email protected]>, [email protected],
[email protected]
Subject: Re: Re[2]: [LARTC] traffic shaping
Date: Thu, 31 Jan 2002 10:07:53 +0100
Quoted 14 lines
Quoted 13 lines · Antonis Lazaridis
Hi...
Quoted 3 lines
Using two IP aliases you could...
so folder A is shared on the alias 192.168.0.1 and folder B on 192.168.0.2, then limit the traffic by IP.You made it sound very simple, so i thought i can do it. But my beginner-ness didn't allow me...
I have set the different IP aliases, but i don't know how i can share folders on different aliases.I suppose this has to be done in smb.conf, right?
I have read all of the smb.conf man, but couldn't find anything.
From the smb.conf man ;-)
Quoted 15 lines
(http://samba.nip.nl/samba/docs/man/smb.conf.5.html#SOCKETADDRESS)
-----------------------------
socket address (G)This option allows you to control what address Samba will listen for connections on. This is used to support multiple virtual interfaces on the one server, each with a different configuration.
By default Samba will accept connections on any address.
Example: socket address = 192.168.2.20
-----------------------------
Quoted 9 lines
Stef
--
[email protected]
More QOS info : http://www.docum.org/
Title : "Using Linux as bandwidth manager"
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 8 lines
'socket address' is a global parameter, right?
If i use
socket address = 192.1.1.2then samba shares everything on 192.1.1.2
How can i use it for shareing different folders on different IPs?
probably run more smbd on the server each with different config file.
devik
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 3 lines
probably run more smbd on the server each with different config file.
devik
Yes,
I tried this too, but there is a "lock" on smbd.pid.
I am have been searching the internet for 1 full day, to find out how i can run multiple smbd deamons, but didn't find anything!
Is there nothing on this, or don't i know where to search?
antonis.
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
Quoted 5 lines
Quoted 3 lines
probably run more smbd on the server each with different config file.
devikYes,
I tried this too, but there is a "lock" on smbd.pid.
Is not there some option to select another lock file ? Ask ok samba list they are pretty responsible.
devik
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/