Justin,

We have systems with multiple network interfaces.  I finally had to
modify the default route in
/etc/sysconfig/network/routes to look like this.

default 32.71.175.1 - qeth-bus-ccw-0.0.0600

Notice I had to use the persistent name for the interface.  The eth0,
eth1 type of name
can change from IPL to IPL.

Ron



Sollenberger, Justin W Mr CIV US DISA CDB24 wrote:
We are currently running a SLES 10 SP2 guest (hostx) with access to
three networks (eth0, eth1, eth2).  The issue we are having is that the
default route is not correct after an ipl.  If I delete the incorrect
route (using: route del) and add the correct route (using: route add)
everything works as it should.  We have another system (host z) running
with the same three interfaces and are having no problems there.  I'm
just not sure how Linux is creating its routing table with the info
provided in the ifroute files.  hostz comes up with the correct default
ip (x.y.z.129) and hostx does not.  The ips/gateways/masks are what was
given to me from our networking office.  I've included the output from
route and the /etc/sysconfig/network/ifroute* files from hostx and from
hostz:

hostx:/etc/sysconfig/network # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
x.y.z.128       0.0.0.0         255.255.255.224 U     0      0        0
eth0
1.0.0.0         0.0.0.0         255.0.0.0       U     0      0        0
eth2
2.0.0.0         0.0.0.0         255.0.0.0       U     0      0        0
eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0
lo
default         1.a.1.1         0.0.0.0         UG    0      0        0
eth0

hostx:/etc/sysconfig/network # cat ifroute-qeth-bus-ccw-0.0.0*
default    x.y.z.129    0.0.0.0    eth0

default    1.a.1.1      0.0.0.0    eth2

default    2.b.1.1      0.0.0.0    eth1

hostz:/etc/sysconfig/network # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
x.y.z.128       0.0.0.0         255.255.255.224 U     0      0        0
eth0
1.0.0.0         0.0.0.0         255.0.0.0       U     0      0        0
eth2
2.0.0.0         0.0.0.0         255.0.0.0       U     0      0        0
eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0
lo
default         x.y.z.129       0.0.0.0         UG    0      0        0
eth0

hostz:/etc/sysconfig/network # cat ifroute-qeth-bus-ccw-0.0.0*
default    x.y.z.129    0.0.0.0    eth0

default    1.a.1.1      0.0.0.0    eth2

default    2.b.1.1      0.0.0.0    eth1


Any ideas on why hostx and hostz come up with different default gateways
when the configuration files are the same?  What am I missing?  How can
I correct it?  Thanks in advance for your help.

VR,

Justin Sollenberger

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
.



----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to