Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NIC

Status
Not open for further replies.

godhelp

IS-IT--Management
Jan 30, 2003
48
two nic on sun os 5.8, configured and executed netstat -nr and ping, we are satisfied the configuration. Butping to my gateway, display "noresponse from xxx.xxx.xxx.xxx". Any body have any tips.

 
Did you create the file /etc/defaultrouter with the gateway IP adress in it ? Too bad I.T. is not cash business

Luc Foata
Unix sysadmin, Oracle DBA
 
SUN OS 5.8 is running on intel PII, having 2 NIC cards,
iprb0 is private address and iprb1 is public address. Also created /etc/defaultrouter, this is gateway for my second card. I can ping both IP addresses (iprb0 and iprb1) butnot able to ping gateway "no answer from xxx.xxx.xxx.xxx". I have checked ps -ef|grep routed, it was running fine.any idea how do I proceed further.
 
Hi,

Try adding a route to that network using the route command. For example:
/usr/sbin/route add -net xxxx.xxxx.xxxx xxxx.xxxx.xxxx.xxxx -netmask xxxx.xxxx.xxxx.xxxx
| | |
This is the network to which | |
you are adding the route | |
| |
This is the ip address of |
the nic in that network |
This is the netmask for that network

Hope this helps!
-Joe
 
You shouldn't need any routes to ping the gateway, by definition it needs to be on the same network.

Are you sure you have a network link? Try snoop -d iprb0 for example and see if it is seeing any network traffic, or use ndd to see if link_status is 1. Annihilannic.
 
1.executed snoop -d iprb0 and iprb1, there was no traffic. but i am not sure about ndd.

2. ndd /dev/ip ipv4_ire_status, found 0 and 1's.

let me know little bit more on this.

 
Unless you have a very quiet network it sounds like you have a link problem. If your NIC has green network activity LEDs, are they lit? If not, you may have a cable or switch port problem?

ndd -set /dev/iprb instance 0 followed by ndd -get /dev/iprb link_status would tell you the link_status for iprb0.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top