Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-05-2004, 12:09 PM   #1
LQ Newbie
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
Default Gateway Not Listed In Routing Table


I am trying to configure a network using workstations running FedoraCore 2 and Zebra routing software. My setup looks like:

                                 | Cisco  |
                   |                     |                       |  --------              --------               --------
                |  Z1  |              |  Z2  |               |  Z3  |  --------              --------               --------
                   |                     |                       |
                   |                     |                       |
                   X                     X                       X
                   |                     |                       |
                   |                     |                       |  --------              --------               --------
               |  Z4  |              |  Z5  |               |  Z6  | --------              --------               --------
                   |                     |                       |
X = crossover cable
All nodes have subnet mask
IP scheme is consistent for Z2 and Z5 (addresses not shown due to space)

In this network setup I do not expect Z1, Z2, and Z3 interfaces to be up all the time. Also, I do not expect the network interfaces to be up all the time either. All of the routers are using OSPF to update their routes.

The problem I am having is trying to set up default gateways for Z4, Z5, and Z6. I can set up default gateways for these routers to be Z1, Z2, and Z3 respectively, but if the 192.168.5.X interface goes down on Z1, Z2, or Z3, the corresponding Z4, Z5, or Z6 router will lose Internet connectivity.

What I want to be able to do is set the default gateway of Z4, Z5, and Z6 to (Cisco), so that if the directly connected router's 192.168.5.X interface goes down, Z4, Z5, and/or Z6 can find a different route to the internet.

I have tried configuring the default gateway using "neat" and editing ifcfg-eth0 and zebra.conf files, but the default gateway is not listed in the routing tables for Z4, Z5, or Z6. Also, if I run the command "route add default gw eth0" I see the error message "SIOCADDRT: Network is unreachable" even though the network is in the routing tables for Z4, Z5, and Z6.

If you have any suggestions or know how to configure this, your input would be greatly appreciated. Thank you.

Last edited by krazyace78; 10-05-2004 at 12:11 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
routing table arvind kumar Linux - Networking 2 06-08-2005 11:59 PM
Help with a Routing Table maginotjr Linux - Networking 4 06-06-2005 09:49 AM
how to set default entry in routing table? cranium2004 Linux - Networking 7 03-15-2005 05:26 PM
Double default gw in routing table ?? Help!! poj Linux - Networking 17 07-14-2004 07:05 AM
routing table upr8830 Linux - Networking 6 06-18-2003 03:04 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration