Community discussions

 
tuxtlequino
newbie
Topic Author
Posts: 32
Joined: Tue Feb 16, 2016 12:46 am

How do I get the same IP addresses the ethernet ports to match the IP address of the router?

Tue Feb 16, 2016 1:16 am

This might be very simple and obvious, but I couldn't figure it out nor even know what to ask in Google to get my answer.

This is the list of devices that I own,

CCR1009-8G-1S - This is my main router
CRS109-8G-1S-2HnD-IN - This is my main switch
Three HAP ac lites

The IP address of the cable router is 192.168.0.1, and created the static address 192.168.1.1 for the CCR1009-8G-1S in the cable router. This CCR1009-8G-1S is to serve as my main router, and I would like to have the IP address range for most of my LAN as 192.168.1.1/24, but it seems as if I can only get the router to work with unique IP addresses ranges for each of the ethernet ports. I learned how to do the set the ethernet ports as slaves, but I still cannot get the same IP for the router and the other ports. In other words. If my router is set in the 192.168.1/24 range, I cannot get my other ports to be assigned to the 192.168.1.0/24 range, but to get it to work, I have to assign them something like 192.168.2.0/24 range.

I also wondered if I could assign static IP addresses to particular ports within the same LAN range, and how to do that.

I am sure that I am missing something simple here. Any help is appreciated.
 
lambert
Long time Member
Long time Member
Posts: 532
Joined: Fri Jul 23, 2010 1:09 am

Re: How do I get the same IP addresses the ethernet ports to match the IP address of the router?

Tue Feb 16, 2016 1:39 am

Create a bridge interface on the CCR1009. Add all of the ethernet interfaces you want in the same address space to that bridge. Move the 192.168.1.1/24 IP to the bridge interface.

You can use the switch chip on the first 4 ports to merge them into the same address space using the master-port=ether1 setting for ports 2-4 . If your cable modem is plugged into ether8 on the CCR, you would create a bridge named something like "LAN" or "bridge_local". Then you would add ether1, ether5, ether6, and ether7 as ports in the "LAN" bridge. Then move the 192.168.1.1/24 IP to interface "LAN" or whatever you named it. Then ports 1 - 7 would all be in the 192.168.1.0/24 subnet and port ether8 would be in the 192.168.0.0/24 subnet talking to your cable modem. Your CRS109 and three HAP devices can then be connected to any port on the CCR, except ether8, or they can connect to one another.
 
tuxtlequino
newbie
Topic Author
Posts: 32
Joined: Tue Feb 16, 2016 12:46 am

Re: How do I get the same IP addresses the ethernet ports to match the IP address of the router?

Tue Feb 16, 2016 1:55 am

Lambert,

Wow, thank you very much. Now I know :).

Who is online

Users browsing this forum: No registered users and 30 guests