Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
ad interfaces (assignments) to have a "switch" behaviour?
« previous
next »
Print
Pages: [
1
]
Author
Topic: ad interfaces (assignments) to have a "switch" behaviour? (Read 5465 times)
Marcel_75
Full Member
Posts: 177
Karma: 4
ad interfaces (assignments) to have a "switch" behaviour?
«
on:
November 08, 2017, 06:49:22 pm »
Hello,
on my router I have 4 ports.
Port 1 (em0) is LAN (192.168.1.1/24) which is connected to my HP ProCurve switch.
Port 2 (em1) is WAN which is connected to the Cable Modem.
Now I'am wondering how to assign Port 3 and 4 (em2 and em3) to act like normal switch ports (connected to em0)?
The reason: My HP ProCurve switch is in another room (far away from the router) and I want to connect my old Airport Extreme as a WiFi Access Point directly to the router (Port 3 or 4).
Couldn't figure out yet how to configure this.
Logged
The fact that we live at the bottom of a deep gravity well, on the surface of a gas covered planet going around a nuclear fireball 90 million miles away and think this to be normal is obviously some indication of how skewed our perspective tends to be. (Douglas Adams)
chemlud
Hero Member
Posts: 2454
Karma: 112
Re: ad interfaces (assignments) to have a "switch" behaviour?
«
Reply #1 on:
November 08, 2017, 07:11:00 pm »
A router is not a switch. A cheap dumb swictch will cost you 10-20 bugs, an additional interface is invaluable to have a dedicated network for administration, guests, special clients, family etc. pp. you name it.
A router is not a switch.
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
bartjsmit
Hero Member
Posts: 1982
Karma: 193
Re: ad interfaces (assignments) to have a "switch" behaviour?
«
Reply #2 on:
November 08, 2017, 07:20:12 pm »
What is the make/model of your router? Where does OPNsense come into this?
Bart...
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: ad interfaces (assignments) to have a "switch" behaviour?
«
Reply #3 on:
November 08, 2017, 08:54:25 pm »
You can create a bridge and assign the interfaces to it to get this behaviour but I would not recommend this setup (wireless should be a more restricted network than the cabled one.
Logged
Marcel_75
Full Member
Posts: 177
Karma: 4
Re: ad interfaces (assignments) to have a "switch" behaviour?
«
Reply #4 on:
November 08, 2017, 09:35:36 pm »
I use an Deciso OPNsense A10 Quad Core with SSD.
For me it would be also fine if the 3rd Port provides a different IP range because this Wifi-AccessPoint (the old Airport Extreme I wanna use for this) is only used by one of my flatmates, and she don't need access to my normal network.
But anyway - it would be nice to have the option as "normal switch mode" (it's called "bridged", right?).
For example the old Airport Extreme has this built-in (one WAN-Port, three normal Ethernet-Ports), nearly every standard home router on the market has it today (one WAN-Port, three or four Ethernet-Ports which can be used like a switch).
So why I should have bought an expensive router from the main supporter of the OPNsense project like my A10 from Deciso, if I can't use the four ports as I want?
Of course, I could connect my old Cisco switch to Port 1 (em0) like before and connect the Airport Extreme and also the HP ProCurve switch to this Cisco switch - but why should I have another device (the Cisco switch) always connected to power (and using some extra energy every day!!!) if I don't have to?
So any help is really appreciated.
«
Last Edit: November 08, 2017, 09:38:45 pm by Marcel_75
»
Logged
The fact that we live at the bottom of a deep gravity well, on the surface of a gas covered planet going around a nuclear fireball 90 million miles away and think this to be normal is obviously some indication of how skewed our perspective tends to be. (Douglas Adams)
bartjsmit
Hero Member
Posts: 1982
Karma: 193
Re: ad interfaces (assignments) to have a "switch" behaviour?
«
Reply #5 on:
November 08, 2017, 09:49:51 pm »
As fabian mentioned; Interfaces, Other Types, Bridge. Add the em0, em2 and em3 ports to the list and click Save.
Bart...
Logged
Marcel_75
Full Member
Posts: 177
Karma: 4
Re: ad interfaces (assignments) to have a "switch" behaviour?
«
Reply #6 on:
November 08, 2017, 11:58:07 pm »
Sorry, but I don't understand ...
If I go to Interfaces / Other Types / Bridge I can "Add" something.
But here it only shows my "LAN" and "WAN" for the "Member Interfaces".
So maybe I have to assign the em2 and em3 first at Interfaces / Assignments?
(right now there is only LAN as em0 and WAN as em1 defined)
But this is what confuses me a lot: If I do add em2 and em3 as OPT1 and OPT2 in Interfaces / Assignments, what settings do I have to use here?
If I leave it all as default and create a bridge0 of LAN, OPT1 and OPT2 later, I do not get a DHCP address on OPT1 and OPT2.
So I'am wondering how to set this up correctly?
«
Last Edit: November 09, 2017, 12:20:07 am by Marcel_75
»
Logged
The fact that we live at the bottom of a deep gravity well, on the surface of a gas covered planet going around a nuclear fireball 90 million miles away and think this to be normal is obviously some indication of how skewed our perspective tends to be. (Douglas Adams)
Marcel_75
Full Member
Posts: 177
Karma: 4
Re: ad interfaces (assignments) to have a "switch" behaviour?
«
Reply #7 on:
November 13, 2017, 08:58:03 pm »
still don't know how to set this, anybody help?
thx a lot!
Logged
The fact that we live at the bottom of a deep gravity well, on the surface of a gas covered planet going around a nuclear fireball 90 million miles away and think this to be normal is obviously some indication of how skewed our perspective tends to be. (Douglas Adams)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
ad interfaces (assignments) to have a "switch" behaviour?