Link to home
Start Free TrialLog in
Avatar of gbcbr
gbcbrFlag for Cyprus

asked on

Solaris 10 network: static address

Solaris 10 has two interfaces, primary has to be configured with static IP, secondary DHCP. Secondary works perfect, but primary can't see gateway. I tried all recommendations from sun.docs, but still can't connect primary interface to network.
Avatar of gbcbr
gbcbr
Flag of Cyprus image

ASKER

I tried to persist route by route -p add -net 10.1.1.4 -gateway 10.1.1.1
Avatar of gbcbr

ASKER

result, but no connection
h1.tiff
Use this command to see if you have configure the default gateway:
netstat -rn
If you have not, do this:
route add default X.X.X.X

Example:
# netstat -rn

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface
——————– ——————– —– —– ———- ———
192.168.1.0          192.168.1.10         U         1        195 hme0
224.0.0.0            192.168.1.10          U          1          0 hme0
127.0.0.1            127.0.0.1               UH        5         92 lo0

# route add default 192.168.1.1

# netstat -rn

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface
——————– ——————– —– —– ———- ———
192.168.1.0          192.168.1.10         U         1        195 hme0
224.0.0.0            192.168.1.10          U          1          0 hme0
default              192.168.1.1             UG        1        325
Please post the output from "ifconfig -a" and "cat /etc/netmasks".
ASKER CERTIFIED SOLUTION
Avatar of gbcbr
gbcbr
Flag of Cyprus image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
IMHO, you really should try get out of that "reinstall" mindset, it's wholly unnecessary, time consuming, costly, and you seldom learn anything from the experience.