CPE210 Configuration

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
12345...

CPE210 Configuration

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
76 Reply
Re:CPE210 Configuration
2017-04-12 13:53:21

R1D2 wrote

swconfig is a command, not a config file. What do you want to do with swconfig? It's actually not needed to setup anything and danger is that you make easy things very complicated by using low-level commands such as swconfig or ifconfig.

Where or how do I dedicate a lan port for the interface created with a subnet ssid/ip address?
  0  
  0  
#33
Options
Re:CPE210 Configuration
2017-04-12 16:41:11

cayvman wrote

Where or how do I dedicate a lan port for the interface created with a subnet ssid/ip address?


Menu Network->Switch. Add a VLAN, mark port to be used as untagged, make sure to set to Off for all other VLANs and tagged for CPU trunk, then click Save:






Next, go to menu Network->Interfaces, select the tab with your guest network's name and assign it to the VLAN interface created in the previous step. For VLAN 2, the interface name is eth0.2. Then click Save & Apply to activate both settings:






If the guest network is assigned a local SSID, the option " creates a bridge ..." may be ticked already. Then just add the port to the bridge assigned to this network (the radio boxes for interfaces will turn into selection boxes for multiple selections automatically).
༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#34
Options
Re:CPE210 Configuration
2017-04-12 21:34:04

R1D2 wrote

Menu Network->Switch. Add a VLAN, mark port to be used as untagged, make sure to set to Off for all other VLANs and tagged for CPU trunk, then click Save:






Next, go to menu Network->Interfaces, select the tab with your guest network's name and assign it to the VLAN interface created in the previous step. For VLAN 2, the interface name is eth0.2. Then click Save & Apply to activate both settings:






If the guest network is assigned a local SSID, the option " creates a bridge ..." may be ticked already. Then just add the port to the bridge assigned to this network (the radio boxes for interfaces will turn into selection boxes for multiple selections automatically).

My firmware does not look like that nor does it have the Switch tab. That's why I thought I had to go into the files to activate the tabs.
  0  
  0  
#35
Options
Re:CPE210 Configuration
2017-04-13 06:57:41

cayvman wrote

My firmware does not look like that nor does it have the Switch tab. That's why I thought I had to go into the files to activate the tabs.


Which firmware release of OpenWRT do you use? Codename? Version? With LuCI web UI or without?
༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#36
Options
Re:CPE210 Configuration
2017-04-13 07:06:45

R1D2 wrote

Menu Network->Switch. Add a VLAN, mark port to be used as untagged, make sure to set to Off for all other VLANs and tagged for CPU trunk, then click Save:






Next, go to menu Network->Interfaces, select the tab with your guest network's name and assign it to the VLAN interface created in the previous step. For VLAN 2, the interface name is eth0.2. Then click Save & Apply to activate both settings:






If the guest network is assigned a local SSID, the option " creates a bridge ..." may be ticked already. Then just add the port to the bridge assigned to this network (the radio boxes for interfaces will turn into selection boxes for multiple selections automatically).


So, Finally able to get OpenWRT firmware looking how I think it should look. to get the Switch tabs had to run a script or two.
Configured it, but when I check the port's ip address, none show the ip address of the guest interface. I ran arp -a for the ip test. Almost there, i think, i hope.
See the attached screenshots::

.







  0  
  0  
#37
Options
Re:CPE210 Configuration
2017-04-13 07:07:30
See below, got it working.
  0  
  0  
#38
Options
Re:CPE210 Configuration
2017-04-13 07:25:13
Your router has two interfaces: eth0 for WAN/WAN6 and eth1 for LAN. So it is one of the devices with two separate network interfaces I mentioned above. SW-Ports 0 to 3 (corresponding to port labels 4 to 1) are on eth1. To divide this interface into two networks LAN and GUEST, use eth1.1 for LAN (VLAN ID 1) and eth1.2 for GUEST (VLAN ID 2). Then you can assign a port (e.g. SW-Port 3/port labeled 1 on the box) to the GUEST network. In the LuCI screenshots above you divided eth0 into two VLANs.
༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#39
Options
Re:CPE210 Configuration
2017-04-13 13:13:31

R1D2 wrote

Your router has two interfaces: eth0 for WAN/WAN6 and eth1 for LAN. So it is one of the devices with two separate network interfaces I mentioned above. SW-Ports 0 to 3 (corresponding to port labels 4 to 1) are on eth1. To divide this interface into two networks LAN and GUEST, use eth1.1 for LAN (VLAN ID 1) and eth1.2 for GUEST (VLAN ID 2). Then you can assign a port (e.g. SW-Port 3/port labeled 1 on the box) to the GUEST network. In the LuCI screenshots above you divided eth0 into two VLANs.

Finally, got it to work. Thanks R1D2, Thanks for tolerating my ignorance in networking concepts and all.
I have a question about my final configuration. Please take a look at the WAN Interface and tell me what you think.


  0  
  0  
#40
Options
Re:CPE210 Configuration
2017-04-13 14:53:36
Well, I thought all was good until I hooked it up to the modem and all.Devices connect and obtain an IP Address , however, no internet access. Back to the drawing board.













Am able to get to the internet, however, once i try to associated the port 4 to the guest network things go south. see screenshots of the configuration before assigning the port 4 to vlan2.
You'll notice also that the site is not secure. Is because I havent set up firewall?
  0  
  0  
#41
Options
Re:CPE210 Configuration
2017-04-14 04:24:07
Why did you exchange eth0 <-> eth1? On routers with two NICs, one is wired to the port labelled "Internet" and the other one is wired to the 4-port switch. You can't exchange them at will. eth0 therefore must be the WAN interface (the only one interface, no VLANs make sense here!), while eth1 is the switch you can assign ports to VLANs.
༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
  0  
  0  
#42
Options
Related Articles