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 _______________________________________________ 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