Problem with routes in Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris Problem with routes in Solaris 10
# 1  
Old 07-10-2012
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".???
Smilie
# 2  
Old 07-10-2012
What is e1000g2 IP address and netmask ?
# 3  
Old 07-11-2012
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?
Smilie
# 4  
Old 07-12-2012
what is the output of /etc/hostname.interface ?
# 5  
Old 07-12-2012
Looks like NIS is being used to configure your network. What is the contents of your /etc/nsswitch.conf?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SCO

Static routes in SCO

Hi, Just a question of thought. Why one needs to add static routes on Unix servers ? If I had ethernet card, it already has the settings for gateway for incoming and outgoing requests. We donot have to explicitly set the route it should take. Then what is the use... (3 Replies)
Discussion started by: dextergenious
3 Replies

2. IP Networking

Unix Network Routes

I would really appreciate some help with HP UX's Network Routes. Basically, what I want to do is, I would want a system with global ip (eg: 202.144.138.122) to ping/access my HP-UX server which is with private IP address (192.168.1.23). I have all the routers/switches in between properly route... (2 Replies)
Discussion started by: damchey
2 Replies

3. UNIX for Dummies Questions & Answers

Routes being automatically added

Hello, I have two AIX 5.3 servers that are supposedly set up exactly the same. The problem I am having is on one of the servers, it seems dynamic routes are being added mysteriously and non-periodically. This only happens on one server and not the other. Also, there doesn't seem to be a specific... (1 Reply)
Discussion started by: Conutmonky
1 Replies

4. AIX

Static Routes question

I added a static route through smit using: Communications applications and Services ==> TCIP/IP ==> Further Configuration ==> Static Routes ==> Add a Static Route ==> Route Type of host Filled in Destination Address, Default Gateway Address and Network Interface of en0. This... (2 Replies)
Discussion started by: jyoung
2 Replies

5. IP Networking

How to delete some ipv6 routes?

Hi, How can i delete the following routes on my OpenBSD 4.1 system? # route -n show (including only relevant ipv6-routes) Internet6: Destination Gateway Flags Refs Use Mtu Interface ::/104 ::1 UGRS 1 0 ... (1 Reply)
Discussion started by: phalcos
1 Replies

6. Solaris

adding routes in Solaris

Solaris Guru's What is the proper way to add routes in the routing table so after a node reboot the routes will not be lost. I understand the /etc/defaultrouter for the default router and the <route add> command but using this command routes will be removed once the node reboots. Thanks (7 Replies)
Discussion started by: Brad_52000
7 Replies

7. Solaris

Where are routes stored ?

Hi there When adding a route (or indeed deleting a route) which file is amended ? I am moving a box from one network to another and when it starts up it tries to connect run 'add net 192.x.x.x' etc etc ...but i dont want it to do that where do I edit these route additions cheers (5 Replies)
Discussion started by: hcclnoodles
5 Replies

8. AIX

Multiple Default routes

Hi All, I have a AIX server running v5.2 and its having multiple default routes configured to two seperate gateway. Here's the output of -- netstat -rn Routing tables Destination Gateway Flags Refs Use If PMTU Exp Groups Route Tree for Protocol Family 2... (2 Replies)
Discussion started by: rramanuj
2 Replies

9. Debian

Setting Routes and such

Ok, I made changes to my routing tables..... which file do I modify to make the routes initialize correctly when the machine boots up? I work with all flavours of Unix/Linux... but this is an older box... Linux, Release 2.2.14-5.0. I did a grep for the default route in /etc, but didnt find... (2 Replies)
Discussion started by: djsal
2 Replies

10. IP Networking

Multiple Interfaces and Routes

I have a Unix box with 2 network interfaces on the same IP subnet and would like to add a host route via a specific interface. Any assistance would be greatly appreciated. (3 Replies)
Discussion started by: diemos
3 Replies
Login or Register to Ask a Question