solaris 10 u5 what happens if no default route configured

Thread Tools Search this Thread
Operating Systems Solaris solaris 10 u5 what happens if no default route configured
# 1  
Old 08-03-2009
solaris 10 u5 what happens if no default route configured


I am new to solaris 10. What is the procedure the os takes if a default route is not configured? I am using a multihomed server with 4 interfaces. It looked strange to me this morning, because i had not defined a default route it defaulted to making one up, with the ip address of another server on the network?

If no default route configured does it do a broadcast ping on the network and pick a gateway that way? There can be multiple default routes, how is a default route choosen in that case, on a round robin basis?
# 2  
Old 08-03-2009
I may be wrong but don't see how you can get a default route without defining it in the /etc/defaultrouter file or the system picking it up from dhcp or boot server...
# 3  
Old 08-03-2009
i thought that too but there isnt anything configured in /etc/defaultrouter. no dhcp it has static ip addresses.
# 4  
Old 08-03-2009
maybe there is a script somewhere that is setting the default gateway at boot time

route add default
# 5  
Old 08-03-2009
if no route is defined, the server can only talk to the networks he is configured for... to check if there are routes configured, run the command:

# netstat -rn

# 6  
Old 08-03-2009
I'm afraid you are wrong thinking defaultrouter is the only way to configure a default route.

Solaris uses RIPv1, RIPv2 and Internet routing discovery protocols to automatically configure its routing table when no defaultrouter is defined.
svcs "*routing*"
man in.routed

Last edited by jlliagre; 08-03-2009 at 08:56 AM..
# 7  
Old 08-03-2009
i haven't said that defaultrouter is the only way to configure routes. but if you don't specify a router solaris fills the routing table via rip (as you correctly said). but nobody can be sure that you can reach a specific network if a wrong/unwanted route is discovered.
a defaultrouter is a good thing to configure! there are many services that depends on routing. e.g. ipmp...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Default route issue in share local zone in Solaris 11

Hi We took the reboot of server/global zone after that Solaris 11 share local zone not able to ping the default gateway but global zone able to ping same default gateway. I check/compare the before activity logs of global zone and local zones which looks fine to me, further IP and netmask of... (6 Replies)
Discussion started by: sb200
6 Replies

2. Solaris

Couldn't add route on Solaris 10

Hi Solaris Experts, I am trying to add a routing table entry on our 5.1 Generic_144488-12 sun4v sparc Solaris 10 SUNW,SPARC-Enterprise-T5220 so that it is possible to ping node # netstat -rnv IRE Table: IPv4 Destination Mask Gateway Device Mxfrg Rtt Ref Flg Out In/Fwd ... (2 Replies)
Discussion started by: gjackson123
2 Replies

3. Solaris

Add route to solaris 10

I need to add a new route on solaris10 machine. I want that all traffic on the 23 port (telnet) use gateway. How I do ? Thank you in advance. (1 Reply)
Discussion started by: arfry
1 Replies

4. Solaris

Default route is configured, but seem to not work

Hiya, I got the default gateway set in /etc/defaultrouter file, however "netstat -nr" doesn't show anything like "default" in the routing table. As far as I know "netstat" on Solaris 10 u7 should show something like : Routing Table: IPv4 Destination Gateway Flags Ref ... (8 Replies)
Discussion started by: TomSu
8 Replies

5. Solaris

Route new network interface Solaris 8

Hi there, I'm trying to configure an additional network interface on Solaris 8 (eri0). The interface has been activated, but all the frames are still routed to the current default interface (ce0) I've tried following command (with various syntaxes...) unsuccessfully so far: # route add... (2 Replies)
Discussion started by: sreiniche
2 Replies

6. Solaris

Solaris Route configuraion

Hi, Any one can help me in this below mentioned issue I am facing in my solaris server? here the scenario goes.... i have multiple segments in my LAN like remote csr, database, production etc. and all the segments are configured in Windows/CISCo network. from my all system in remote... (1 Reply)
Discussion started by: Praan
1 Replies

7. Solaris

SOLARIS does not route

hi, i installed solaris 9 on an SPARC server with two network interfaces. behind each interface is a small lan. i can reach every computer in every lan using one of the other interface when i am logged in the solaris. but if a computer from one lan has to connect to a computer on the other lan,... (4 Replies)
Discussion started by: bong02
4 Replies

8. Solaris

setting a route in Solaris

I am having problems getting this to work, though it seems like it would be simple. I have a host with 2 interfaces, hme0 ( for the primary interface, and hme1 ( for backups. I want it to talk to the backup host, which is, across the hme1 interface. Thanks (2 Replies)
Discussion started by: 98_1LE
2 Replies

9. UNIX for Advanced & Expert Users

Route for Solaris 8

Hello Dear Friends, I'm here again I need to know where is the permanent file for gateway configuration. I did the following command route add -net ( My Gateway), but when i restart my computer i have to do it again. What the file can i set the permanent configuration for my... (1 Reply)
Discussion started by: themask
1 Replies
Login or Register to Ask a Question