I opened up the network and sharing center, or the place that shows all your connections. I clicked set up a network, then it asked me which is my default Broadband connection, and which is the Lan. Once then it said creating a network. Once done my Lan got connected to the internet, and has a Ip address.