The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-23-2009
badoshi badoshi is offline
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