LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices



Reply
 
Search this Thread
Old 02-01-2013, 10:55 PM   #1
5883
Member
 
Registered: Aug 2004
Posts: 170

Rep: Reputation: 0
route: SIOCADDRT: Network is unreachable


this is a bare bone embedded system,
don't think we have those if-up, if-down etc.

have eth0 and eth1,both static ip.
eth0 is not plugged in initially.


# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 10.50.183.254 0.0.0.0 UG 0 0 0 eth1
10.50.180.0 0.0.0.0 255.255.252.0 U 0 0 0 eth1


then i plugin eth0, assign ip through ifconfig.

#route add default gw 10.50.183.254 eth0
#route: SIOCADDRT: Network is unreachable

how should i add the route correctly ?

thanks !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SIOCADDRT:Network unreachable petero Linux - Networking 1 01-05-2006 07:50 AM
unable to add default route (network unreachable) beebop Linux - Networking 12 05-30-2005 12:07 PM
Route to subnet exists but I get "Network unreachable" when adding default route fciuffani Linux - Networking 4 08-18-2004 03:11 PM
SIOCADDRT : Network is Unreachable nishi_k_79 Linux - Networking 1 10-16-2003 12:18 PM
SIOCADDRT: Network is unreachable shyam Linux - Networking 16 09-10-2003 08:00 AM


All times are GMT -5. The time now is 09:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration