Use these command to configure interfaces and internet access, below. You can adjust it regarding to your home network.
##configuration of port 1 and 2
config system interface
edit port1
set ip 192.168.1.155 255.255.255.0
set allowaccess ping https ssh http
end
config system interface
edit port2
set ip 172.27.2.155 255.255.255.0
set allowaccess ping https ssh http
end
=======================================
##static route to access the internet
config router static
edit 1
set device port
set gateway 192.168.1.1
##test connectivity
execute ping 8.8.8.8