Dear brian and zaco, thank you very much for your reply. Here, in this apartement where I am working now has been already set-up network. Then, the bos asked me to write code which will assign ip address into internet users each time they get connected to the network. And this ip addresses are specific into certain rooms. For example, room 1 has ip address bla.bla.bla.bla.
I don't know how to solve this problem with perl. I am new into this what many people call as mighty programming language. But, I just figured out, that I can write a web interface in which users will input their username and password, and then their computers will be assigned with ip addresses which have been decided to be used in their room by a little perl CGI script. The scheme is username:password:ip-address.
My bos only wants every rooms has their own ip address. Then, my bos able to monitor the access of the internet for each room. Because if each room has its own ip address, then we will know what's room which has a given ip address. This kind of thing can not be implemented in DHCP.
So, this is the problem exactly.
Thank you very much again for your help. It's very much useful for newbie just like me.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.