Mailinglist Archive: opensuse-autoinstall (62 mails)

< Previous Next >
[opensuse-autoinstall] Routes, openSUSE and SLES
  • From: Dan Stromberg <dstromberglists@xxxxxxxxx>
  • Date: Fri, 7 Mar 2008 00:37:12 +0000 (UTC)
  • Message-id: <fqq2nn$vqe$4@xxxxxxxxxxxxx>

We want to define a multicast route.

I put it in ifroute-eth0, but that seemed to work on one of openSUSE or
SLES but not the other - I don't recall which unfortunately.

So I took the line that I thought should work in ifroute-eth0, and put it
in /etc/sysconfig/network/routes, and that worked. Temporarily. On
reboots, my routes file was getting renamed to routes.YaST2save and the
prior content was stuffed back in (with just a default gateway).

I'd prefer to be able to set the routes file content (or ifroute-eth*)
via a shell script, but if I must use the .xml method, so be it.

So I stuck the following into my autoyast.xml:

<routing>
<ip_forward config:type="boolean">false</ip_forward>
<!-- destination, gatewa <routing>
<ip_forward config:type="boolean">false</ip_forward>
<!-- destination, gateway, netmask, [device, [extrapara]] -->
<!-- 228.0.0.0/8 0.0.0.0 255.0.0.0 eth0 multicast -->
<routes config:type="list">
<route>
<destination>228.0.0.0/8</destination>
<gateway>0.0.0.0</gateway>
<netmask>255.0.0.0</netmask>
<device>eth0</device>
<extrapara>multicast</extrapara>
</route>
</routes>
</routing>

...and that seems to handle the multicast route pretty well. It even
threw in the "multicast" part at the end of my routes line for the
multicast route.

But.

Now all seems fine on openSUSE, but on SLES, I'm not getting a default
route anymore, even when I set up both of a test machine's ethernet
interfaces for DHCP.

I'm thinking that if I try to stick a default route into the routes file,
I'm going to run into the same problem - the content will disappear on
reboots.

What do I need to do to get good routing? I'd like the following:
1) A consistent method across openSUSE 10.3 and SLES 10.1 - this part
isn't absolutely important though
2) A good default route on DHCP or static that survives reboots and can
be changed in the field without reinstalling
3) A good multicast route that survives reboots and can be changed in the
field without reinstalling

Thanks!

--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages