The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Linux LiveCD Router 2.0.32 (Default Router branch) iBot Software Releases - RSS News 0 09-10-2008 10:00 AM
Linux LiveCD Router 2.0.30 (Default Router branch) iBot Software Releases - RSS News 0 09-05-2008 08:50 AM
Perl telnet to cisco router and compare the ping ms optimus Shell Programming and Scripting 4 08-27-2007 03:28 AM
I can't ping my linksys router from Ultra 10 cstovall SUN Solaris 3 01-05-2005 11:47 AM
cannot ping router from sgi irix eidde IP Networking 0 05-14-2004 05:24 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-23-2009
badoshi badoshi is online now
Registered User
  
 

Join Date: Mar 2009
Posts: 34
tcp n00b - can't ping router

please help!

I have a sun blade with 2 x nics configured, both on different subnets. The eri0 interface (192.168.0.100) is connected to my router (192.168.0.1), but if i try to ping the router, it times out.

any suggestions are welcome - i noticed the 2 mac addresses are the same, i've set local-mac-address to false & rebooted - but they are still the same. /etc/defaultgateway & defaultrouter both point to 192.168.0.1. Any ideas?


Code:
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 in
 1
        inet 127.0.0.1 netmask ff000000
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.0.100 netmask ffffff00 broadcast 192.168.0.255
        ether 0:3:ba:11:95:f6
qfe0: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 3
        inet 10.192.80.13 netmask ff000000 broadcast 10.255.255.255
        ether 0:3:ba:11:95:f6


Code:
# netstat -rn

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
default              192.168.0.1          UG        1         44
10.0.0.0             10.192.80.13         U         1          0 qfe0
192.168.0.0          192.168.0.100        U         1         45 eri0
224.0.0.0            192.168.0.100        U         1          0 eri0
127.0.0.1            127.0.0.1            UH        6         38 lo0
#


Last edited by DukeNuke2; 03-23-2009 at 04:40 PM.. Reason: added code tags for better reading
  #2 (permalink)  
Old 03-23-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 3,017
if you are on solaris 10 please post the output of "dladm show-dev" and "dladm show-link".

btw. local-mac-address=true is the setting for using the mac on the card for the interfaces!

also please use code tags if you post code sniplets...
  #3 (permalink)  
Old 03-23-2009
badoshi badoshi is online now
Registered User
  
 

Join Date: Mar 2009
Posts: 34
this is a local machine, so i've tested the network cable in another (windows) box, and connection is fine. i can't help but think i'm missing something obvious, any troubleshooting tips could also be handy. yep its a solaris 10 box.


Code:
bash-3.00# dladm show-dev
eri0            link: unknown   speed: 100   Mbps       duplex: full
qfe0            link: unknown   speed: 100   Mbps       duplex: full
qfe1            link: unknown   speed: 0     Mbps       duplex: unknown
qfe2            link: unknown   speed: 0     Mbps       duplex: unknown
qfe3            link: unknown   speed: 0     Mbps       duplex: unknown


Code:
bash-3.00# dladm show-link
eri0            type: legacy    mtu: 1500       device: eri0
qfe0            type: legacy    mtu: 1500       device: qfe0
qfe1            type: legacy    mtu: 1500       device: qfe1
qfe2            type: legacy    mtu: 1500       device: qfe2
qfe3            type: legacy    mtu: 1500       device: qfe3

  #4 (permalink)  
Old 03-23-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 3,017
are there error messages in "/var/adm/messages" if you pull the cable on eri0? something like "link down...".
  #5 (permalink)  
Old 03-23-2009
badoshi badoshi is online now
Registered User
  
 

Join Date: Mar 2009
Posts: 34
Hmm - i think you're onto something. I ran a tail -f on messages, pulled out the cable...and nothing. I put it back in...nothing, jiggled it about & presto, i get the 'link up' notification:


Code:
bash-3.00# tail -f /var/adm/messages
Mar 23 21:14:23 blade pseudo: [ID 129642 kern.info] pseudo-device: wrsmd13
Mar 23 21:14:23 blade genunix: [ID 936769 kern.info] wrsmd13 is /pseudo/wrsmd@13
Mar 23 21:14:23 blade pseudo: [ID 129642 kern.info] pseudo-device: wrsmd14
Mar 23 21:14:23 blade genunix: [ID 936769 kern.info] wrsmd14 is /pseudo/wrsmd@14
Mar 23 21:14:23 blade pseudo: [ID 129642 kern.info] pseudo-device: wrsmd15
Mar 23 21:14:23 blade genunix: [ID 936769 kern.info] wrsmd15 is /pseudo/wrsmd@15
Mar 23 21:14:23 blade pseudo: [ID 129642 kern.info] pseudo-device: fcp0
Mar 23 21:14:23 blade genunix: [ID 936769 kern.info] fcp0 is /pseudo/fcp@0
Mar 23 21:14:23 blade pseudo: [ID 129642 kern.info] pseudo-device: fcsm0
Mar 23 21:14:23 blade genunix: [ID 936769 kern.info] fcsm0 is /pseudo/fcsm@0
Mar 23 21:31:27 blade eri: [ID 786680 kern.notice] SUNW,eri0 : 100 Mbps full dup
lex link up

I'm assuming this means that my interface is fudged? I'll try configuring another interface and try using that.
  #6 (permalink)  
Old 03-23-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 3,017
looks promising...
  #7 (permalink)  
Old 03-23-2009
badoshi badoshi is online now
Registered User
  
 

Join Date: Mar 2009
Posts: 34
hmm ok i disabled eri0, got qfe1 configured instead - but still cant ping the router. I think i need to sleep on this & look again with a fresh pair of eyes.

many thanks for your help dukenuke - its definitely given me a couple of more avenues to investigate/troubleshoot.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On




All times are GMT -4. The time now is 01:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0