Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Needs more detail. What are you trying to accomplish? I assume the IPFire(AP) is some appliance computer running IPFire linux.
Your original setup all devices are on the LAN side of the IPFire device and can "talk" to each other.
In your desired setup by default IPFire is acting as a firewall so the desktop is on a the "WAN" side of the firewall and isolated from phone and tablet which is on the LAN side. The desktop can find the IPFire IP address by looking at the attached devices on the MODEM or by running a nmap scan.
What I don't like about the current setup is that IPFire is getting its Internet access from the modem over Wifi. I want it to use the Ethernet cable instead (and configure the modem to deny wireless access completely).
But I also want the desktop to connect to IPFire over Ethernet (and configure IPFire to deny admin rights to wireless cients).
So I would have to have two Ethernet ports on the notebook that runs IPFire (assuming IPFire would handle this accordingly), which I don't have.
So I am basically trying to use the switch as some kind of splitter/adapter for the one Ethernet port. I don't know if that is possible.
In case it's still not clear, I use the switch and the desktop interacts with the Internet directly through the switch only, and I want all desktop interaction with the Internet to be mediated by IPFire, which is also connected to the switch. I want IPFire to take over.
Doesn't the laptop have a cat5 and a wi-fi connection? Aren't those your "two Ethernet (read: networking) ports"?
Can't you just connect as you do now, but change the connection between the Modem and the IPfire to wired?
Code:
modem (AP) -> eth -> IPFire (AP) -> eth -> desktop
|
wifi -> phone, tablet
And then do as you describe...disable wi-fi on the modem and manage all connections with the IPFire appliance. No switch required.
Your diagram shows two ethernet ports on the laptop. The OP needs a USB ethernet adapter for to work. I assume the OP wants all devices behind the laptop firewall.
Your diagram shows two ethernet ports on the laptop. The OP needs a USB ethernet adapter for to work. I assume the OP wants all devices behind the laptop firewall.
Your diagram shows two ethernet ports on the laptop. The OP needs a USB ethernet adapter for to work. I assume the OP wants all devices behind the laptop firewall.
Your assumption is correct. I want all devices behind IPFire's firewall. Besides, I want Ethernet connections from the modem to IPFire and from IPFire to the desktop. That's why I won't just use the one Eth port to connect to the modem and have the desktop go through IPFire over Wifi.
I thought of buying a USB to Ethernet adapter, but I had this switch lying around doing nothing so I thought I should try it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.