My MacBook is connected to Internet.
I want to share this connection with another MacBook via WLAN.
How do I achieve that?
If you are using your WiFi to connect to the internet, you cannot use it to also create a local network for other computers. If you are networked via something not-Wifi (Ethernet, FireWire, USB, etc.) then you can share your connection via WiFi.