Heyhey, I have been playing around with Ajax and Javascript and I made a more fancy IP Calculator.
I have one available on this site (in the menu to the right, use it in case you don’t have javascript enabled).
If you want to try out my fancy version just go to ipv6calculator.net.
I haven’t had the chance to try the design in Internet Explorer, so if anyone can email me a screenshot or something it would be just awesome! (It is probably totally broken, because I am not a designer.)
Well, that’s that, enjoy it!
Tags: ip calculator, ipv4, ipv4 and ipv6 calculator, ipv6
Follow me on twitter
Hi,
I really like it’s design very much!!! In IE7 , it doesn’t show any output if I enter the address and hit “Enter” key. Is there any chance to make it working that way.
Thx.
Martin
Hi Martin,
Thanks for your input, it is very valuable and always so fun to see that someone likes something you created!
At least when I don’t make stuff only for myself, I am making it for you guys!
I will have a look at it and see if I can do anything about the Enter-key problem in IE, I haven’t actually tested the site in so many browsers. (shame on me)
And for you that’s reading this comment, if YOU have an idea about how to make ipv6calculator.net better and more useful, it is highly appreciated so please leave me a comment, and I will become very happy!
EDIT 2009-05-02: There seems to be an issue with IE7 when a *single-input* forms action= points to the page the form is on, which renders the enter-key useless – or to reset the form. Can you even imagine how lucky I feel to trigger this kind of stuff all the time?
I added another text input field that I tried to hide the best I could with CSS, so now the form is a multi-input form (haha Microsoft, I fooled your crazy browser!)
The only problem I have is that I do not have Internet Explorer to test it with right now, so if I don’t get a hold IE7 before any of you – let me know how it works now!
Thanks!
–
Espen
Hi Espen
- YOU HAVE DONE A GREAT JOB!!! It works perfectly !!!! I’m very happy about this your ip calculator !!! I have spent many and many hours ( really
) searching for the ip calculator that would give an output that is the closest to what I need…. and yours is the one! Thank you very much!!!
I don’t want to bother you, but if you have some time, all the professional Cisco configutators in the world will definitely love you, if you ADD:
1. ability to enter host/subnet in the format 10.0.0.1 255.255.255.0
2. output:
Interface IP: ip address 10.0.0.1 255.255.255.0
BGP: network 10.0.0.1 mask 255.255.255.0
OSPF: network 10.0.0.0 0.0.0.255 area
Wildcard network: 10.0.0.0 0.0.0.255
Thanks and have a nice day!
Martin
Thanks! It really warms a coders heart!
Your suggestions were awesome and I will try to get them implemented this week.
And if anyone else have any suggestions or ideas on how to make the calculator (or this blog) better, please shout it out! “It’s ugly”, etc. I’ve had my share of good critics now. (Thanks Martin!)
–
Espen
Martin, I think I fixed everything you asked for except the ability to enter that other type of input – but I promise, I will have a look at it!
For now hopefully it’s more helpful for your cisco configuration!
Espen,
Please let me know when I can help with anything regarding the algorithm.
IT’S GREAT and it’s very useful for me – THANKS A LOT!!!
I’ve already thought a bit about the algorithm and here is the draft:
1. Detect “/” or “space character”
2. if space is present test for presence of 3 “.”-s and 4 numbers from the list (0, 128, 192, 224, 240, 248, 252, 254, 255)
3. convert yyy.yyy.yyy.yyy value into /xx format (e.g. via inverse function of the existing “/xx -> yyy.yyy.yyy.yyy” conversion function)
4. process the /xx value via the original script.
Espen,
could you please just add mask to the config for BGP so that it’ll be:
BGP: network 10.0.0.1 mask 255.255.255.0
Martin, Sure – if anyone have any issues with that I’ll just add it as a new line.. let me know.
– Espen
Thank you very much Espen. I’m happy with that now.