LAN clients pulling IP's from ISP



  • Good morning….

    Just got PFSense installed - so far I'm loving it. Been a smoothwall user for years, decided to try some thing new.

    Due to some networking issues this past week, I had to change my network setup some while trouble shooting. During which I realized that if I hook a switch (non-managed, 24 port gigabyte switch) directly to my modem, our ISP will give every computer on my network its own public IP. Each computer was on its own subnet though which broke the LAN

    I was wondering if this can be duplicated with pfsense - except put each computer on the same subnet so that we can still share files through the network.

    I have tried using DHCP Relay, but I'm not sure what IP's to use since none of the IP's I get are static, and the DHCP Relay settings is missing the check box that configures sending the dhcp packets to the WAN interface. I have looked through the help files / forum posts but every thing I see references static IP's, known number of static IP's, known ranges, etc - none of which I know. All I know is that with switch + modem, every computer got an IP

    This is more of a novelty setup then a need. Each computer having it's own IP was just cool -

    It is more of a novelty setup then a need, though it would be handy for the times I want to slip into my game server unknown to my admins ;)

    Current setup is just WAN + LAN, which DHCP enabled on the LAN side.

    Thanks in advance,

    Seth


  • Rebel Alliance Developer Netgate

    If you bridge LAN to WAN, you'll get DHCP from whatever is on the WAN side.

    You'd have to disable your DHCP server though, or you'd be asking for trouble.

    Though other things would likely break in that setup, it would let you get IPs from whatever is on the WAN side, ISP, upstream network, etc.



  • Thanks - I tried that and it did what I wanted almost. I put it back to normal mode.

    An other thought I had was to setup an Opt 1 interface - is it possible to bridge WAN + Opt 1 with out messing up the LAN interface?



  • @dataspiller:

    An other thought I had was to setup an Opt 1 interface - is it possible to bridge WAN + Opt 1 with out messing up the LAN interface?

    Yes, and that's far preferable. Don't bridge your LAN with your ISP, treat anything getting a public IP differently than your LAN hosts.



  • Cool :D

    Thanks again


Log in to reply