Go Back   The UNIX and Linux Forums > Operating Systems > Solaris


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-10-2012
Registered User
 
Join Date: May 2009
Posts: 26
Thanks: 7
Thanked 0 Times in 0 Posts
Data Problem with routes in Solaris 10

Hello All,

I have a Solaris 10 machine with 4 physical network interfaces configured viz. igb0, e1000g0, igb2 and e1000g2.

Out of these interfaces, I am routing all my normal monitoring and O&M activities via. igb0 and e1000g0 interfaces.

However, I am facing an issue on one of the servers, wherein every-time i reboot the server, it adds a route to a destination IP 10.0.0.0 using interface e1000g2. This leads to all my O&M traffic being directed via. this interface, which is creating issues.

I tried deleting this route and defining another default route for e1000g2 interface using

Code:
route -p delete 10.0.0.0 -netmask 255.255.255.x -interface <e1000g2-IP> 
&&
route -p add 10.x.x.x -netmask 255.255.255.x -interface <e1000g2-IP>

This resolves the issue only temporarily, as after reboot the old route is added back again.

I have checked the file /etc/inet/netmasks and found that an application was adding some static routes of series 0.0.0.x to this file. I have disabled changes via that application but the issue persists.

Please suggest apart from /etc/inet/netmasks and /etc/inet/static_routes, which other files are used by Solaris 10 for defining the routes seen in "netstat -nrv".???
Sponsored Links
    #2  
Old 07-10-2012
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Location: Paris
Posts: 4,189
Thanks: 14
Thanked 409 Times in 376 Posts
What is e1000g2 IP address and netmask ?
Sponsored Links
    #3  
Old 07-11-2012
Registered User
 
Join Date: May 2009
Posts: 26
Thanks: 7
Thanked 0 Times in 0 Posts
Hi Jlliagre

e1000g2 IP address is 10.50.3.6 and netmask is 255.255.255.224

---------- Post updated 07-11-12 at 10:47 AM ---------- Previous update was 07-10-12 at 01:39 PM ----------

Hi,

I have also checked my /etc/defaultroute and the file is ok with the correct gateway.

However, for the wrong route that is being added, i have checked in the system installation logs and found the following:


Code:
File name: /var/sadm/system/logs/sysidtool.log

stat /var/yp/binding/
name service found = NIS
get_net_name_num
get_net_if_name
get_net_if_name: skipping "lo0" loopback interface
get_net_if_name: igb0
get_net_ipaddr: igb0
get_net_ipaddr: got 10.50.14.21
get_net_name_num: netnum=10.0.0.0
Won't configure netmask - already done
prompt_timezone

What is get_net_name_num: netnum=10.0.0.0 ???
Can this value be updated or deleted without re-installation???
If so, from which file?
    #4  
Old 07-12-2012
Registered User
 
Join Date: Jan 2012
Posts: 68
Thanks: 2
Thanked 0 Times in 0 Posts
what is the output of /etc/hostname.interface ?
Sponsored Links
    #5  
Old 07-12-2012
fpmurphy's Avatar
who?
 
Join Date: Dec 2003
Location: /dev/ph
Posts: 4,452
Thanks: 48
Thanked 364 Times in 336 Posts
Looks like NIS is being used to configure your network. What is the contents of your /etc/nsswitch.conf?
Sponsored Links
Closed Thread

Tags
etc inet netmasks, netstat, route, solaris 10

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SCO 5.0.5 Add routes for new networks gibson_hg SCO 5 05-10-2010 12:10 PM
adding routes in Solaris Brad_52000 Solaris 7 12-04-2006 10:58 AM
Where are routes stored ? hcclnoodles Solaris 5 10-16-2006 11:41 PM
Setting Routes and such djsal Debian 2 06-17-2004 07:49 AM
How to add 2 gateway routes? cstovall UNIX for Dummies Questions & Answers 3 07-25-2003 11:09 AM



All times are GMT -4. The time now is 01:56 AM.