Looking at the /etc/sysconfig/network-scripts/ifup script, it appears that
the script does something different if the IP address of the gateway is not
in the same network (IP-address AND subnet-mask) as the Linux system.  In
the case where they _are_ in the same network, the script does:
ip route add default via ${GATEWAY}
        in the case where it is not, it does:
ip route add default dev ${DEVICE}

What is the IP address and netmask of your Linux/390 guest?  (Since you're
using the 10. network, the netmask should be 255.0.0.0.)

Mark Post

-----Original Message-----
From: Robert Reuscher [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 19, 2002 3:38 PM
To: [EMAIL PROTECTED]
Subject: VM Guest Lan and Redhat 7.2


I have a redhat 7.2 linux system, that was previously connected to our
IP  network via a CIP connection, now we are moving that system from an
LPAR to z/VM guest, connecting via a VM Guest Lan. I've got the guest
lan defined and working properly, however what I am having trouble with
is at ipl time of the guest getting the default route using the guest
lan set. If I issue the route add default gw x.x.x.x from the console it
works fine and everything is great. I just can't get it to happen at IPL
time by the system. I've change the /etc/sysconfig/network file from
(which worked fine):

NETWORKING=YES
FOWARD_IPV4=no
HOSTNAME=xxxxx
GATEWAYDEV=ci0
GATEWAY=199.14.219.216

to:
NETWORKING=yes
FORWARD_IPV4=no
HOSTNAME=xxxxx
GATEWAYDEV=hsi0
GATEWAY=10.185.25.1

The hsi0 and ci0 interfaces both get started fine, I just get no default
route now that I've changed the network file.

Reply via email to