tcp n00b - can't ping router


 
Thread Tools Search this Thread
Special Forums IP Networking tcp n00b - can't ping router
# 1  
Old 03-23-2009
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 05:40 PM.. Reason: added code tags for better reading
# 2  
Old 03-23-2009
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  
Old 03-23-2009
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  
Old 03-23-2009
are there error messages in "/var/adm/messages" if you pull the cable on eri0? something like "link down...".
# 5  
Old 03-23-2009
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  
Old 03-23-2009
looks promising...
# 7  
Old 03-23-2009
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Router ping log extract data from it Awk/Sed/grep

Hi, I am new to this world.. Using expect i loging to router and checking ping response to my links. I need to genarate report using this output and that report contains only three file link name, packet loss, latency. my output of script is like below: -bash-3.00$ monmw/mwbkp... (2 Replies)
Discussion started by: jkmistry
2 Replies

2. UNIX for Dummies Questions & Answers

Remote Unix printing to my WinXP works with no router. How can I make it work through my router?

I set up remote printing on a clients Unix server to my Windows XP USB printer. My USB printer is connected directly to my PC (no print server and no network input on printer). With my Win XP PC connected to my cable modem (without the router), i can do lp -dhp842c /etc/hosts and it prints. I... (7 Replies)
Discussion started by: jmhohne
7 Replies

3. Shell Programming and Scripting

Perl telnet to cisco router and compare the ping ms

All Please help, i will telnet to router to obain the ping status and compare, if higher than normal latency, i will have further action.. if i do the telent and in perl script then .... e.g the result i obtain from the router will be =' Success rate is 100 percent (5/5), round-trip... (4 Replies)
Discussion started by: optimus
4 Replies

4. Solaris

I can't ping my linksys router from Ultra 10

To begin with, I am a Solaris newbie; however, I am very familiar with Linux. Until I began working with Solaris, I didn't realize how much more difficult networking Solaris is than Linux. Before submitting this question, I have tried to fix this problem myself. After days of research, I still... (3 Replies)
Discussion started by: cstovall
3 Replies

5. IP Networking

cannot ping router from sgi irix

anyone available to help me config sgi octane to netscape and networking mac os X? i have three macs and one sgi. setup on a dsl netopia router. all 4 computers can ping each other by addresses and by names. all the macs can ping the router, but the sgi cannot ping the router, "network is... (0 Replies)
Discussion started by: eidde
0 Replies

6. UNIX for Dummies Questions & Answers

Unix TCP/IP ping to other subnet

I have Digital UNIX V4.0B (Rev. 564) on alpha machine. I'm trying to acces network in subnet (192.168.1.x). Ip on Alpha comp. is from 192.168.3.X subnet. My default gateway on this network is 192.168.3.1 and it working OK from other machines. This machine is visible from same subnet... (2 Replies)
Discussion started by: ermingut
2 Replies
Login or Register to Ask a Question