I really wish the CRS125 had the Quick Config like the RB951. Would make life easier for people learning ROS.
I'm not sure, that you should set ether1 as the master port of ether1, I think that the option "none" is good enough.
^This is correct.
You can add, disable or remove IP addresses of the individual interaces from IP -> Addresses so if the ether1 has an IP address you don't want, you can go there and delete the wrong address. I would also remove ether1 from all bridges (this can be done in Bridge -> Ports). You can add DHCP Client to an interface from IP -> DHCP client.
Don't remove the address you're connected to via Putty or WinBox or you'll lose access and have to reconnect via MAC or another interface's IP address.
Be careful with bridges - if you add all ports to a bridge and leave that bridge without an IP address, you won't be able to log in (maybe not even using a MAC address) and you'll have reset your router settings
I don't know how many times I did this when configuring my CRS. If you configure a bridge make note of the Admin MAC Address. I'm not sure how it is determined what that address is. I think it may be the MAC of the first port assigned to the bridge. This is where that LCD screen on the CRS can come in handy since you can look up the MAC of the ports.
I am trying to use ROS code as much as possible. I dont particularly like the webfig.
I suggest familiarizing yourself with WinBox. The ability to connect via MAC address can be quite useful as is the SAFE MODE feature.
Knowing how to do things from the command line is useful too and sometimes faster (like renaming ports en-masse. You can use Excel to quickly increment the interface numbers and the concatenate function to build the full command and then copy/paste into the command window.).
What I want is for ether1 to be the WAN port. It will be a dhcp client to get its IP address from comcast.
Not sure how much of the default configuration you've changed but by default ether1-gateway
has a DHCP-Client already configured (as does the SFP-Gateway). Verify from ROS command line:
If it is already there then you should be good to go. To avoid having to manually create the default route ensure the following option is set:
If it isn't then you can enable it with:
ip dhcp-client 0 add-default-route=yes
If there is not a DHCP-Client on ether1:
ip dhcp-client add interface=ether1 add-default-route=yes
I also suggest manually specifying your own DNS servers:
and add DNS server IP's separated by commas.
To exit the editor:
I recommend changing the name of ether1 to "WAN" for ease of identifying it:
interface ethernet set ether1 name=WAN
Next you'll need to verify NAT. By default ether1-gateway should have a NAT rule for masquerade. To check:
If it isn't there:
ip firewall nat add chain=srcnat action=masquerade to-addresses=0.0.0.0 out-interface=WAN