[meta-freescale] gateway is missing

Niklas Molin niklas.p.molin at gmail.com
Mon Mar 24 20:05:24 PDT 2014


Hi Otavio.

It works after boot (gateway is set), but when I toggle (down and up) the
eth0 (changing HW address).
Then the gateway is cleared and I have to set it again.

Best regards,
Niklas
On Mar 24, 2014 7:09 PM, "Otavio Salvador" <otavio at ossystems.com.br> wrote:

> Hello Niklas,
>
> On Mon, Mar 24, 2014 at 5:45 PM, Niklas Molin <niklas.p.molin at gmail.com>
> wrote:
> > I'm trying to toggle the eth0 with ifconfig
> > I noticed that it I couldn't access my board after that.
> > After some more testing it seems like I can't access my board from a
> > different subnetwork.
> > So I did a route -nee (before and after eth0 down and up) and it seems
> lie
> > the gateway is gone.
> >
> > root at imx6qsabresd:~# route -nee
> > Destination     Gateway         Genmask         Flags   MSS Window  irtt
> > Iface
> > 0.0.0.0         192.168.55.1    0.0.0.0         UG        0 0          0
> > eth0
> > 192.168.55.0    0.0.0.0         255.255.255.0   U         0 0          0
> > eth0
> > root at imx6qsabresd:~# ifconfig eth0 down
> > root at imx6qsabresd:~# ifconfig eth0 up
> >
> > When link is back:
> > root at imx6qsabresd:~# route -nee
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags   MSS Window  irtt
> > Iface
> > 192.168.55.0    0.0.0.0         255.255.255.0   U         0 0          0
> > eth0
> >
> > I did this on a SabreSD and also my custom board.
> >
> > Is there anything I'm missing in my setup?
>
> Did you set your /etc/network/interfaces accordingly?
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140324/5e259eff/attachment.html>


More information about the meta-freescale mailing list