Cable Modem Assistance
-
Your paying for a static IP?
Some cable ISP's give this to you via dhcp… Others you must code it in.
My ISP makes me code it in. But I can still get an address via DHCP.
Go to your wan page and set it for DHCP. You should be able to go to your Status/Interface page and see if it worked...
Also- what is the model of your cable modem? Allot of them seem to be going the way of the cable gateway these days... Thats a device that hands out a private LAN address to your stuff... (192.168.1.0/24)
Of coarse there is always your pfsense address/wizard.php?xml=setup_wizard.xml
-
Can you see http://192.168.100.1 ??
Check your DNS settings…
-
The modem is a Motorola SURFBoard SB5101i, I've just started Googling for setups with that particular unit but can't see much so far.
I'm not paying for a static IP so I've set the modem to DHCP and power cycled it. Is the DHCP typical for the majority of cable modems? To set this modem working on another PC or SOHO router equipment my ISP says that all I need to do is (for example connected directly to a Windows PC):
-Set the IP to the one they gave me <public ip,="" 121.="" range="">-Set the subnet to 255.255.255.0
-Set the gateway <also 121.="" range="">-Set the DNS servers.As far as I understand all of that should be able to be set inside pfSense. By looking at 'Interfaces > CABLE' all I can set is an alias IP (not sure what that does) and via 'System > Routing > CABLE' all I can set is a gateway IP and a monitor IP (again, not sure what that is) which aren't the same as the requirements above.
All I need is a simple guide on how to do it. I already have a working ADSL connection, if possible I'd like to be able to test the cable connection alone to ensure browsing is stable then I'll move to look at load balancing.
This is what 'Status > Interfaces' looks like at the moment. You can see it isn't picking up an IP from the modem.
</also></public>
-
I've just hooked the modem up to my PC and taken a look at the settings page at http://192.168.100.1/ (thanks for the tip chpalmer) and it says that the DHCP server is enabled.
@modem:
The SURFboard cable modem can be used as a gateway to the Internet by a maximum of 32 users on a Local Area Network (LAN). When the Cable Modem is disconnected from the Internet, users on the LAN can be dynamically assigned IP Addresses by the Cable Modem DHCP Server. These addresses are assigned from an address pool which begins with 192.168.100.11 and ends with 192.168.100.42. Statically assigned IP addresses for other devices on the LAN should be chosen from outside of this range.
What do I need to do to set this up in pfSense?
/EDIT/
-
Then I added an interface called 'CABLE' (super original, eh?) with the Type: Static (not sure if this is correct) and IP Address as my static IP (as assigned by ISP), assigned the gateway 'CABLE', blocked the bogon and private networks and clicked Save.
Can you uncheck the block bogons and private networks as a test? Sometimes these Cable Company DHCP servers lie within a private address space. Uncheck the blocks on the WAN tab, and hit Save then turn all network appliances off. Start modem first and wait until it finishes its boot process, then start your pfSense box and pray for an IP.
-
Make sure you power down the cable modem each time you change the device plugged into it…
They tend to grow attached to the mac address of the next device in line... ;)
You wont use the dhcp server on the modem. it does that to get your LAN up and running in case of a cable outage, assuming your LAN is all directly connected. This modem does not appear to be a gateway device doing any routing for you, but just a bridge.
What is the first number of the gateway they have assigned you?
-
Hi onhel, chpalmer
My ISP DNS servers aren't in private address space. They are in the 203. range so blocking bogon & private should be fine right?
When I connect the cable modem to my PC or a different piece of routing hardware I need to manually set my public IP address, the subnet, the gateway and the DNS servers. Is this not the same when connecting it to my pfSense box?
I'm surprised I haven't seen a guide or similar for setting up a cable modem. They seem quite temperamental.
So, if I were to begin over. What would the steps be for configuring the cable modem?
ISP assigned IP: <121. range>
Subnet: <255.255.255.0>
Gateway: <121. range>
DNS: <203. range> -
Upon further investigation I have learned that my cable modem does not actually hand out an IP address. I need to use the ones specified by my ISP. How does one go about setting that up with pfSense?
Would I set the WAN connection as static?
-
I was given some advice in IRC with regards to my modem. I was making it a lot harder than it was.
Instructions for TelstraClear users in New Zealand using pfSense 2.0:
- During initial setup mark the connection as Static.
- Enter the IP address written on your cable modem box or entered in your existing router setup. The subnet is usually 255.255.255.0 which pfSense records using the CIDR notation (/24). If you have a different subnet configuration (unlikely) you can work it out here.
- Enter the gateway IP address in the Gateway field (you can manage this later via 'System > Routing' in the WebConfigurator).
- Enter DNS as desired (you can use any DNS provider you wish, they can be managed via 'System > General Setup' later on).
- Profit!
-
Congrats!
:)