Score:0

Share Secondary Internet Connection From USB over Ethernet

cx flag

I am trying to set up a backup internet connection for my house.

I have a router with two WAN ports, one of which can be used as a failover. The primary internet connection goes in WAN1. My PC has two ethernet interfaces (en0, en1), is connected to the network via en0 and uses this for the default gateway. It receives an address in the 192.168.1.x range from the router DHCP server.

Separately I would like to be able to plug my USB Hotspot into the PC and have it share the connection to the router's WAN2 port over en2. When I plug my USB Hotspot into the PC, I receive an IP via DHCP in a non-overlapping range (192.168.130.x) on an interface named usb0.

WAN1 <-> Router <- en0# this works fine
WAN2 <-> en1 <- usb0 # share usb0 with en1, passing through DHCP assignment

The PC should always use en0 as its default gateway, and the router will handle the failover. I just want the PC to facilitate sharing the connection from usb0 to the WAN2 port.

waltinator avatar
it flag
That's not how networking works. You have to monitor for network changes on the PC and change the PC's routing. Are you using a supported release of Ubuntu?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.