Pfsense network along already established network
I have been toying with the idea of pfsense for a few years, and decided to do something about it. So i sourced a used pc and a dual port intel nic.
I live in a apartment with some friends, and we already have network.
It goes Internet->ISP provided router->Asus router->Lan+wireless
What I had in mind was:
Internet->ISP provided router->Asus router
Internet->ISP provided router->pFsense->Switch
So I could have my own seperate network, and learn more about networking etc :)
I installed pfsense, assigned wan and lan to each their port on the nic. It detected uplink on both. And then nothing. It doesn't give me either a wan or lan address. And I can't get to the webgui either. But with no ip that is a lot to ask of it..
What am I doing wrong?
When you say isp provided router do you mean actual router/gateway or is it just a modem?
Even if your pfsense didn't get an IP on its wan, you would still be able to connect to the lan.. So my guess would be you have your interfaces on pfsense reversed.. And your lan is connected to your isp device, and wan is connected to your switch.
Wont work that way ;)
I supposes it's a router/gateway.
When we moved in, there was already network from that. Wireless and ethernet. Then one of my friends bought a Asus RT-N66U. And that's plugged into the isp router/gateway. Complete with it's own wan and lan ip.
I used the auto assign function when assigning ports. Cable from Isp device plugged in when it asked for wan, and cable from my switch plugged in when it asked for lan.
But I won't rule out that I somehow managed to confuse it. Or could it be as simple as rebooting the isp device?
Edit: But I will try and manually assign interfaces, and possibly do a restart of the isp device, and report back :)
there should be no reason to have to reboot the isp device if its doing nat.
What network is this isp device handing out? You need to make sure this is not the same as your pfsense lan network. But again, that should not prevent you from connecting to the pfsense lan to finish the setup.
Alright, it is now working 8) Although I'm actually not sure which step fixed it.
1. I read some more about configuring, and watched some really good guides to getting through the install, and getting to the webgui.
2. I reinstalled pfsense, just to be sure i didn't mess something up from first round.
3. After the installation was complet, I was again greeted by no Wan or Lan address. I had left both lan and wan cable in.
4. Assigned interfaces. Assigned em0 to wan, em1 to lan. Nothing
5. Assigned interfaces again. This time em1 to wan, and em0 to lan. Nothing.
6. Went to our ISP device. Which looks like a router. Cable from the wall, four Ethernet ports, wireless etc. But I don't see how it can be doing router duty now, since my freenas has been assigned a 86.xx.xx.x DHCP4 ip address, and my frinds asus router has a 85.xx.xx.x address
Unplugged the cable to my pfsense box, aswell the cable to my friends asus router. Then plugged my pfsense box into the ethernet port the asus had. Nothing.
7. I unplugged both wan and lan cables from my pfsense box, and the assigned interfaces again, this time with auto. It detected uplink on both. But nothing.
8. Went back out and put the asus routers cable back in the ethernet port it had in the beginning. And reconnected my pfsense to another ethernet port.
9. Then when I came back, it had obtained it's (public?) 86.xx.xx.x address, kicked out a lan address. And I was able to go to webgui. Yay :)
I'm very happy that it works now. But I would also like to know why it didn't work in the first place. Was unplugging and re plugging the two routers simultaneously the trick? Or that, and a reassignment of interfaces?
Also thanks for the help and input :)