Reply
New Member
Posts: 18
Registered: ‎10-30-2013

ER4 - Can I configure eth3 SFP port as LAN port?

[ Edited ]

Hi,

I just imported my config from my ER Lite to my new ER4. On the main interfaces tab, I went to assign the eth3 SFP port to my LAN port and it was not availablel.. wizard confirmed that it can only be used as WAN port...

 

Can this be configured as LAN using CLI? 

I have a few VLANs configured currently,.. if I can create the interface for LAN... once it exists, can I use GUI to create VLANs... if not,  can someone help me with the CLI commands to configure those as well? Screen Shot 2018-01-18 at 9.50.02 PM.png

 

SuperUser
Posts: 7,368
Registered: ‎01-05-2012
Kudos: 1939
Solutions: 962

Re: ER4 - Can I configure eth3 SFP port as LAN port?

Did you try, via cli

configure
set interfaces ethernet eth3 address x.x.x.x/yy
commit;save
Veteran Member
Posts: 7,029
Registered: ‎03-24-2016
Kudos: 1820
Solutions: 802

Re: ER4 - Can I configure eth3 SFP port as LAN port?

Wizards are limited in their options, I don't see why edgeOS wouldn't let you use the port as you see fit.

Unconfirmed: these CLI commands  might make port show up in GUI.

 

configure

set interfaces ethernet eth3 description LANPORT

commit

save;exit

New Member
Posts: 18
Registered: ‎10-30-2013

Re: ER4 - Can I configure eth3 SFP port as LAN port?

So I tried that, but it became unresponsive.  It looks like when I restored the config from my ER-LITE, it messed up my interfaces... 

 

Is there an elegant way to just swap out eth2 for eth3 in the config.boot file? I did a simple find/replace for eth2 to eth3, then tried a fresh restore... but doesn't work. I have a bunch of firewall rules, mac filters - so don't want to start from scratch if possible. 

 

 

 

interfaces {
ethernet eth0 {
address dhcp
description "WAN PORT TO MODEM"
duplex auto
firewall {
in {
name WAN_INBOUND
}
local {
name WAN_LOCAL
}
}
ip {
}
mtu 9000
speed auto
}
ethernet eth1 {
address 192.168.0.1/24
duplex auto
firewall {
in {
}
local {
}
}
ip {
}
speed auto
}
ethernet eth3 {
address 192.168.1.1/24
duplex auto
firewall {
in {
name LAN_MAC_Filtering
}
local {
name LAN_LOCAL
}
}
ip {
enable-proxy-arp
}
mtu 9000
speed auto
vif 20 {
address 192.168.2.1/24
description "KID LAN"
firewall {
in {
name KID_LAN_INBOUND
}
local {
name KID_LAN_LOCAL
}
}
mtu 1500
}
vif 200 {
address 10.1.10.1/24
description "GUEST LAN"
firewall {
in {
name GUEST_VLAN_INBOUND
}
local {
name GUEST_VLAN
}
}
}
}
loopback lo {
}
}
protocols {
ospf {
redistribute {
}
}
static {
}
}

Ubiquiti Employee
Posts: 2,130
Registered: ‎05-08-2017
Kudos: 396
Solutions: 318

Re: ER4 - Can I configure eth3 SFP port as LAN port?

[ Edited ]

I think something got messed up in the import as well. The eth3 port on the ER-4 should show up in the interface list, whether it has an SFP inserted or not.

 

I would not recommend to manually edit the config.boot file. Instead try the following command on the ER-Lite:

show configuration commands

<copy>

 

And pick which configuration parts you want to keep. Afterwards on the ER-4:

configure

<paste>

commit ; save

 

Ben


Ben Pin - EdgeMAX Support

Emerging Member
Posts: 41
Registered: ‎12-20-2017
Kudos: 4
Solutions: 4

Re: ER4 - Can I configure eth3 SFP port as LAN port?

Looks like you are missing a closing tag from the manual edit before vif20 if the posted code was exact from the router.

 

}
mtu 9000
speed auto

} <<Missing
vif 20 {

 

Highlighted
New Member
Posts: 18
Registered: ‎10-30-2013

Re: ER4 - Can I configure eth3 SFP port as LAN port?

Reloaded the config and rebooted and it seems to work now. 

Thanks. 

Reply