• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 612
  • Last Modified:

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.
0
gbcbr
Asked:
gbcbr
  • 3
  • 2
1 Solution
 
gbcbrAuthor Commented:
I tried to persist route by route -p add -net 10.1.1.4 -gateway 10.1.1.1
0
 
gbcbrAuthor Commented:
result, but no connection
h1.tiff
0
 
NehemothCommented:
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
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
RowleyCommented:
Please post the output from "ifconfig -a" and "cat /etc/netmasks".
0
 
gbcbrAuthor Commented:
everything resolved after Solaris re-installation
0
 
RowleyCommented:
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.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now