The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 07-01-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,991
broadcast != defaultrouter (Broadcasting (computing) - Wikipedia, the free encyclopedia)

to add a default route just edit /etc/defaultrouter and restart your network or enter the "route add default yourip" command.
in your "ifconfig" command the string "up" is missing. so the interface won't work! please go to the docs.sun.com website and download the ip admin guide. in shorts:

Code:
# ifconfig eri0 plumb
# ifconfig eri0 192.168.2.160 up
# ifconfig -a
the last command will show your configuration... check your default route with "netstat -rn".

hth,
DN2