nixCraft Linux / UNIX / Shell Scripting Forum

nixCraft

Linux / UNIX Tech Support Forum

SIOCADDRT Network Unreachable

This is a discussion on SIOCADDRT Network Unreachable within the Linux software forums, part of the Linux Getting Started category; Dear All. I am configuring ADSL on RHEL 4. I have two network card one is for local network and ...


Register free or login to your account to remove all advertisements.

Go Back   nixCraft Linux / UNIX / Shell Scripting Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

Thread Tools Display Modes
  #1 (permalink)  
Old 27th April 2006, 07:05 PM
Member
 
Join Date: Mar 2006
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
puppen
Default SIOCADDRT Network Unreachable

Dear All.

I am configuring ADSL on RHEL 4. I have two network card one is for local network and another is for public network.
My problem is that when ever I configure ADSL on eth1 i get an error
SIOCADDRT network unreachable.

Pls help me.

regards.
Puppen
__________________
someone somewhere is made for you.
LOVE is Journey not a destination.
ALL I want is EVERYTHING.
Reply With Quote
  #2 (permalink)  
Old 27th April 2006, 09:54 PM
monk's Avatar
Senior Member
 
Join Date: Jan 2005
Location: Tibet
OS: Debian GNU/Linux
Posts: 567
Thanks: 2
Thanked 25 Times in 22 Posts
Rep Power: 9
monk is just really nicemonk is just really nicemonk is just really nicemonk is just really nice
Default

Is eth1 is up? Type command ifconfig eth1 and put back output here. Hoep your current routing table is correct
Reply With Quote
  #3 (permalink)  
Old 27th April 2006, 10:01 PM
rockdalinux's Avatar
Is that all you got?
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 823
Thanks: 21
Thanked 37 Times in 32 Posts
Rep Power: 12
rockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to behold
Default

Run following command and remove everything, enter new values, reboot system (it is GUI tool and easy to use for RHEL):
Code:
redhat-config-network
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
  #4 (permalink)  
Old 27th April 2006, 10:04 PM
nixcraft's Avatar
Never say die
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash, Perl, Python
Posts: 3,195
Thanks: 13
Thanked 394 Times in 292 Posts
Rep Power: 10
nixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond repute
Default

According to my personal experience this error can be cause if
1) You have wrong static route tables

So you need to setup correct routing table. As rocky pointed out use GUI command and it will be easy for you to setup things.
__________________
Vivek Gite
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Do you run a Linux? Let's face it, you need help!
Cricket & IPL News Blog
Reply With Quote
  #5 (permalink)  
Old 28th April 2006, 01:54 PM
Member
 
Join Date: Mar 2006
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
puppen
Default

Dear Alll.

Thank you very much.
It was the problem with gateway. They had given me gateway off different network so I give a gateway of same network but when i give route command it shows the gateway of another network.

Well my problem is solved thanks, nixCraft
__________________
someone somewhere is made for you.
LOVE is Journey not a destination.
ALL I want is EVERYTHING.
Reply With Quote
  #6 (permalink)  
Old 19th May 2006, 12:51 AM
Junior Member
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
thomassly
Default SIOCADDRT network unreachable

one other source of these errors are duplicate static entries - check your rcN.d directory script files (e.g. S99local, S99addRoutes) for duplicate entries ...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Network Diagram kasimani Computer Networking and Internet/broadband 4 19th June 2008 06:21 AM
How to use two ISP in same network satishap Getting started tutorials 2 24th March 2008 09:58 PM
network message anharikrishna Networking, Firewalls and Security 1 6th September 2007 03:02 PM
Network Monitoring puppen Linux software 2 10th May 2006 11:01 PM
cut internet from ip in network Linux software 1 9th January 2006 10:36 AM


All times are GMT +5.5. The time now is 09:00 PM.


Powered by vBulletin® Version 3.8.6 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40