https://www.thomas-krenn.com/en/wiki/Two_Default_Gateways_on_One_System
On Sun, Dec 6, 2015 at 9:37 PM, Felipe ordoñez <[email protected]> wrote: > Hi guys, > > I am pretty new using a BBB, and I am trying to use it with two network > interfaces, one, wlan0 to get internet through usb wifi dongle, two a local > connection via eth0 to another network. > > I configured the /etc/network/interfaces wlan0 as a inet with dhcp, > eth0 with inet.. static, an every works fine, because of I ping to the > local network and it gaves me a anwer, I ping google and I have internet. > > Since booting I start with my networks fine, but The REAL PROBLEM is after > a few seconds, when the BBB put eth0 as a default interface, so my internet > is down (wlan0) , so I lose every contact with the world. > > I try to do ifdown, ifup, but the internet is gone, only when I unpluged > the RJ45 (eth0), I get internet again. BUT I want to work with the two > networks at the same time. > > How I set up forever my wlan0 as a default connection (interface), > because I use IFMETRIC, so in my file /etc/network/interfaces I use > metric 1 (wlan0), metric 10 (eth0), but the BBB does not care any metric. > > > with route -n the system mounts a iface with eth0 and metric 0 , and > the other parameters on Zero, too. > > > Any help?? > > thanks > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
