Re: Looking to get connection between 2 local networks?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9 Nov 2022 at 15:53, Louis Lagendijk wrote:

Subject:        	Re: Looking to get connection between 2 
local networks?
From:           	Louis Lagendijk <louis@xxxxxxxxxx>
To:             	users@xxxxxxxxxxxxxxxxxxxxxxx
Date sent:      	Wed, 09 Nov 2022 15:53:39 +0100
Send reply to:  	Community support for Fedora 
users <users@xxxxxxxxxxxxxxxxxxxxxxx>

> On Wed, 2022-11-09 at 03:09 +1000, Michael D. Setzer II via users
> wrote:
> > Probable a simple solution, but its been a while since I done this
> > type of stuff.
> > 
> > Have a cable modem that has 4 ports but using 2.
> > First port gets public IP xxx.xxx.233.11 with private network
> > 192.168.16.x
> > Second port gets public IP xxx.xxx.234.251 with private network
> > 192.168.24.x
> > 
> > ip route
> > default via 192.168.16.1 dev enp8s0 proto dhcp metric 100 
> > default via 192.168.24.1 dev wlp7s0 proto dhcp metric 600 
> > 192.168.16.0/24 dev enp8s0 proto kernel scope link src 192.168.16.101
> > metric 100 
> > 192.168.24.0/24 dev wlp7s0 proto kernel scope link src 192.168.24.13
> > metric 600
> > 
> > 
> > In searching found pages that say shouldn't have two default routes,
> > but that it what it shows on 
> > systems connect to both networks by default.  Many things work, but
> > others don't. 
> > 
> The setup you have here is fundamentally different from the one you
> used in the past. there you had different downstream networks, here you
> are combinigupstream networks.
> What do you need the 2 public IP adresses for? With what you have here
> packets from the internal network to the internet will gate routed to
> the gateway with the lowest metric. So all originating traffic will go
> out over the 192.168.16.1 gateway. As long as that gateway can reach
> the desired destination you are fine. 
> Traffic originating from the outside to the second public IP will get
> to your box (through your .24.x gateway. Responses will however be sent
> to the preferred gateway (the Other gateway) and will probably be
> dropped there as there no connection on that gateway.
> 
> you modem setup seems to be pretty strange.  Please describe what the
> different public IP addresses are to be used for and what your box is
> to do with them. The modem splitting the public IP-addresses over
> different interfaces seems to suggest that there is to be some
> isolation between them. But then you seem to be combining these
> networks again, something that is probably not desirable   
> 
> I you want to just allow routing of pure internal traffic to the second
> network you may need to disable the setting of the default route on the
> second interface

Thanks for info. My older wifi router only 2.4 and 
occassional was requiring resets, and has public IP 
mapped to name and number of ports routed to various 
machines behind it. Wanted to setup the new one with 
2.4/5 setup and running before switching everything 
over. 

As you mentioned, incoming traffic on second interface 
was sending return traffic via first interface and thus http 
didn't work since it had the 100 metric. So, that machine 
I switched the connections to interfaces.  

Thanks.

> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue


+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor 
(Retired)     
 mailto:mikes@xxxxxxxx                            
 mailto:msetzerii@xxxxxxxxx
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux