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.
I have two internet connections in my home. one of them is ADSL connection and another one is TDE LTE connection,
I have desktops and laptops and smart TVs and two raspberries,
some devices connect to the ADSL modem and some devices connect to TDE LTE modem,
they are in separate networks and I want to connect the ADSL network and TD LTE network together and I want two networks can see each other.
How I can connect two networks and use them at the same?
Can I do this by some device like RP 3+?
The RP can function as a router and forward traffic to the modems (which I would guess are actually routers).
Do you want specific devices to keep using a specific Internet connection, like today?
The RP can do policy routing, meaning it can forward traffic to a next-hop router based on criteria like the IP address of the host. Does that sound like what you're looking for?
The RP can function as a router and forward traffic to the modems (which I would guess are actually routers).
Do you want specific devices to keep using a specific Internet connection, like today?
The RP can do policy routing, meaning it can forward traffic to a next-hop router based on criteria like the IP address of the host. Does that sound like what you're looking for?
Thanks
I want two networks can see each other and can communicate together
For example i want run nginx in TDE LTE network and other devices in ADSL network can see nginx server
Merge both networks and use the same IP range/network for all devices, but use different gateways depending on which Internet connection you want each device to use
Put a device with two NICs between the networks and configure it as a router
With a network as small as the one you have, I'd probably go for option 1.
Merge both networks and use the same IP range/network for all devices, but use different gateways depending on which Internet connection you want each device to use
Put a device with two NICs between the networks and configure it as a router
With a network as small as the one you have, I'd probably go for option 1.
Do either or both "modems" have wireless functionality? And if so, are you using it?
Would it be feasible to connect the modems using a network cable?
Should certain devices (for instance, the smart TVs) be tied to a specific Internet gateway?
Which IP addresses are currently being used in the two respective networks?
Both modems have wireless and LAN cable
Some device connect to modems by wireless and desktops use LAN cables for connecting to the internet
RPs and wireless tv use wireless connection
my TDE-LTE modems give 192.168.1.54 IP to my laptop
My ADSL modem gives 192.168.1.111 to my laptop, So I think both modems give the same range of IPs to devices.
default route in ADSL and TDE-LTE are 192.168.1.1
so the default route is the same too.
My ADSL modem has 4 ports for LAN cables
My TDE-LTE modem has 2 ports for LAN cables.
Right. So you have two DHCP servers, one in each router/modem, giving out addresses in the same IP range/network.
You could do this:
Change the IP address on one modem/router to 192.168.1.2
Deactivate the DHCP server on that modem (making sure the DHCP scope on the other modem starts at 3 or higher)
Connect both modems with a LAN cable
Manually configure IP addresses (or at least the gateway) on those devices that are to use 192.168.1.2 rather than 192.168.1.1 as a gateway
As you can see, some manual configuration is required to differentiate between gateways. A dual-gateway setup cannot be made to function entirely automatically without the use of a 3rd router.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.