Larry Nguyen wrote:
On 5:16:11 am 10/22/04 hypoj <[EMAIL PROTECTED]> wrote:

To^i ca^`n khai ba'o mo^.t acl trong squid tro? va`o mo^.t so^' PC
trong LAN ma` tho^i, kho^ng pha?i ca? subnet, to^i dda~ thu+?

acl myclient src 192.168.1.200-192.168.1.230/24
acl myclient src 192.168.1.200/24-192.168.1.230/24

nhu+ng xem ra squid kho^ng chi.u ca'ch na`o ca?.




Xem nhu+ ba'c muo^'n 30 hosts cho squid access. To make life simple :),
please use

acl myclient src 192.168.1.0/27

[EMAIL PROTECTED] rhs $ ipcalc 192.168.1.0/27

Address:   192.168.1.0           11000000.10101000.00000001.000 00000
Netmask:   255.255.255.224 = 27  11111111.11111111.11111111.111 00000
Wildcard:  0.0.0.31              00000000.00000000.00000000.000 11111
=>
Network:   192.168.1.0/27        11000000.10101000.00000001.000 00000
(Class C)
Broadcast: 192.168.1.31          11000000.10101000.00000001.000 11111
HostMin:   192.168.1.1           11000000.10101000.00000001.000 00001
HostMax:   192.168.1.30          11000000.10101000.00000001.000 11110
Hosts/Net: 30                    (Private Internet RFC 1918)


-Larry

Nhu+ ca'ch ba'c chi? thi` to^i pha?i ddo^?i ip address cho 30 host ve^` su+? du.ng address range 192.168.1.1-192.168.1.30 ??

Company's policy dda~ set address range cho tu+`ng loa.i client ne^n kho^ng tuy` tie^.n ddo^?i la.i ddu+o+.c ba'c a.

--
hypoj
Microsoft is not the answer, it is the question. The answer is NO!!!



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
VietLUG-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Trả lời cho