All of lore.kernel.org
 help / color / mirror / Atom feed
* gateway is missing
@ 2014-03-24 20:45 Niklas Molin
  2014-03-25  2:09 ` Otavio Salvador
  2014-03-25 11:58 ` Gary Thomas
  0 siblings, 2 replies; 7+ messages in thread
From: Niklas Molin @ 2014-03-24 20:45 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

Hi.

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@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@imx6qsabresd:~# ifconfig eth0 down
root@imx6qsabresd:~# ifconfig eth0 up

When link is back:
root@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?

Best regards,
Niklas

[-- Attachment #2: Type: text/html, Size: 1339 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-03-25 14:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-24 20:45 gateway is missing Niklas Molin
2014-03-25  2:09 ` Otavio Salvador
2014-03-25  3:05   ` Niklas Molin
2014-03-25 11:49     ` Otavio Salvador
2014-03-25 14:00       ` Niklas Molin
2014-03-25 11:58 ` Gary Thomas
2014-03-25 12:07   ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.