LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


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

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


Hi,

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

Code:
                                 Internet
                                     |
                                 ----------
                                 | Cisco  |
                                 ----------  192.168.5.100
                                     |
            -------------------------------------------------------------
                   |                     |                       |
   192.168.5.1  --------              --------               --------  192.168.5.3
                |  Z1  |              |  Z2  |               |  Z3  |
   192.168.0.1  --------              --------               --------  192.168.2.1
                   |                     |                       |
                   |                     |                       |
                   X                     X                       X
                   |                     |                       |
                   |                     |                       |
  192.168.0.2  --------              --------               --------  192.168.2.2
               |  Z4  |              |  Z5  |               |  Z6  |
  192.168.10.4 --------              --------               --------  192.168.10.6
                   |                     |                       |
            -------------------------------------------------------------
X = crossover cable
All nodes have subnet mask 255.255.255.0
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 192.168.10.0 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 192.168.5.100 (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 192.168.5.100 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 192.168.5.100 eth0" I see the error message "SIOCADDRT: Network is unreachable" even though the 192.168.5.0 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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:59 PM.

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